[GH-ISSUE #99] Shorter UUID aliases #694

Closed
opened 2026-03-14 10:12:10 +03:00 by kerem · 10 comments
Owner

Originally created by @TheLastGimbus on GitHub (Nov 25, 2020).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/99

Hi there!
First of all, thank you so muuchhh for creating this - this is just perfect for keeping my email clean and not being afraid of creating new accounts

But many times, I've got weird errors and bugs on many sites because of using so long so weird emails - my cellphone providers sent me 3 sim cards, and sent 12 identical emails about it 🤷 They said it's because my email broke their system or something 🤷

Maybe I have too long nickname and this gets me into trouble, but if you could also make UUID shorter, it would probably save some trouble

Originally created by @TheLastGimbus on GitHub (Nov 25, 2020). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/99 Hi there! First of all, thank you so muuchhh for creating this - this is just _perfect_ for keeping my email clean and not being afraid of creating new accounts But many times, I've got weird errors and bugs on many sites because of using so long so weird emails - my cellphone providers sent me 3 sim cards, and sent 12 identical emails about it :shrug: They said it's because my email broke their system or something :shrug: Maybe I have too long nickname and this gets me into trouble, but if you could also make UUID shorter, it would probably save some trouble
kerem closed this issue 2026-03-14 10:12:15 +03:00
Author
Owner

@oregonpillow commented on GitHub (Nov 30, 2020):

I would second this. Would be nice to set the length of UUID.

<!-- gh-comment-id:735644460 --> @oregonpillow commented on GitHub (Nov 30, 2020): I would second this. Would be nice to set the length of UUID.
Author
Owner

@stefanschramek commented on GitHub (Nov 30, 2020):

Actually there is no shorter version of UUID:
https://www.ietf.org/rfc/rfc4122.txt

Unfortunately I also have issues from time to time using UUID based email addresses.

<!-- gh-comment-id:735648956 --> @stefanschramek commented on GitHub (Nov 30, 2020): Actually there is no shorter version of UUID: https://www.ietf.org/rfc/rfc4122.txt Unfortunately I also have issues from time to time using UUID based email addresses.
Author
Owner

@TheLastGimbus commented on GitHub (Nov 30, 2020):

Just

uuid = generate_uuid()
uuid = uuid[0:10]
<!-- gh-comment-id:735650872 --> @TheLastGimbus commented on GitHub (Nov 30, 2020): Just ```python uuid = generate_uuid() uuid = uuid[0:10] ```
Author
Owner

@stefanschramek commented on GitHub (Nov 30, 2020):

Just

uuid = generate_uuid()
uuid = uuid[0:10]

I think it would be better to let it generate a random string with given RegEx pattern, as the whole idea of UUID is not possible anymore.
So anybody could set up his own pattern!

<!-- gh-comment-id:735653950 --> @stefanschramek commented on GitHub (Nov 30, 2020): > Just > > ```python > uuid = generate_uuid() > uuid = uuid[0:10] > ``` I think it would be better to let it generate a random string with given RegEx pattern, as the whole idea of UUID is not possible anymore. So anybody could set up his own pattern!
Author
Owner

@willbrowningme commented on GitHub (Dec 17, 2020):

I'll add a new format soon that will be a shorter random string of alpha numberic characters, probably 8 long or so.

For example: 7dab4cpz@anonaddy.me

What do you think?

<!-- gh-comment-id:747689697 --> @willbrowningme commented on GitHub (Dec 17, 2020): I'll add a new format soon that will be a shorter random string of alpha numberic characters, probably 8 long or so. For example: `7dab4cpz@anonaddy.me` What do you think?
Author
Owner

@TheLastGimbus commented on GitHub (Dec 17, 2020):

That would be great - this should actually replace UUID if you ask me - for now, I am pretty much always using custom words...

Ps. maybe 10-12, to run out of combinations slower

<!-- gh-comment-id:747716893 --> @TheLastGimbus commented on GitHub (Dec 17, 2020): That would be great - this should actually *replace* UUID if you ask me - for now, I am pretty much always using custom words... Ps. maybe 10-12, to run out of combinations slower
Author
Owner

@willbrowningme commented on GitHub (Dec 18, 2020):

I will likely keep the UUID format as there are still those that like using it but will move it down the list order and mainly focus on the new random string format.

With a string length of 8 and an alphabet of all lowercase letters and numbers (36) then there are about 2.8 trillion possible combinations which should be plenty of entropy.

<!-- gh-comment-id:748028652 --> @willbrowningme commented on GitHub (Dec 18, 2020): I will likely keep the UUID format as there are still those that like using it but will move it down the list order and mainly focus on the new random string format. With a string length of 8 and an alphabet of all lowercase letters and numbers (36) then there are about 2.8 trillion possible combinations which should be plenty of entropy.
Author
Owner

@willbrowningme commented on GitHub (Jan 7, 2021):

I've just added a new "Random Characters" alias format that allows you to create aliases where the local part is an alphanumeric string of length 8.

This is avilable on the free plan too so you can use this instead of the UUID aliases now.

<!-- gh-comment-id:756208478 --> @willbrowningme commented on GitHub (Jan 7, 2021): I've just added a new "Random Characters" alias format that allows you to create aliases where the local part is an alphanumeric string of length 8. This is avilable on the free plan too so you can use this instead of the UUID aliases now.
Author
Owner

@TheLastGimbus commented on GitHub (Jan 7, 2021):

Thanks so much! Waiting to see this in browser extension as well!

<!-- gh-comment-id:756368544 --> @TheLastGimbus commented on GitHub (Jan 7, 2021): Thanks so much! Waiting to see this in browser extension as well!
Author
Owner

@willbrowningme commented on GitHub (Jan 7, 2021):

@TheLastGimbus will update it as soon as I can, it's long overdue a complete makeover to be honest, lot's of features I need to add.

<!-- gh-comment-id:756372081 --> @willbrowningme commented on GitHub (Jan 7, 2021): @TheLastGimbus will update it as soon as I can, it's long overdue a complete makeover to be honest, lot's of features I need to add.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#694
No description provided.