-
Notifications
You must be signed in to change notification settings - Fork 23
Tokens are near impossible to type by a human #11
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
Comments
They are not meant to be typed as a human. They contain a 32 byte node id that is random and can not be compressed. No matter what dictionary you use, this will be a pain to type. Not sure what can be done about this tbh. Use DNS or a similar mechanism to assign a name to a node id, with all the downsides this has? Definitely not something we would require by default for this tool. |
Splitting it into chunks separated by characters that are outside of the base32 would already help readability greatly, because then it become easier to check for errors: dumbpipe connect nodeedijgsumxv3p3jtthg2j7y4y7unfsw2teeju2qkyvrwpgh3nrmpgaaicaqambkfsgsh4caya3hxntn4pyebqciadadea6ayyaaclvt4qdpphfn4qyebqciadadea6ayyabccehucpvyt4xuqyebq
# vs
dumbpipe connect nodeedijgsum.xv3p3jtthg2j.7y4y7unfsw2t.eeju2qkyvrwp.gh3nrmpgaaic.aqambkfsgsh4.caya3hxntn4p.yebqciadadea.6ayyaaclvt4q.dpphfn4qyebq.ciadadea6ayy.abccehucpvyt.4xuqyebq some examples: chunks of 12 chars: I think |
We can make any non base32 char a separator that just gets stripped out during parsing. So _ would work. Tickets can't be a subdomain because they are too long. A subdomain is limited to 64 chars, and a ticket that contains direct addresses will be more than that. |
I think a good option for desktop users would be to automatically put the token or command into the clipboard. I dunno if sending the string to stdout would work, but that would be another option such that the user can then pipe into wl-copy or save to a file. |
I tried it and I failed.
Ideas that could help:
The text was updated successfully, but these errors were encountered: