[newbie] GnuGP without keyring???

Werner Koch wk@isil.d.shuttle.de
Fri, 28 May 1999 09:57:20 +0200


Jason Gunthorpe <jgg@wakko.deltatee.com> writes:


> cat KeyMaterial | gpg --no-default-keyring --keyring /tmp/trash --import --with-colons
you don't need the --import operation at all in your case: $ gpg --dearmor <KeyMaterial >keyring.tmp $ gpg --no-default-keyring --keyring ./keyring.tmp --always-trust \ -r 0x`gpg --with-colons ./keyring.tmp | cut -d : -f 5 |head -1` \ -ea -o - file-to-encrypt | mail address I think this should work if (the first key from Keymaterial is used). -- Werner Koch at guug.de www.gnupg.org keyid 621CC013