On Thu, 23 Nov 2006 04:55, [EMAIL PROTECTED] said:

> $ gpg --import private.pgp
> gpg: importing secret keys not allowed

#ifdef ENABLE_SELINUX_HACKS
    if (1)
      {
        /* 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"));
        return 0;
      }
#endif 

So you used

     --enable-selinux-support
                    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.


Salam-Shalom,

   Werner




_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to