gpg --verify detached signature from two file descriptors?
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sat Nov 13 20:26:56 CET 2010
On 11/13/2010 02:16 PM, Werner Koch wrote:
> 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
> 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.
thanks, this is exactly what i needed!
> Using GPGME is of course easier because it has this secret knowledge ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
More information about the Gnupg-users