gpg --verify detached signature from two file descriptors?
Werner Koch
wk at gnupg.org
Sat Nov 13 20:16:49 CET 2010
On Fri, 12 Nov 2010 05:19, dkg at fifthhorseman.net said:
> i'd like to use gpg to verify a detached signature, but for various
> reasons i don't want to put either part (the body or the signature) in
> the filesystem (i have the data queued in two otherwise anonymous file
> descriptors).
No problem. GPGME does it this way. The trick is the option
--enable-special-filenames and to pass the fd in this format "-&N".
gpg --enable-special-filenames --verify --batch -&5 -&6
Assuming you have them in fds 5 and 6.
Using GPGME is of course easier because it has this secret knowledge ;-)
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users
mailing list