summaryrefslogtreecommitdiffstats
path: root/g10 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor tweaksV1-9-14Werner Koch2004-12-221-7/+7
|
* * gpg-agent.c (main): Use default_homedir().Werner Koch2004-12-213-18/+8
| | | | | | | | | | | | | | | | | | | * protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-184-1/+14
|
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-151-0/+2
|
* Compile fixes.Werner Koch2004-10-224-8/+41
|
* Updated from 1.3Werner Koch2004-10-221-130/+489
|
* * gpgv.c (i18n_init): Always use LC_ALL.Werner Koch2004-09-302-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.
* Preparing a new release. Updated gettextWerner Koch2004-09-302-1/+5
|
* (show_key_with_all_names): Print the card S/N.Werner Koch2004-09-202-0/+25
| | | | | | * app-openpgp.c (app_select_openpgp): Its app_munge_serialno and not app_number_serialno.
* 2004-09-11 Moritz Schulte <moritz@g10code.com>Moritz Schulte2004-09-112-1/+5
| | | | | * openfile.c (copy_options_file): Fixed last commit (added a `+').
* Better take the length of SKELEXT into accountWerner Koch2004-08-312-2/+4
|
* * openfile.c (copy_options_file): Use gpg-conf.skelWerner Koch2004-08-313-2/+7
| | | | | * Makefile.am: Install options.skel as gpg-conf.skel.
* 2004-08-18 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2004-08-182-3/+10
| | | | | * passphrase.c (agent_get_passphrase):
* * card-util.c (change_login): Kludge to allow reading data from aWerner Koch2004-07-014-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.
* (main) <gpgconf>: Use gpg.conf and not /dev/null asWerner Koch2004-04-302-2/+9
| | | | | default filename.
* * card-util.c (card_edit): Remove PIN verification.Werner Koch2004-04-293-33/+33
| | | | | | (generate_card_keys): New arg SERIALNO. Do PIN verification here after resetting forced_chv1.
* (change_name): Check that the NAME is not too long.Werner Koch2004-04-262-0/+30
| | | | | | (change_url): Likewise. (change_login): Likewise.
* * configure.ac: Require libgcrypt 1.1.94.Werner Koch2004-04-063-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
* Make it workWerner Koch2004-03-231-0/+1
|
* * configure.ac: Define SAFE_VERSION_DASH and SAFE_VERSION_DOT>Werner Koch2004-03-232-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.
* * call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.Werner Koch2004-02-183-2/+7
| | | | | * passphrase.c (agent_open): Ditto.
* * gpgv.c: Removed g10defs.h.Werner Koch2004-02-125-13/+23
| | | | | * Makefile.am: Include cmacros.am for common flags.
* 2004-01-19 Moritz Schulte <mo@g10code.com>Moritz Schulte2004-01-192-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-19 Moritz Schulte <mo@g10code.com>Moritz Schulte2004-01-192-1/+6
| | | | | | * keygen.c (do_generate_keypair): Print member fname, instead of newfname, again.
* 2004-01-18 Moritz Schulte <mo@g10code.com>Moritz Schulte2004-01-182-2/+7
| | | | | | * keygen.c (do_generate_keypair): Print member fname, instead of newfname.
* * card-util.c (print_name): Fixed bad format string usage.Werner Koch2003-12-176-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.
* * seckey-cert.c (protect_secret_key): Use gry_create_nonce for theWerner Koch2003-12-162-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-16 Moritz Schulte <mo@g10code.com>Moritz Schulte2003-11-161-0/+4
| | | | | * signal.c: Removed unused file.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-121-0/+2
|
* 2003-11-10 Moritz Schulte <mo@g10code.com>Moritz Schulte2003-11-102-1/+5
| | | | | * Makefile.am (INCLUDES): Added: @LIBGCRYPT_CFLAGS@.
* (learn_status_cb, scd_genkey_cb): Fixed faulty useWerner Koch2003-10-252-5/+10
| | | | | of !spacep().
* * card-util.c (card_edit): New command "passwd". Add logic toWerner Koch2003-10-216-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.
* * call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch2003-10-086-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.
* Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch2003-10-022-1/+11
|
* * keylist.c (print_card_serialno): New.Werner Koch2003-09-305-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.
* Minor fixesWerner Koch2003-09-302-37/+5
|
* 2003-09-26 Timo Schulz <twoaday@freakmail.de>Timo Schulz2003-09-262-1/+6
| | | | | | * card_status (card_status): Do not use fputs since the fp parameter can be NULL. This fixes a segv.
* (print_isoname,card_status): Handle opt.with_colons.Werner Koch2003-09-242-49/+154
| | | | | (print_sha1_fpr_colon): New.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-2335-469/+1407
|
* 2003-09-22 Timo Schulz <twoaday@freakmail.de>Timo Schulz2003-09-222-0/+8
| | | | | | * card-util.c (card_status): Free pk in case of an error and return if the card is no OpenPGP card.
* (parse_ccid_descriptor): New.Werner Koch2003-09-191-2/+2
| | | | | | (read_device_info): New. (ccid_open_reader): Check that the device has all required features.
* * g10.c: New command --card-edit.Werner Koch2003-09-186-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.
* * configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch2003-09-063-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.
* * keygen.c (do_add_key_flags, parse_parameter_usage)Werner Koch2003-09-054-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.
* * configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch2003-09-022-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-25 Timo Schulz <twoaday@freakmail.de>Timo Schulz2003-08-252-33/+25
| | | | | | * pkglue.c (mpi_from_sexp): New. Used to factor out some common code.
* * mdc.c (use_mdc): Simplified.Timo Schulz2003-08-182-22/+20
|
* 2003-08-18 Timo Schulz <twoaday@freakmail.de>Timo Schulz2003-08-183-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.
* (pk_sign): Fix last change.Werner Koch2003-08-072-8/+49
| | | | | | | (pk_verify): Check for valid DATA array so that we don't segv in Libgcrypt. (pk_verify): Ditto.
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-058-343/+84
|