Exporting keys as seperate files

Janusz A. Urbanowicz alex at bofh.net.pl
Mon Jun 12 14:20:56 CEST 2006


On Sun, Jun 11, 2006 at 07:48:25PM +0300, Oskar L. wrote:
> Hello,
> 
> I'd like to export all public keys in my keyring to seperate ASCII-armored
> files, using the name from the user ID as the filname, and adding ".asc"
> as the extension. If a key has multiple user IDs, then the name from the
> newest one should be used. Is there a shell script that can do this?

I once posted similar script to gnupg-devel:
http://lists.gnupg.org/pipermail/gnupg-devel/2002-March/018217.html

But it splits to files named as key-ids, not user ids.

Alex



More information about the Gnupg-users mailing list