Hi all,

I tried to use pass on windows today together with msys2 and git for windows. I didn't work at first with a rather misleading error message ("no public key found"), because of a \r\n line ending in the .gpg-id file in the .password-store directory which was introduced by git for windows (checkout windows-style line endings / commit unix style line endings).

This resulted in the following call:

gpg2 -e -r $'[email protected]\r' -o /home/maxnoe/.password-store/test.gpg --quiet --yes --compress-algo=none --no-encrypt-to --batch --use-agent

As you can see, there is a \r in the gpg id which leads to the missing public key error.

Maybe it's worth to strip away whitespace from the content read from the .gpg-id file.

Cheers
Maximilian Nöthe

--
PHD candidate
Astroparticle Physics
TU Dortmund

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to