Hello everyone, I got a error message from pass command, so here i the explanation.
## Context On MacOS, last version from brew: ``` $ pass --version ============================================ = pass: the standard unix password manager = = = = v1.7.2 = = = = Jason A. Donenfeld = = [email protected] = = = = http://www.passwordstore.org/ = ============================================ ``` I migrated my password from another password manager which managed my password with some non utf-8 characters. Then I found that the `pass` displayed `sed: RE error: illegal byte sequence` Digging more i found that the `tree` does not print some characters, like emojis for example. ## How to reproduce ``` $ pass insert test/🏠 Enter password for test/🏠: Retype password for test/🏠: [master cd58096] Add given password for test/🏠 to store. 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "test/\360\237\217\240.gpg » ``` ``` $ pass test test sed: RE error: illegal byte sequence ``` ## Suggested patch Use the `-N` parameter for `tree` which allows to force display characters as they are. We could also use `-q` to replace non-printable characters by `?`. What do you think about that?
print-non-printable.patch
Description: Binary data
Pierre Péronnet [email protected]
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Password-Store mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/password-store
