mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* findkey.c (agent_key_from_file): Extra paranoid wipe.
* protect.c (agent_unprotect): Ditto. (merge_lists): Ditto. Add arg RESULTLEN. * pkdecrypt.c (agent_pkdecrypt): Don't show the secret key even in debug mode. * protect.c: Add DSA and Elgamal description.
This commit is contained in:
parent
5bda9a8e74
commit
31de2267ec
5 changed files with 40 additions and 18 deletions
|
@ -93,12 +93,12 @@ agent_pkdecrypt (CTRL ctrl, const char *ciphertext, size_t ciphertextlen,
|
|||
putc (0, outfp);
|
||||
}
|
||||
else
|
||||
{ /* no smartcard, but a private key */
|
||||
if (DBG_CRYPTO)
|
||||
{
|
||||
log_debug ("skey: ");
|
||||
gcry_sexp_dump (s_skey);
|
||||
}
|
||||
{ /* No smartcard, but a private key */
|
||||
/* if (DBG_CRYPTO ) */
|
||||
/* { */
|
||||
/* log_debug ("skey: "); */
|
||||
/* gcry_sexp_dump (s_skey); */
|
||||
/* } */
|
||||
|
||||
rc = gcry_pk_decrypt (&s_plain, s_cipher, s_skey);
|
||||
if (rc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue