Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Address alias collision - unusable alias (previously suggested fix does not work) #14

Open
stahlkarl opened this issue Apr 9, 2015 · 0 comments

Comments

@stahlkarl
Copy link

Hi!
Thank you for replying to the previous issue I created.
#8

Unfortunately, your suggested fix does not appear to work. I'm running a slightly modified version of maildrop. The following gists might be relevant:
https://gist.github.com/stahlkarl/12ea502344dfc3f28763
https://gist.github.com/stahlkarl/4a97bef543c49537dc1b
https://gist.github.com/stahlkarl/59be8fb1544272e8d7f0

You suggested removing the ".toLowerCase.replaceAll" method calls in getAltInbox and getRegularInbox to prevent the collision. To clarify, what I think you mean is to replace
val regularBigInt = fromShort(regularInbox.toLowerCase.replaceAll("[^A-Za-z0-9]", ""))
with
val regularBigInt = fromShort(regularInbox)
(in getAltInbox)

and
val altBigInt = fromShort(altInbox.toLowerCase.replaceFirst(prefix.toLowerCase, ""))
with
val altBigInt = fromShort(altInbox.replaceFirst(prefix, ""))
(in getRegularInbox)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant