* call-agent.c (gpgsm_agent_havekey): New.
authorWerner Koch <wk@gnupg.org>
Tue, 29 Jan 2002 10:05:24 +0000 (10:05 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 29 Jan 2002 10:05:24 +0000 (10:05 +0000)
commitcd30feaa8ebb37f98742228573da81e7ac8472aa
tree8c9b3d0dc1b48f8eefb7f32d0425393646736e50
parent2d1d9d928c652f4d9fcab2d9d020c6225c16ee2c
* call-agent.c (gpgsm_agent_havekey): New.
* keylist.c (list_cert_colon): New arg HAVE_SECRET, print "crs"
when we know that the secret key is available.
(gpgsm_list_keys): New arg MODE, check whether a secret key is
available.  Changed all callers.
* gpgsm.c (main): New command --list-secret-keys.
* server.c (cmd_listsecretkeys): New.
(cmd_listkeys): Return secret keys with "crs" record.
sm/ChangeLog
sm/call-agent.c
sm/gpgsm.c
sm/gpgsm.h
sm/keylist.c
sm/server.c