Feature Request - extract algo specific keys

Michael Roth mroth at nessie.de
Mon Jul 26 22:07:32 CEST 1999


On Sun, 25 Jul 1999, Michael Roth wrote:

> > ie.	1. list all keys which use RSA, or export all rsa keys?
> 
> 	gpg --list-keys --with-colons \
> 	    | grep "^pub:u:[0-9]*:1:" \
> 	    | cut -f5 -d: \
> 	    | while read id; do gpg --export-all --armor 0x${id}; done

Hmm. I made a small typo. The right command is:

	....
	    | grep "^pub:.:[0-9]*:1:" \
	....


cu
		Michael




More information about the Gnupg-devel mailing list