aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-09-30* gpgv.c (i18n_init): Always use LC_ALL.Werner Koch2-6/+3
* kbxutil.c (i18n_init): Always use LC_ALL. * gpgsm.c (i18n_init): Always use LC_ALL. * certdump.c (gpgsm_format_name): Factored code out to .. (gpgsm_format_name2): .. new. (gpgsm_print_name): Factored code out to .. (gpgsm_print_name2): .. new. (print_dn_part): New arg TRANSLATE. Changed all callers. (print_dn_parts): Ditto. (gpgsm_format_keydesc): Do not translate the SUBJECT; we require it to stay UTF-8 but we still want to filter out bad control characters. * gpgconf.c (i18n_init): Always use LC_ALL.
2004-09-30Preparing a new release. Updated gettextWerner Koch2-1/+5
2004-09-20(show_key_with_all_names): Print the card S/N.Werner Koch2-0/+25
* app-openpgp.c (app_select_openpgp): Its app_munge_serialno and not app_number_serialno.
2004-09-112004-09-11 Moritz Schulte <[email protected]>Moritz Schulte2-1/+5
* openfile.c (copy_options_file): Fixed last commit (added a `+').
2004-08-31Better take the length of SKELEXT into accountWerner Koch2-2/+4
2004-08-31* openfile.c (copy_options_file): Use gpg-conf.skelWerner Koch3-2/+7
* Makefile.am: Install options.skel as gpg-conf.skel.
2004-08-182004-08-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-3/+10
* passphrase.c (agent_get_passphrase):
2004-07-01* card-util.c (change_login): Kludge to allow reading data from aWerner Koch4-11/+146
file. (card_edit): Pass ARG_STRING to change_login. (card_status): Print CA fingerprints. (change_cafpr): New. (card_edit): New command CAFPR. * call-agent.h: Add members for CA fingerprints. * call-agent.c (agent_release_card_info): Invalid them. (learn_status_cb): Store them.
2004-04-30(main) <gpgconf>: Use gpg.conf and not /dev/null asWerner Koch2-2/+9
default filename.
2004-04-29* card-util.c (card_edit): Remove PIN verification.Werner Koch3-33/+33
(generate_card_keys): New arg SERIALNO. Do PIN verification here after resetting forced_chv1.
2004-04-26(change_name): Check that the NAME is not too long.Werner Koch2-0/+30
(change_url): Likewise. (change_login): Likewise.
2004-04-06* configure.ac: Require libgcrypt 1.1.94.Werner Koch3-12/+12
Introduce PACKAGE_GT and set it to gnupg2. * gpg-agent.c (main): Use new libgcrypt thread library register scheme. * Makevars (DOMAIN): Init from PACKAGE_GT
2004-03-23Make it workWerner Koch1-0/+1
2004-03-23* configure.ac: Define SAFE_VERSION_DASH and SAFE_VERSION_DOT>Werner Koch2-17/+124
* g10.c: New options --gpgconf-list, --debug-level and --log-file (set_debug): Add arg DEBUG_LEVEL. (main): Look at less and less version specific config files. From gnupg 1.3.
2004-02-18* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.Werner Koch3-2/+7
* passphrase.c (agent_open): Ditto.
2004-02-12* gpgv.c: Removed g10defs.h.Werner Koch5-13/+23
* Makefile.am: Include cmacros.am for common flags.
2004-01-192004-01-19 Moritz Schulte <[email protected]>Moritz Schulte2-6/+8
* keygen.c (do_generate_keypair): Don't try to execute certain pieces of code in case an error occured. (gen_card_key): Don't print out a message, which is already printed by do_generate_keypair().
2004-01-192004-01-19 Moritz Schulte <[email protected]>Moritz Schulte2-1/+6
* keygen.c (do_generate_keypair): Print member fname, instead of newfname, again.
2004-01-182004-01-18 Moritz Schulte <[email protected]>Moritz Schulte2-2/+7
* keygen.c (do_generate_keypair): Print member fname, instead of newfname.
2003-12-17* card-util.c (print_name): Fixed bad format string usage.Werner Koch6-35/+49
(print_isoname): Ditto. * trustdb.c (check_regexp): s/exp/expr/. * keyedit.c (trustsig_prompt): Removed a "> 255" term; it is always false due to the data type. * passphrase.c (agent_get_passphrase): Use xasprintf and avoid non-literal format strings. * tdbio.c (upd_hashtable, drop_from_hashtable, lookup_hashtable): Fixed log_error format string bugs. Kudos to the now working gcc-3.3 -Wformat-nonliteral and Florian Weimer's investigations in gnupg 1.2.3.
2003-12-16* seckey-cert.c (protect_secret_key): Use gry_create_nonce for theWerner Koch2-2/+7
IV; there is not need for real strong random here and it even better protect the random bits used for the key.
2003-11-162003-11-16 Moritz Schulte <[email protected]>Moritz Schulte1-0/+4
* signal.c: Removed unused file.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-0/+2
2003-11-102003-11-10 Moritz Schulte <[email protected]>Moritz Schulte2-1/+5
* Makefile.am (INCLUDES): Added: @LIBGCRYPT_CFLAGS@.
2003-10-25(learn_status_cb, scd_genkey_cb): Fixed faulty useWerner Koch2-5/+10
of !spacep().
2003-10-21* card-util.c (card_edit): New command "passwd". Add logic toWerner Koch6-21/+91
check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers. * call-agent.c (agent_scd_checkpin): New.
2003-10-08* call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch6-181/+119
structure, so that it can indeed be updated. * card-util.c (fpr_is_zero): New. (generate_card_keys): New. (card_edit): New command "generate". * keygen.c (generate_keypair): New arg CARD_SERIALNO, removed call to check_smartcard. (check_smartcard,show_smartcard): Removed. (show_sha1_fpr,fpr_is_zero): Removed. * app-openpgp.c (do_getattr): Support SERIALNO and AID.
2003-10-02Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch2-1/+11
2003-09-30* keylist.c (print_card_serialno): New.Werner Koch5-32/+153
(list_keyblock_print): Use it here. * card-util.c (toggle_forcesig): New. (card_edit): New command "forcesig". * card-util.c (print_name, print_isoname): Use 0 and not LF fro the max_n arg of tty_print_utf8_string2. * call-agent.c (agent_scd_getattr): New. (learn_status_cb): Release values before assignment so that it can be used by getattr to update the structure. * card-util.c (change_pin): Simplified. We now have only a PIN and an Admin PIN.
2003-09-30Minor fixesWerner Koch2-37/+5
2003-09-262003-09-26 Timo Schulz <[email protected]>Timo Schulz2-1/+6
* card_status (card_status): Do not use fputs since the fp parameter can be NULL. This fixes a segv.
2003-09-24(print_isoname,card_status): Handle opt.with_colons.Werner Koch2-49/+154
(print_sha1_fpr_colon): New.
2003-09-23Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch35-469/+1407
2003-09-222003-09-22 Timo Schulz <[email protected]>Timo Schulz2-0/+8
* card-util.c (card_status): Free pk in case of an error and return if the card is no OpenPGP card.
2003-09-19(parse_ccid_descriptor): New.Werner Koch1-2/+2
(read_device_info): New. (ccid_open_reader): Check that the device has all required features.
2003-09-18* g10.c: New command --card-edit.Werner Koch6-251/+420
* card-util.c (card_status): Use tty_fprintf for all output. (print_sha1_fpr, print_isoname): Ditto. (get_one_name,change_name, change_url, change_login,change_lang) (change_sex): New; taken from keygen.c. * keygen.c (smartcard_get_one_name, smartcard_change_name) (smartcard_change_url, smartcard_change_login_data) (smartcard_change_lang, smartcard_change_sex): Removed. (check_smartcard): Removed most menu items.
2003-09-06* configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch3-4/+11
* misc.c (openpgp_pk_algo_usage): Allow AUTH where SIGN is allowed. * keygen.c (ask_passphrase): No need to allocated S2K in secure memory. * scdaemon.c (main): --pcsc-driver again defaults to pcsclite. David Corcoran was so kind to remove the GPL incompatible advertisng clause from pcsclite. * apdu.c (apdu_open_reader): Actually make pcsc-driver option work.
2003-09-05* keygen.c (do_add_key_flags, parse_parameter_usage)Werner Koch4-17/+44
(do_generate_keypair): Add support the proposed AUTH key flag. * getkey.c (fixup_uidnode, merge_selfsigs_main) (merge_selfsigs_subkey, premerge_public_with_secret): Ditto. * keylist.c (print_capabilities): Ditto.
2003-09-02* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch2-0/+13
* scdaemon.c, scdaemon.h: New option --pcsc-ccid. * ccid-driver.c, ccid-driver.h: New but far from being useful. * Makefile.am: Add above. * apdu.c: Add support for that ccid driver.
2003-08-252003-08-25 Timo Schulz <[email protected]>Timo Schulz2-33/+25
* pkglue.c (mpi_from_sexp): New. Used to factor out some common code.
2003-08-18 * mdc.c (use_mdc): Simplified.Timo Schulz2-22/+20
2003-08-182003-08-18 Timo Schulz <[email protected]>Timo Schulz3-51/+66
* encode.c (encode_sesskey): Checked the code and removed the warning since all compatibility checks with PGP succeeded. * mainproc.c (symkey_decrypt_sesskey): Better check for the algorithm and check the return values of some functions.
2003-08-07(pk_sign): Fix last change.Werner Koch2-8/+49
(pk_verify): Check for valid DATA array so that we don't segv in Libgcrypt. (pk_verify): Ditto.
2003-08-05Cleanups, fixes and PC/SC supportWerner Koch8-343/+84
2003-07-29* gpgsm.c (main): Add secmem features and set the random seed file.Werner Koch8-260/+518
(gpgsm_exit): Update the random seed file and enable debug output. * g10.c (main): Add secmem features and set the random seed file. (g10_exit): Update the random seed file. * parse-packet.c (parse_signature,read_protected_v3_mpi) (parse_key): Fixed use of mpi_set_opaque. * keygen.c (gen_card_key): Ditto.
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch11-42/+44
2003-07-24* g10.c: New command --card-status.Werner Koch10-13/+253
* card-util.c (card_status): New. * call-agent.c (learn_status_cb): Parse more information. * keylist.c (print_pubkey_info): Add FP arg for optinal printing to a stream. Changed all callers.
2003-07-23* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.Werner Koch10-20/+272
(do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly.
2003-07-16* export.c (parse_export_options): New option sexp-format.Werner Koch6-30/+199
(export_seckeys,export_secsubkeys): Check sexp-format option. (do_export): Ignore armor for sexp format. (do_export_stream): Handle sexp-format. (write_sexp_line,write_sexp_keyparm, build_sexp_seckey): New. (build_sexp): New.
2003-07-03* options.h (DBG_CIPHER): Reintroduced it.Werner Koch13-202/+422
* seskey.c (encode_session_key): Debug output of the session key. * pubkey-enc.c (get_it): Handle card case. * call-agent.c (agent_scd_pkdecrypt): New. * pkglue.c (pk_encrypt): Add RSA support. * g10.c (main): Default to --use-agent. * keygen.c (show_smartcard): Print info about the public key. (check_smartcard): Check for existing key here. (gen_card_key): And not anymore here. (fpr_is_zero): New. (generate_keypair): Generate both keys for a card. (smartcard_change_url): Nw.