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

Peter Lebbing peter at digitalbrains.com
Mon Aug 12 11:18:23 CEST 2013


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)

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list