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
>> 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.

thanks, this is exactly what i needed!

> Using GPGME is of course easier because it has this secret knowledge ;-)

:)

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20101113/5e128b1e/attachment.pgp>


More information about the Gnupg-users mailing list