public key data output to a file?

Werner Koch wk@gnupg.org
Wed, 13 Dec 2000 14:47:43 +0100


On Wed, 13 Dec 2000, Stephan Stapel wrote:


> Is it possible to output the data of a public key to a file?
> These parameters:
>
> gpg --batch --yes --output [File]--edit-key [ID] pref quit
I am not sure whether you can get the preferences easily. As a workaround you might want to do a --list-packets on the key and parse that output. It seems like a good idea to add this to the listing. Werner -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org