[pass] gpg: [don't know]: 1st length byte missing

Brian Candler b.candler at pobox.com
Wed Aug 31 16:05:29 CEST 2016

On 31/08/2016 14:57, Sylvain Viart wrote:
> I got :
> pass show web/framapad.org
> gpg: [don't know]: 1st length byte missing

ls -l ~/.password-store/web/framapad.org.gpg

Does it show a zero byte file? Then yes, your file is lost.

Recover it from a backup. If your password store is a git repository, 
then simply:

     pass git checkout web/framapad.org.gpg

should restore it. However if the zero-byte file has already been 
committed, then you'll need to restore it from a previous commit.



More information about the Password-Store mailing list