Replies: 1 comment 3 replies
-
That's an interesting point. This will need some testing. I should've restricted them to 128 characters like in Cahir because there's no reason to use excessively long passphrases. Fortunately, nobody should realistically be affected by this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Linux and macOS terminal emulators TRUNCATE input to 4095. Windows - not. This problem is a bit similar to the one we discussed recently.
https://stackoverflow.com/questions/18015137/linux-terminal-input-reading-user-input-from-terminal-truncating-lines-at-4095
In Linux, the command
disables the input truncation.
Possible solution:
Truncate passphrases to 2048 bytes to ensure crossplatform compatibility.
(and warn users that very long phrases will be truncated for compatibility)
Beta Was this translation helpful? Give feedback.
All reactions