1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Added GENKEY --preset to add the passphrase of the generated key to the cache.

This commit is contained in:
Ben Kibbey 2011-04-10 09:37:18 -04:00 committed by Werner Koch
parent 893b455a3d
commit 944bf8f5b5
4 changed files with 24 additions and 4 deletions

View file

@ -313,7 +313,7 @@ gpg_error_t agent_ask_new_passphrase (ctrl_t ctrl, const char *prompt,
char **r_passphrase);
int agent_genkey (ctrl_t ctrl, const char *cache_nonce,
const char *keyparam, size_t keyparmlen,
int no_protection, membuf_t *outbuf);
int no_protection, int preset, membuf_t *outbuf);
gpg_error_t agent_protect_and_store (ctrl_t ctrl, gcry_sexp_t s_skey,
char **passphrase_addr);