aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix regression in logging.Werner Koch2010-08-181-81/+84
| | | | | | Add a registry key to enable catch-all remote debugging for W32. Replace more stdio stuff by estream.
* Avoid using the protect-tool to import pkcs#12.Werner Koch2010-06-171-4/+0
|
* Decryption and signi via agent is now implemented.Werner Koch2010-04-231-16/+7
|
* ./autogen.sh --build-w32ce does now succeed.Werner Koch2010-04-141-5/+9
|
* Use gpg_err_set_errno to assign values to ERRNO.Werner Koch2010-04-011-4/+4
|
* More chnages to use estream. Add a way to replace the standardWerner Koch2010-03-221-1/+1
| | | | | descriptors.
* Finished the bulk of changes to use estream in most places instead ofWerner Koch2010-03-151-12/+14
| | | | | stdio.
* Use a custom log handler for libassuan.Werner Koch2010-03-111-1/+2
|
* Add dummu option --passwd for gpg.Werner Koch2010-01-081-44/+35
| | | | | Collected changes.
* Implement --faked-systrem-time for gpg.Werner Koch2009-12-171-0/+22
| | | | | Typo and comment fixes.
* allow for default algorithms in a gpg parameter fileWerner Koch2009-12-041-2/+2
|
* support numeric debug levels.Werner Koch2009-12-031-6/+33
|
* Add gpgconf related dummy options default_pubkey_algo.Werner Koch2009-11-231-0/+13
| | | | | | Add option --skip-hidden-recipients Comment updates.
* Implement the server comamnd DECRYPT.Werner Koch2009-10-021-4/+2
| | | | | | | Use int instead of gnupg_fd_t in the server. Comment fixes. Rename encr-data.c -> decrypt-data.c
* Some changes to suport g13.Werner Koch2009-09-301-5/+4
|
* Rename encode.c to encrypt.c.Werner Koch2009-09-281-6/+6
| | | | | | Rename function in a simlar way. Re-indent encrypt.c
* 2009-09-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-09-231-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 for the keysize when generating a new card key.Werner Koch2009-08-051-0/+1
|
* * gpg.c (main): --pgp6 includes --disable-mdc.David Shaw2009-07-311-0/+1
|
* Print verbose instructions in case of a corrupted trustdb.Werner Koch2009-07-221-4/+2
|
* Make bug reporting address easier changeable.Werner Koch2009-07-211-3/+1
|
* Changed default hash algorithm preferencesWerner Koch2009-07-091-5/+0
|
* Reworked passing of envars to Pinentry.Werner Koch2009-07-071-4/+30
|
* Add full Camellia support.David Shaw2009-06-051-11/+1
| | | | | | | | | | | | | | | | | | * configure.ac: Remove Camellia restriction. * gpg.c (main), misc.c (openpgp_cipher_test_algo): Remove Camellia restriction. * misc.c (map_cipher_openpgp_to_gcry), main.h: Add macros for openpgp_cipher_open, openpgp_cipher_get_algo_keylen, and openpgp_cipher_get_algo_blklen to wrap around the corresponding gcry_* functions, but pass the algorithm number through map_cipher_openpgp_to_gcry. This is needed in case the gcry algorithm number doesn't match the OpenPGP number (c.f. Camellia). * encr-data.c, pubkey-enc.c, mainproc.c, cipher.c, encode.c, seskey.c, passphrase.c, seckey-cert.c: Use new openpgp_cipher_* macros here.
* Fixed bug#1044. Use of --fingerprint with --with-fingerprint. Werner Koch2009-05-201-6/+14
|
* 2009-05-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-05-151-1/+0
| | | | | | * gpg.c (gpgconf_list): Remove dead entry "allow-pka-lookup" (a verify option for a couple of years now).
* Ported changes from 1.4.Werner Koch2009-04-011-1/+1
|
* Move password repetition from gpg to gpg-agent.Werner Koch2009-03-171-3/+3
|
* * gpg.c (my_strusage): gpg2 and gpgv2 (not gpg and gpgv).David Shaw2009-03-151-3/+3
| | | | | * gpgv.c (my_strusage): Same.
* Make gpg not depend on the RIPE-MD160 implementaion in Libgcrypt.Werner Koch2008-12-111-2/+4
| | | | | Fix SIG_ID computation.
* Minor bug fix.Werner Koch2008-12-091-4/+4
|
* Minor fixes.Werner Koch2008-12-091-11/+17
|
* Print library versions according to GNU standards.Werner Koch2008-11-181-51/+30
|
* Cleaned up unused gpgsm and gpg options.Werner Koch2008-11-131-7/+8
|
* Made arg_parse more readable.Werner Koch2008-11-121-345/+376
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-0/+2
|
* Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch2008-09-291-16/+7
|
* Revert that last stupid setuid detection fix. Werner Koch2008-07-171-2/+2
|
* Do not run the setuid test if running under as root proper.Werner Koch2008-07-171-3/+3
| | | | | | Documentation fixes. Some enhancements for the new OpenPGP Card.
* g10/Marcus Brinkmann2008-06-251-14/+0
| | | | | | | | | | | | | | | | | | | | | | 2008-06-25 Marcus Brinkmann <[email protected]> * gpg.c (enum cmd_and_opt_values): Remove option oEnableW32HandleTranslation. (opts): Remove option --enable-w32-handle-translation. (main): Remove variable w32_handle_translation. common/ 2008-06-25 Marcus Brinkmann <[email protected]> Revert last three changes related to handle translation. * sysutils.c: (FD_TRANSLATE_MAX, fd_translate, fd_translate_len) (translate_table_init, translate_table_lookup): Removed. * iobuf.c (check_special_filename): Do not use translate_table_lookup. * sysutils.h (translate_table_init, translate_table_lookup): Remove prototypes.
* Robustness fix.Werner Koch2008-06-191-1/+1
| | | | | Add group to the --gpgconf-list.
* 2008-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-06-181-0/+14
| | | | | | | | | * gpg.c (enum cmd_and_opt_values): New option oEnableW32HandleTranslation. (opts): New option --enable-w32-handle-translation. (main): New variable w32_handle_translation to keep track of option.
* Made --fixed-list-mode obsolete.Werner Koch2008-06-111-1/+1
|
* Add command --locate-key.Werner Koch2008-05-071-3/+21
| | | | | Fix auto-key-locate processing of "nodefault".
* If there are multiple 0x19 backsigs, take the most recent one. (from 1.4).Werner Koch2008-04-161-0/+3
| | | | | add log-file and debug-level to the --gpgconf-list.
* Enhanced --auto-key-locate.Werner Koch2008-04-081-0/+3
|
* disable DSA2 for old Libgcrypts.Werner Koch2008-04-021-0/+9
|
* 2008-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-02-091-44/+63
| | | | | | | | * gpg.c (main): New variable default_configname. Use it if save_configname is NULL (can happen if default configfile does not exist). Move default configname determination to ... (get_default_configname): ... this new function.
* Add --logger-fd alias.Werner Koch2008-01-261-0/+1
| | | | | Ass card vendor 004.
* Preparing a release candidate.gnupg-2.0.8rc1Werner Koch2007-12-141-1/+4
|