Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow generation of card keys up to 4096 bit. | Werner Koch | 2011-06-16 | 1 | -15/+75 | |
| | | | | | | | | | | | | | | | This patch implementes a chunk mode to pass the key parameters from scdaemon to gpg. This allows to pass arbitrary long key paremeters; it is used for keys larger than 3072 bit. Note: the card key generation in gpg is currently broken. The keys are generated but it is not possible to create the self-signature because at that time the gpg-agent does not yet know about the new keys and thus can't divert the sign request to the card. We either need to run the learn command right after calling agent_scd_genkey or implement a way to sign using the currently inserted card. Another option would be to get rid of agent_scd_genkey and implement the feature directly in agent_genkey. | |||||
* | Fix usage of SHA-2 algorithm with OpenPGP cards. | Werner Koch | 2011-03-02 | 1 | -138/+0 | |
| | | | | | | | 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. | |||||
* | Nuked almost all trailing white space.post-nuke-of-trailing-ws | Werner Koch | 2011-02-04 | 1 | -59/+59 | |
| | | | | | | | | 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. | |||||
* | 'g10/gpg2 --encrypt --debug 15 -r ecdsa -a -o _e.asc _' and 'g10/gpg2 ↵ | Andrey Jivsov | 2011-01-11 | 1 | -3/+0 | |
| | | | | | | | | --debug 15 _e.asc', as well as decoding of an old message posted on https://sites.google.com/site/brainhub/pgpecckeys work. This is the milestone 2 that brings in ECDH support from http://code.google.com/p/gnupg-ecc/source/detail?r=15 . This corresponds to the commit 899386826c85f1e757e75bcc5d5b2159d05676a0 in libgcrypt | |||||
* | Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 . | Andrey Jivsov | 2011-01-06 | 1 | -0/+3 | |
| | | | | | | | | | | The following works: gpg2 --gen-key (ECC) gpg2 --list-keys gpg2 --list-packets ~/.gnupg/pubring.gpg gpg2 --list-packets <private key from http://sites.google.com/site/brainhub/pgpecckeys> ECDH doesn't work yet as the code must be re-written to adjust for gpg-agent refactoring. | |||||
* | Smartcard related updates | Werner Koch | 2010-11-17 | 1 | -5/+3 | |
| | ||||||
* | Re-implemented GPG's --passwd command and improved it. | Werner Koch | 2010-10-26 | 1 | -8/+78 | |
| | ||||||
* | replace some sprintf by bin2hex. | Werner Koch | 2010-10-18 | 1 | -17/+12 | |
| | ||||||
* | All tests work are again working | Werner Koch | 2010-10-14 | 1 | -3/+5 | |
| | ||||||
* | More agent support for gpg. | Werner Koch | 2010-10-13 | 1 | -0/+6 | |
| | ||||||
* | Exporting secret keys via gpg-agent is now basically supported. | Werner Koch | 2010-10-01 | 1 | -10/+132 | |
| | | | | | | A couple of forward ported changes. Doc updates. | |||||
* | Even less prompts for a new key now. | Werner Koch | 2010-09-01 | 1 | -3/+9 | |
| | ||||||
* | Use passphrase caching for import and genkey. | Werner Koch | 2010-09-01 | 1 | -8/+44 | |
| | ||||||
* | Import OpenPGP keys into the agent. | Werner Koch | 2010-08-31 | 1 | -0/+101 | |
| | ||||||
* | Decryption and signi via agent is now implemented. | Werner Koch | 2010-04-23 | 1 | -2/+126 | |
| | ||||||
* | More changes on the way to remove secring.gpg. | Werner Koch | 2010-04-21 | 1 | -7/+9 | |
| | ||||||
* | Generating an OpenPGP key cia gpg-agent basically works. | Werner Koch | 2010-04-20 | 1 | -21/+312 | |
| | ||||||
* | Add dummu option --passwd for gpg. | Werner Koch | 2010-01-08 | 1 | -0/+35 | |
| | | | | | Collected changes. | |||||
* | 2009-09-23 Marcus Brinkmann <[email protected]> | Marcus Brinkmann | 2009-09-23 | 1 | -10/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (NEED_LIBASSUAN_API, NEED_LIBASSUAN_VERSION): Update to new API (2, 1.1.0). agent/ 2009-09-23 Marcus Brinkmann <[email protected]> * gpg-agent.c (parse_rereadable_options): Don't set global assuan log file (there ain't one anymore). (main): Update to new API. (check_own_socket_pid_cb): Return gpg_error_t instead of int. (check_own_socket_thread, check_for_running_agent): Create assuan context before connecting to server. * command.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (write_and_clear_outbuf): Use gpg_error_t instead of assuan_error_t. (cmd_geteventcounter, cmd_istrusted, cmd_listtrusted) (cmd_marktrusted, cmd_havekey, cmd_sigkey, cmd_setkeydesc) (cmd_sethash, cmd_pksign, cmd_pkdecrypt, cmd_genkey, cmd_readkey) (cmd_keyinfo, cmd_get_passphrase, cmd_clear_passphrase) (cmd_get_confirmation, cmd_learn, cmd_passwd) (cmd_preset_passphrase, cmd_scd, cmd_getval, cmd_putval) (cmd_updatestartuptty, cmd_killagent, cmd_reloadagent) (cmd_getinfo, option_handler): Return gpg_error_t instead of int. (post_cmd_notify): Change type of ERR to gpg_error_t from int. (io_monitor): Add hook argument. Use symbols for constants. (register_commands): Change return type of HANDLER to gpg_error_t. (start_command_handler): Allocate assuan context before starting server. * call-pinentry.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (unlock_pinentry): Call assuan_release instead of assuan_disconnect. (getinfo_pid_cb, getpin_cb): Return gpg_error_t instead of int. (start_pinentry): Allocate assuan context before connecting to server. * call-scd.c (membuf_data_cb, learn_status_cb, get_serialno_cb) (membuf_data_cb, inq_needpin, card_getattr_cb, pass_status_thru) (pass_data_thru): Change return type to gpg_error_t. (start_scd): Allocate assuan context before connecting to server. common/ 2009-09-23 Marcus Brinkmann <[email protected]> * asshelp.c (start_new_gpg_agent): Allocate assuan context before starting server. g10/ 2009-09-23 Marcus Brinkmann <[email protected]> * call-agent.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (learn_status_cb, dummy_data_cb, get_serialno_cb, default_inq_cb) (learn_status_cb, inq_writecert_parms, inq_writekey_parms) (scd_genkey_cb, membuf_data_cb): Return gpg_error_t instead of int. * gpg.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (main): Update to new Assuan API. * server.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (option_handler, cmd_recipient, cmd_signer, cmd_encrypt) (cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export) (cmd_delkeys, cmd_message, do_listkeys, cmd_listkeys) (cmd_listsecretkeys, cmd_genkey, cmd_getinfo): Return gpg_error_t instead of int. (register_commands): Allocate assuan context before starting server. (gpg_server): Allocate assuan_context before starting server. scd/ 2009-09-23 Marcus Brinkmann <[email protected]> * command.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (option_handler, open_card, cmd_serialno, cmd_lean, cmd_readcert) (cmd_readkey, cmd_setdata, cmd_pksign, cmd_pkauth, cmd_pkdecrypt) (cmd_getattr, cmd_setattr, cmd_writecert, cmd_writekey) (cmd_genkey, cmd_random, cmd_passwd, cmd_checkpin, cmd_lock) (cmd_unlock, cmd_getinfo, cmd_restart, cmd_disconnect, cmd_apdu) (cmd_killscd): Return gpg_error_t instead of int. (scd_command_handler): Allocate assuan context before starting server. * scdaemon.c (main): Update to new Assuan API. sm/ 2009-09-23 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Update to new assuan API. * server.c: Include "gpgsm.h" before <assuan.h> due to check for GPG_ERR_SOURCE_DEFAULT and assuan.h now including gpg-error.h. (option_handler, cmd_recipient, cmd_signer, cmd_encrypt) (cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export) (cmd_delkeys, cmd_message, cmd_listkeys, cmd_dumpkeys) (cmd_listsecretkeys, cmd_dumpsecretkeys, cmd_genkey) (cmd_getauditlog, cmd_getinfo): Return gpg_error_t instead of int. (register_commands): Same for member HANDLER in table. (gpgsm_server): Allocate assuan context before starting server. * sm/call-dirmngr.c: * call-dirmngr.c (prepare_dirmngr): Check for CTX and error before setting LDAPSERVER. (start_dirmngr_ext): Allocate assuan context before starting server. (inq_certificate, isvalid_status_cb, lookup_cb, lookup_status_cb) (run_command_cb, run_command_inq_cb, run_command_status_cb): Return gpg_error_t instead of int. tools/ 2009-09-23 Marcus Brinkmann <[email protected]> * gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response) (main): Update to new Assuan API. | |||||
* | Ask to insert the right OpenPGP card. | Werner Koch | 2009-08-11 | 1 | -15/+165 | |
| | ||||||
* | Enable readline support in --card-edit. | Werner Koch | 2009-08-05 | 1 | -0/+13 | |
| | | | | | better cope with re-inserted cards. | |||||
* | Ask for the keysize when generating a new card key. | Werner Koch | 2009-08-05 | 1 | -1/+5 | |
| | ||||||
* | Make use of the card's extended capabilities. | Werner Koch | 2009-07-22 | 1 | -0/+38 | |
| | ||||||
* | Emit CARDCTRL status lines. | Werner Koch | 2009-07-22 | 1 | -47/+129 | |
| | ||||||
* | Reworked passing of envars to Pinentry. | Werner Koch | 2009-07-07 | 1 | -2/+1 | |
| | ||||||
* | Fixed a bunch of little bugs as reported by Fabian Keil. | Werner Koch | 2009-06-24 | 1 | -1/+0 | |
| | | | | | Still one problem left; marked with a gcc #warning. | |||||
* | Add readcert command. | Werner Koch | 2009-06-17 | 1 | -2/+37 | |
| | | | | | fix reading large certificates. | |||||
* | app-openpgp changes | Werner Koch | 2009-06-09 | 1 | -2/+2 | |
| | ||||||
* | Made card key generate with backup key work for 2048 bit. | Werner Koch | 2009-05-15 | 1 | -3/+19 | |
| | | | | | Improved card key generation prompts. | |||||
* | Import/export of pkcs#12 now uses the gpg-agent directly. | Werner Koch | 2009-04-01 | 1 | -26/+1 | |
| | | | | | Removed duplicated code (percent unescaping). | |||||
* | Enhanced last patch. | Werner Koch | 2009-03-17 | 1 | -57/+39 | |
| | ||||||
* | Move password repetition from gpg to gpg-agent. | Werner Koch | 2009-03-17 | 1 | -3/+4 | |
| | ||||||
* | Fix a gpg2 problem with removed cards. | Werner Koch | 2009-02-27 | 1 | -0/+18 | |
| | | | | | | Allow runtime conf change for scdaemon. New commands for scdaemon. | |||||
* | Add a sample key. | Werner Koch | 2009-01-13 | 1 | -1/+18 | |
| | | | | | Detect and show the card type. | |||||
* | Add a custom prompt for the CSR generation. | Werner Koch | 2008-12-05 | 1 | -7/+7 | |
| | | | | | Add a new percent escape fucntion. | |||||
* | Marked all unused args on non-W32 platforms. | Werner Koch | 2008-10-20 | 1 | -1/+9 | |
| | ||||||
* | Finished support for v2 cards with the exception of secure messaging. | Werner Koch | 2008-09-25 | 1 | -2/+6 | |
| | ||||||
* | Support the Certifciate DO of the v2 OpenPGP cards. | Werner Koch | 2008-09-23 | 1 | -0/+57 | |
| | ||||||
* | Poems for AllowSetForegroundWindow (W32) | Werner Koch | 2008-02-14 | 1 | -24/+72 | |
| | ||||||
* | Started to implement the audit log feature. | Werner Koch | 2007-11-19 | 1 | -0/+1 | |
| | | | | | | | | Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes. | |||||
* | New option --list-config for gpgconf. | Werner Koch | 2007-10-23 | 1 | -1/+1 | |
| | ||||||
* | Fixed card key generation of gpg2. | Werner Koch | 2007-07-05 | 1 | -5/+16 | |
| | | | | | Reveal less information about timings while generating a key. | |||||
* | Changed to GPLv3. | Werner Koch | 2007-07-04 | 1 | -4/+2 | |
| | | | | | Removed intl/. | |||||
* | Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵ | Werner Koch | 2007-06-21 | 1 | -103/+9 | |
| | | | | Windows. | |||||
* | A whole bunch of changes to allow building for Windows. | Werner Koch | 2007-06-14 | 1 | -1/+1 | |
| | | | | | See the ChangeLogs for details. | |||||
* | g10/ and sm/ | Werner Koch | 2007-04-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | * call-agent.c (start_agent): Don't use log_error when using the fallback hack to start the agent. This is bug 782. scripts/ * mail-to-translators: Copied from 1.4. and adjusted. tools/ * gpgconf-comp.c: Allow changing of --allow-mark-trusted. * gpg-connect-agent.c (main): New option --decode and commands decode and undecode. (read_and_print_response): Implement option. | |||||
* | Added LIBINTL to more Makefile targets. | Werner Koch | 2007-01-30 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | doc/ * com-certs.pem: Added the current root certifcates of D-Trust and S-Trust. g10/ * status.c (write_status_begin_signing): New. * sign.c (sign_file, sign_symencrypt_file): Call it. * textfilter.c (copy_clearsig_text): Call it. * call-agent.c (agent_scd_pksign): Pass --hash-rmd160 to SCD if required. * gpg.c (main): Let --no-use-agent and --gpg-agent-info print a warning. * misc.c (obsolete_option): New. | |||||
* | Fixed agent access for gpg. | Werner Koch | 2006-10-04 | 1 | -87/+121 | |
| | ||||||
* | Cleanups. | Werner Koch | 2006-09-20 | 1 | -119/+5 | |
| | ||||||
* | Take advantage of newer gpg-error features. | Werner Koch | 2006-09-14 | 1 | -8/+8 | |
| |