How to import (RSA) secret keys?

Werner Koch wk at
Mon Jan 11 21:33:03 CET 1999

Matthias Bauer <bauer at> writes:

> gpg --secret-keyring .pgp/secring.pgp \
>     --export-secret-key 0xTheKeyID | gpg --import

--import does not lock the input (especially not in this case :-)
So the second process modifies the keyring the first process reads -
no wonder?.

export it into a file or use different homedirectories


ceterum censeo RSA esse delendam

More information about the Gnupg-devel mailing list