Unable to store binaries in pass 1.7.2
Felix Richter
password-store at syntax-fehler.de
Thu Jul 19 11:33:09 CEST 2018
Hey,
it seems that in the transition from pass 1.7.1 -> 1.7.2 the code changed which
now makes it impossible to store raw binary files:
Steps to Reproduce Reproduce:
$ pass --version
============================================
= pass: the standard unix password manager =
= =
= v1.7.1 =
= =
= Jason A. Donenfeld =
= Jason at zx2c4.com =
= =
= http://www.passwordstore.org/ =
============================================
$ dd if=/dev/zero bs=2 count=1 | pass insert -m null
1+0 records in
1+0 records out
2 bytes copied, 2.9799e-05 s, 67.1 kB/s
Enter contents of null and press Ctrl+D when finished:
$ pass null | hexdump -C
00000000 00 00 |..|
00000002
$ pass --version
============================================
= pass: the standard unix password manager =
= =
= v1.7.2 =
= =
= Jason A. Donenfeld =
= Jason at zx2c4.com =
= =
= http://www.passwordstore.org/ =
============================================
$ dd if=/dev/zero bs=2 count=1 | pass insert -m null2
1+0 records in
1+0 records out
2 bytes copied, 3.0273e-05 s, 66.1 kB/s
Enter contents of null2 and press Ctrl+D when finished:
pass null2 | hexdump -C
/nix/store/z4h1xy952qvp3zc287mmxngyl5ip364n-password-store-1.7.2/bin/.pass-wrapped:
line 365: warning: command substitution: ignored null byte in input
00000000 0a |.|
00000001
Regards,
Felix
More information about the Password-Store
mailing list