mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Use passphrase caching for import and genkey.
This commit is contained in:
parent
e3d8bb0244
commit
9a9b3da58f
13 changed files with 240 additions and 58 deletions
|
@ -316,6 +316,12 @@ start_pinentry (ctrl_t ctrl)
|
|||
log_error ("can't allocate assuan context: %s\n", gpg_strerror (rc));
|
||||
return rc;
|
||||
}
|
||||
/* We don't want to log the pinentry communication to make the logs
|
||||
easier to read. We might want to add a new debug option to enable
|
||||
pinentry logging. */
|
||||
#ifdef ASSUAN_NO_LOGGING
|
||||
assuan_set_flag (ctx, ASSUAN_NO_LOGGING, 1);
|
||||
#endif
|
||||
|
||||
/* Connect to the pinentry and perform initial handshaking. Note
|
||||
that atfork is used to change the environment for pinentry. We
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue