gpg: Make card key generation work again.
authorWerner Koch <wk@gnupg.org>
Sun, 19 Oct 2014 12:09:04 +0000 (14:09 +0200)
committerWerner Koch <wk@gnupg.org>
Sun, 19 Oct 2014 12:09:04 +0000 (14:09 +0200)
commit1b8decc4767f0c55867327bdf3113204efcd19a7
treea1ab7854633185ea8dab122ab303967b876435eb
parent6d9491842d5da597980eaa59e1e3e2137965fe09
gpg: Make card key generation work again.

* g10/call-agent.c (agent_scd_learn): Rename from agent_learn.
(agent_learn): New.
* g10/keygen.c (gen_card_key): Call new agent-learn.
--

Without a shadow key we can't create the self-signatures.  Thus we
need to issue the learn command after each key generation.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/call-agent.c
g10/call-agent.h
g10/card-util.c
g10/keygen.c