[pass] gpg: [don't know]: 1st length byte missing
Sylvain Viart
sylvain at opensource-expert.com
Wed Aug 31 17:43:42 CEST 2016
Le 31/08/2016 à 16:47, Brian Candler a écrit :
> gpg -d /home/sylvain/.password-store/web/framapad.org.gpg
>
> Does it give the same error? If so, it would appear to be corrupt.
>
Yes same error.
Only one other entry is failing in my storage, exactly the same size 528
given by ls.
All other are OK (~ 1186) many duplicates and outdated entries…
the tool for testing:
cat test_pass.sh
#!/bin/bash
#
IFS=$'\n'
touch tested
for f in $(find ~/.password-store/ -type f -name \*.gpg)
do
if grep -q "$f" tested
then
continue
fi
if ! gpg -q --batch -d "$f" > /dev/null
then
echo "$f"
else
echo "$f" >> tested
fi
done
Thanks for your reply,
Sylvain.
--
Sylvain Viart - Consultant informatique système linux
More information about the Password-Store
mailing list