How to create new keyring from an existing key in an existing keyring?

adrelanos adrelanos at
Mon Aug 12 19:53:53 CEST 2013

Peter Lebbing:
> On 11/08/13 23:11, adrelanos wrote:
>> I could think of a way to export the key, change --homedir, create a new
>> keyring, and import a the key. But is there a more elegant way?
> gpg --export 0xDEADBEEF | gpg --no-default-keyring --keyring \
> /etc/apt/trusted.gpg.d/meat.gpg --import
> (one long command line)

That worked well. Thanks for your help.

More information about the Gnupg-users mailing list