Problems to import and export private keys using GnuPG v2.
wk at gnupg.org
Thu Nov 23 14:42:40 CET 2006
On Thu, 23 Nov 2006 04:55, vini at fugspbr.org said:
> $ gpg --import private.pgp
> gpg: importing secret keys not allowed
/* We don't allow to import secret keys because that may be used
to put a secret key into the keyring and the user might later
be tricked into signing stuff with that key. */
log_error (_("importing secret keys not allowed\n"));
So you used
This prevents access to certain files and won't
allow import or export of secret keys.
with configure. You need to build a second binary without that flag
and use that binary to import stuff.
More information about the Gnupg-users