aboutsummaryrefslogtreecommitdiffstats
path: root/agent/genkey.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-implemented GPG's --passwd command and improved it.Werner Koch2010-10-261-12/+32
|
* All tests work are again workingWerner Koch2010-10-141-5/+11
|
* More agent support for gpg.Werner Koch2010-10-131-8/+6
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-6/+8
| | | | | | A couple of forward ported changes. Doc updates.
* Obscure the cached passphrases.Werner Koch2010-09-021-16/+2
|
* s/CACHE_MODE_IMPGEN/CACHE_MODE_NONCE/.Werner Koch2010-09-011-2/+2
| | | | | Prepare for more use cases of the cache nonce.
* Use passphrase caching for import and genkey.Werner Koch2010-09-011-6/+39
|
* Fix a regression from 2010-06-09.Werner Koch2010-06-241-1/+1
|
* Avoid using the protect-tool to import pkcs#12.Werner Koch2010-06-171-112/+87
|
* Merged Dirmngr with GnuPG.Werner Koch2010-06-091-1/+2
| | | | | A few code changes to support dirmngr.
* Whole lot of changes to support CE.Werner Koch2010-04-141-2/+4
|
* Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch2009-06-241-1/+1
| | | | | Still one problem left; marked with a gcc #warning.
* Use cancel button in confirmation only if requested.Werner Koch2009-06-171-1/+1
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-0/+2
|
* Started to implement the audit log feature.Werner Koch2007-11-191-1/+1
| | | | | | | | Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
* Changed wording of passphrase checking messages.Werner Koch2007-10-241-15/+14
| | | | | Fixed a segv in gpg-connect-agent.
* Support the SETQUALITYBAR command of recent pinentries.Werner Koch2007-09-181-6/+25
|
* New command --check-programs for gpgconf.Werner Koch2007-08-291-1/+1
|
* Add more passphrase policy rules.Werner Koch2007-08-281-1/+1
| | | | | (--max-passphrase-days).
* Implemented more gpg-agen options to support certain passphrase policies.Werner Koch2007-08-271-12/+144
| | | | | New tool gpg-check-pattern.
* Properly close files opened by es_fopen.Werner Koch2007-07-161-13/+34
| | | | | | Allow setting of an empty passphrase. Assorted W32 changes.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* jnlib/Werner Koch2007-01-251-1/+1
| | | | | | | * stringhelp.c (utf8_charcount): New. agent/ * genkey.c (check_passphrase_constraints): Use UTF-8 aware strlen.
* agent/Werner Koch2007-01-251-6/+6
| | | | | * genkey.c (check_passphrase_constraints): Get ngettext call right.
* agent/Werner Koch2007-01-251-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | * protect-tool.c (get_passphrase): New arg OPT_CHECK. (get_new_passphrase): Enable OTP_CHECK on the first call. * command.c (cmd_get_passphrase): Implement option --check. * gpg-agent.c (MIN_PASSPHRASE_LEN): New (parse_rereadable_options): New option --min-passphrase-len. * genkey.c (check_passphrase_constraints): New. (agent_genkey, agent_protect_and_store): Call new function. Fix memory leak. * call-pinentry.c (agent_askpin): Allow translation of the displayed error message. (agent_popup_message_start): Remove arg CANCEL_BTN. (popup_message_thread): Use --one-button option. * command.c (cmd_passwd): Now that we don't distinguish between assuan and regular error codes we can jump to the end on error. common/ * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
* The big Assuan error code removal.Werner Koch2006-09-061-2/+2
|
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-1/+1
| | | | | | | char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
* * call-scd.c (inq_needpin): Skip leading spaces in of PINWerner Koch2005-05-241-4/+4
| | | | | | | | | description. * divert-scd.c (getpin_cb): Enhanced to cope with description flags. * query.c (agent_askpin): Add arg PROMPT_TEXT. Changed all callers.
* * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. WeWerner Koch2004-12-201-12/+6
| | | | | | | | | | | | | | | now use the identical implementation from ../common/membuf.c. * pksign.c (agent_pksign): Changed arg OUTFP to OUTBUF and use membuf functions to return the value. * pkdecrypt.c (agent_pkdecrypt): Ditto. * genkey.c (agent_genkey): Ditto. * command.c (cmd_pksign, cmd_pkdecrypt, cmd_genkey): Replaced assuan_get_data_fp() by a the membuf scheme. (clear_outbuf, write_and_clear_outbuf): New. * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
* * command.c (cmd_passwd): Take acount of a key description.Werner Koch2004-02-211-6/+26
| | | | | | | | | * genkey.c (reenter_compare_cb): Do not set the error text. (agent_protect_and_store, agent_genkey): Force a re-enter after a non-matching passphrase. * query.c (agent_askpin): Add new arg INITIAL_ERRTEXT; changed all callers.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-121-1/+1
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+240
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-200/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * query.c (agent_askpin): Hack to show the right default prompt.NEWPG-0-9-0Werner Koch2002-08-211-4/+4
| | | | | | | | | | | (agent_get_passphrase): Ditto. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background.
* * agent.h: Add a callback function to the pin_entry_info structure.Werner Koch2002-06-171-17/+21
| | | | | | | | | | | | | | | * query.c (agent_askpin): Use the callback to check for a correct PIN. Removed the start_err_text argument becuase it is not anymore needed; changed callers. * findkey.c (unprotect): Replace our own check loop by a callback. (try_unprotect_cb): New. * genkey.c (reenter_compare_cb): New. (agent_genkey): Use this callback here. Fixed setting of the pi2 variable and a segv in case of an empty PIN. * divert-scd.c (getpin_cb): Removed some unused stuff and explained what we still have to change.
* sm/Werner Koch2002-03-061-56/+3
| | | | | | | | | | | | | | | | | * gpgsm.c: New command --learn-card * call-agent.c (learn_cb,gpgsm_agent_learn): New. * gpgsm.c (main): Print error messages for non-implemented commands. agent/ * learncard.c: New. * divert-scd.c (ask_for_card): The serial number is binary so convert it to hex here. * findkey.c (agent_write_private_key): New. * genkey.c (store_key): And use it here. scd/ * pkdecrypt.c (agent_pkdecrypt): Changed the way the diversion is done. * divert-scd.c (divert_pkdecrypt): Changed interface and implemented it.
* * cache.c: Add a few debug outputs.Werner Koch2002-02-011-2/+2
| | | | | | | | | | | | | | * protect.c (agent_private_key_type): New. * agent.h: Add PRIVATE_KEY_ enums. * findkey.c (agent_key_from_file): Use it to decide whether we have to unprotect a key. (unprotect): Cache the passphrase. * findkey.c (agent_key_from_file,agent_key_available): The key files do now require a ".key" suffix to make a script's life easier. * genkey.c (store_key): Ditto.
* * genkey.c (store_key): Protect the key.Werner Koch2002-01-311-6/+66
| | | | | | | (agent_genkey): Ask for the passphrase. * findkey.c (unprotect): Actually unprotect the key. * query.c (agent_askpin): Add an optional start_err_text.
* * genkey.c: Store the secret part and return the public part.Werner Koch2002-01-101-0/+189