gpg: error getting the KEK: Unsupported certificate

NIIBE Yutaka gniibe at fsij.org
Fri Feb 8 16:33:52 CET 2013


On 2013-02-08 at 13:22 +0000, Abel Luck wrote:
> $ gpg2 --import secret-keys.gpg
[...]
> gpg: error getting the KEK: Unsupported certificate

Could you please check your environment variable GPG_AGENT_INFO for
gpg2?  Does the process number of GPG_AGENT_INFO correspond to
gnome-keyring?  Are you running gnome-keyring with gpg-agent feature
enabled?

"Unsupported certificate" is common error behavior when you are
using gnome-keyring as gpg-agent.  It replies "103 unknow command",
which causes "Unsupported certificate" error of GnuPG.

See the line 156 of gnome-keyring source code:

   http://git.gnome.org/browse/gnome-keyring/tree/daemon/gpg-agent/gkd-gpg-agent.c

Or does it work?

	$ unset GPG_AGENT_INFO
	$ eval `gpg-agent  -v --daemon`
	$ gpg2 --import secret-keys.gpg
-- 





More information about the Gnupg-devel mailing list