gpg --verify detached signature from two file descriptors?
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Nov 12 05:19:19 CET 2010
Hi GnuPG folks--
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).
if i put the body on FD 0, i can verify the detached signature with:
gpg --verify sig -
but i still need to have the signature in a file in the file system. Is
there a way to tell gpg to read the sig itself from a file descriptor as
well?
On some operating systems (in some configurations) it looks like i can
use (e.g.) /proc/self/fd/3 to read the signature from file descriptor 3,
but it would be nice to be more portable than that.
Any suggestions?
Thanks for gpg,
--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/20101111/cb4303ad/attachment.pgp>
More information about the Gnupg-users
mailing list