How to add only specified public key from an asc file containing many keys?

Mirimir mirimir at
Tue Oct 22 11:57:02 CEST 2013

On 10/20/2013 10:28 PM, Veet Vivarto wrote:

> Hi,
> Please consider this situation. The user has a file containing some
> 30 public keys. He/she lists the keys and only wants to import only 2
> of these keys. How can he/she do that?
> Is there a command that allows to specify the keys to import? Also,
> would the same method work with adding keys from a public keyring 
> file?
> Thank you in advance for you assistance. Vivarto

If the keys are ASCII armored, I'd just copy the file, and delete the
unwanted 28.

More information about the Gnupg-users mailing list