-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case (in)sensitivity of addresses #2206
Comments
The problem is the case-insensitive file systems does not allow 1Address and 1ADDRESS file/directory to exists in the same directory. |
There is problem with using either case sensitive or case insensitive addresses. Problem with using case sensitive addresses (two addresses with different cases will be two sites):
Problem with using case insensitive addresses (two addresses with different cases will be same site):
|
Confirm. Zeronet log: |
BTC address contains last 4 bytes as a checksum. In my opinion, we should check if an address is correct. Please check this python code https://rosettacode.org/wiki/Bitcoin/address_validation#Python Validation of BTC address will prevent point 3 - |
Are we happy with deeming the odds of having an address coalition that's just has 1 capitalization differences not an issue and insignificant? and, can this be exploited? say loading a malicious website first rendering the legitimate website unreachable, if possible, what's the odds and cost to perform such attack? |
@Thunder33345 Yes, this could happen but it is nearly impossible:
(From Bitcoin Wiki) |
just for others: i did not meant mistyped? |
Step 1: Please describe your environment
Step 2: Describe the problem:
Trying to load address which coincides with a registered one up to letter case leads to weird behaviour. In particular, the page loads forever, only changing its title to one from original page (if it's loaded)
Steps to reproduce:
Observed Results:
There is no attempt to load the second address, the page is empty and "loads" forever
E.g. http://127.0.0.1:43110/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3d
Expected Results:
Sites with different addresses should be independent of each other
The text was updated successfully, but these errors were encountered: