I do quite agree with those two philosophies concerning whitespaces in passwords: they should be possible and responsibility left to user.
However linux native Password Store
utility, wrapping around gpg
, does trim leading and trailing whitespaces:
$ pass insert test
Enter password for test: wrapped <Enter>
Retype password for test: wrapped <Enter>
$ pass test
wrapped|--------> well.. naked.
Is this just a customizable default behaviour?
How can I fix this?