[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: Feature Request - extract algo specific keys
From:       Michael Roth <mroth () nessie ! de>
Date:       1999-07-26 19:07:32
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic