<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I tried to use pass on windows today together with msys2 and git for
windows.<br>
I didn't work at first with a rather misleading error message ("no
public key found"), because<br>
of a \r\n line ending in the .gpg-id file in the .password-store
directory which was introduced <br>
by git for windows (checkout windows-style line endings / commit
unix style line endings).<br>
<br>
This resulted in the following call:<br>
<br>
gpg2 -e -r $'<a class="moz-txt-link-abbreviated"
href="mailto:maximilian.noethe@tu-dortmund.de%5Cr">maximilian.noethe@tu-dortmund.de\r</a>'
-o /home/maxnoe/.password-store/test.gpg --quiet --yes
--compress-algo=none --no-encrypt-to --batch --use-agent<br>
<br>
As you can see, there is a \r in the gpg id which leads to the
missing public key error.<br>
<br>
Maybe it's worth to strip away whitespace from the content read from
the .gpg-id file.<br>
<br>
Cheers<br>
Maximilian Nöthe<br>
<br>
<pre class="moz-signature" cols="72">--
PHD candidate
Astroparticle Physics
TU Dortmund</pre>
</body>
</html>