aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-07agent: Add pin length field to the shadowed private key format.Werner Koch1-1/+1
This is not yet fully implemented. It will eventually allow to support pinpad equipped readers which do not support variable length pin lengths. * agent/protect.c (parse_shadow_info): Add optional arg R_PINLEN and parse pinlen info. Change all callers to pass NULL for it.
2012-02-07agent: New function agent_print_status.Werner Koch1-0/+3
* common/asshelp2.c (vprint_assuan_status): New. (print_assuan_status): Re-implement using above func. * agent/command.c (agent_print_status): New.
2011-12-05Amend the agent code with more comments.Werner Koch1-22/+61
* agent/command.c (server_local_s): Remove unused field MESSAGE_FD.
2011-09-12Handle pinentry-mode=loopback.Ben Kibbey1-0/+3
When this mode is set an inquire will be sent to the client to retrieve the passphrase. This adds a new inquire keyword "NEW_PASSPHRASE" that the GENKEY and PASSWD commands use when generating a new key.
2011-07-20Support a confirm flag for ssh.Werner Koch1-0/+2
This implements the suggestion from bug#1349. With this change the fingerprint of the ssh key is also displayed in the pinentry prompts.
2011-06-29Added gpg-agent OPTION "s2k-count".Ben Kibbey1-1/+4
When unset or 0, the calibrated count will be used.
2011-04-26Fixed regression in OpenPGP secret key export.Werner Koch1-0/+1
The protection used in the exported key used a different iteration count than given in the S2K field. Thus all OpenPGP keys exported from GnuPG 2.1-beta can't be imported again. Given that the actual secret key material is kept in private-keys-v1.d/ the can be re-exported with this fixed version.
2011-04-21Add OPTION:cache-ttl-opt-preset to gpg-agent.Werner Koch1-2/+7
This option may be used to change the default ttl values use with the --preset option of GENKEY and PASSWD.
2011-04-12Use macros for the 120 and 900s cache TTLs.Werner Koch1-0/+6
2011-04-12Added GENKEY --preset to add the passphrase of the generated key to the cache.Ben Kibbey1-1/+1
2011-03-03New agent option pinentry-mode.Werner Koch1-1/+16
This provides the framework and implements the ask, cancel and error. loopback will be implemented later.
2011-03-02Fix usage of SHA-2 algorithm with OpenPGP cards.Werner Koch1-0/+1
This was a regression in 2.1 introduced due to having the agent do the signing in contrast to the old "SCD PKSIGN" command which accesses the scdaemon directly and passed the hash algorithm. The hash algorithm is used by app-openpgp.c only for a sanity check.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-11/+11
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2011-01-13Fixed key generation with P-521. Confirmed that signature generation and ↵Andrey Jivsov1-0/+1
verification work.
2010-11-11Fix bug where scdaemon kills a non-daemon gpg-agent.Werner Koch1-0/+3
2010-10-26Re-implemented GPG's --passwd command and improved it.Werner Koch1-1/+2
2010-10-14All tests work are again workingWerner Koch1-1/+2
2010-10-13More agent support for gpg.Werner Koch1-2/+2
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-4/+6
A couple of forward ported changes. Doc updates.
2010-09-02Obscure the cached passphrases.Werner Koch1-3/+3
2010-09-01s/CACHE_MODE_IMPGEN/CACHE_MODE_NONCE/.Werner Koch1-4/+6
Prepare for more use cases of the cache nonce.
2010-09-01Use passphrase caching for import and genkey.Werner Koch1-2/+4
2010-08-31Import OpenPGP keys into the agent.Werner Koch1-2/+7
2010-06-17Avoid using the protect-tool to import pkcs#12.Werner Koch1-0/+2
2010-05-11Update tests.Werner Koch1-0/+3
2010-04-21More changes on the way to remove secring.gpg.Werner Koch1-0/+1
2009-12-14Implement dynamic S2K count computation.Werner Koch1-0/+1
2009-07-07Reworked passing of envars to Pinentry.Werner Koch1-10/+4
2009-06-17Use cancel button in confirmation only if requested.Werner Koch1-1/+1
2009-05-15Fix bug #1053Werner Koch1-2/+7
Add option --qualitybar to command GET_PASSPHRASE.
2009-03-26Signing using Netkey 3 cards does now work.Werner Koch1-1/+1
2009-03-20Fix keygrip computation for TCOS 3 cards.Werner Koch1-1/+2
Emit PROGRESS status lines during --learn-card.
2009-03-19Changed order of the confirmation questions for root certificatesWerner Koch1-1/+1
and stores negative answers in trustlist.txt.
2009-03-06New gpg-agent command to list key information.Werner Koch1-0/+5
Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
2009-03-03Add --reload command to gpgconf.Werner Koch1-0/+1
Fix a problem in exechelp.c Get ready for a release.
2008-09-29Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch1-3/+3
2008-03-20Fix a bug in the ambigious name detection.Werner Koch1-0/+1
Minor cleanups.
2007-11-27[W32] Changed default socket for dirmngr.Werner Koch1-0/+3
[W32] Add some code for event notifications between scdaemon and gpg-agent.
2007-11-19Started to implement the audit log feature.Werner Koch1-1/+4
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
2007-10-01Use Assuan socket wrapper calls.Werner Koch1-6/+5
Made socket servers secure under Windows.
2007-09-18Support the SETQUALITYBAR command of recent pinentries.Werner Koch1-1/+2
2007-09-14Print used library version with --version.Werner Koch1-1/+1
Typo fixes
2007-08-28Add more passphrase policy rules.Werner Koch1-2/+10
(--max-passphrase-days).
2007-08-27Implemented more gpg-agen options to support certain passphrase policies.Werner Koch1-0/+8
New tool gpg-check-pattern.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-07-04A bunch of minor changes for Windows.Werner Koch1-0/+1
2007-06-21Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch1-2/+0
Windows.
2007-06-18Add missing fiels for W32.Werner Koch1-0/+1
New agent commands: GETINFO and KILLAGENT (w32 only). Agent does now detach from the console.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-2/+3
See the ChangeLogs for details.
2007-02-14agent/Werner Koch1-0/+5
* gpg-agent.c: New option --pinentry-touch-file. (get_agent_socket_name): New. * agent.h (opt): Add pinentry_touch_file. * call-pinentry.c (start_pinentry): Send new option to the pinentry.