From 1753a2f3b0ec8c1eda54d9de7b17fa62c43fef39 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 3 Jul 2003 18:08:16 +0000 Subject: * options.h (DBG_CIPHER): Reintroduced it. * seskey.c (encode_session_key): Debug output of the session key. * pubkey-enc.c (get_it): Handle card case. * call-agent.c (agent_scd_pkdecrypt): New. * pkglue.c (pk_encrypt): Add RSA support. * g10.c (main): Default to --use-agent. * keygen.c (show_smartcard): Print info about the public key. (check_smartcard): Check for existing key here. (gen_card_key): And not anymore here. (fpr_is_zero): New. (generate_keypair): Generate both keys for a card. (smartcard_change_url): Nw. --- g10/call-agent.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'g10/call-agent.h') diff --git a/g10/call-agent.h b/g10/call-agent.h index 2169a5319..a6edecf47 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -61,12 +61,10 @@ int agent_scd_pksign (const char *keyid, int hashalgo, const unsigned char *indata, size_t indatalen, char **r_buf, size_t *r_buflen); -/* Ask the agent to let the user change the passphrase of the secret - key identified by HEXKEYGRIP. */ -int agent_passwd (const char *hexkeygrip); - - - +/* Send a PKDECRYPT command to the SCdaemon. */ +int agent_scd_pkdecrypt (const char *serialno, + const unsigned char *indata, size_t indatalen, + char **r_buf, size_t *r_buflen); -- cgit v1.2.3