aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-10-28About to release 1.3.92Werner Koch3-3/+9
2004-10-28* card-util.c, delkey.c, keygen.c, plaintext.c, keyedit.c, passphrase.c,David Shaw8-19/+27
revoke.c: Collapse the two different "can't do that in batch mode" strings into one.
2004-10-28* keylist.c (status_one_subpacket): New. Send the subpacket data to theDavid Shaw6-84/+116
--status interface. * card-util.c (card_edit): Show when admin is enabled or not. * status.h, status.c: New STATUS_SIG_SUBPACKET type. * build-packet.c (build_sig_subpkt): Multiple keyserver URLs are allowed.
2004-10-28* keyring.c: Make some strings translatable.David Shaw4-25/+34
* exec.c, sign.c: Change "can't open file" to "can't open" and "can't create file" to "can't create" to be consistent with other strings so we don't have to translate both.
2004-10-28* delkey.c, export.c, keyedit.c, pkclist.c, revoke.c, skclist.c: Fix a fewDavid Shaw7-33/+48
missed possible \"username\" quotes.
2004-10-26(verify_chv3): The minimum length for CHV3 isWerner Koch1-3/+3
8. Changed string to match the other ones.
2004-10-26(agent_send_all_options): Try to deduce the ttynameWerner Koch3-5/+43
from stdin.
2004-10-21* options.h, g10.c (main), mainproc.c (check_sig_and_print): RenameDavid Shaw5-8/+17
verify-option show-validity to show-uid-validity to match the similar list-option. * app-openpgp.c (verify_chv3): Fix typo.
2004-10-21* configure.ac: Remove the check for asprintfWerner Koch4-4/+26
* app-common.h (app_openpgp_storekey: Add prototype. * app-openpgp.c (do_sign): Replace asprintf by direct allocation. This avoids problems with missing vasprintf implementations. * card-util.c (generate_card_keys): Add a #warning for gnupg 1.9 and use the same string there. * util.h [!HAVE_VASPRINTF]: Removed prototype. * vasprintf.c: Removed. It was used only at one place and I don't want to get into build problems in 1.4.
2004-10-21* g10.c (parse_list_options): Fix non-constant initializer so we can buildDavid Shaw2-11/+11
with C89.
2004-10-20* apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion.Werner Koch8-47/+493
(pcsc_get_status): Implemented. (reset_pcsc_reader): Implemented. (open_pcsc_reader): Succeed even with no card inserted. (open_ccid_reader): Set LAST_STATUS. * iso7816.c (iso7816_select_application): Always use 0 for P1.
2004-10-17(agent_get_passphrase): Cast UIDLEN to int. NotedWerner Koch2-3/+8
by Christian Cornelssen.
2004-10-16* parse-packet.c (parse_one_sig_subpkt, enum_sig_subpkt): Don't BUG() onDavid Shaw2-10/+12
unknown subpackets. Rather, just return them silently.
2004-10-15* README: Mentioned --enable-selinux-support.Werner Koch8-17/+52
* status.h (STATUS_NEED_PASSPHRASE_PIN): New. * status.c (get_status_string): Added. * passphrase.c (ask_passphrase): Moved status printing to .. * cardglue.c (pin_cb): .. here and issue new status message. * keyedit.c (sign_uids): Don't include the leading LF in the translatable string but print them separately. * apdu.c (apdu_open_remote_reader) [_WIN32]: We don't have ENOSYS.
2004-10-15* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.Werner Koch2-32/+115
(AUTOMAKE_OPTIONS): New. * configure.ac: Check whether vasprintf needs a replacement. * app-openpgp.c (parse_login_data): New. (app_select_openpgp): Call it. (do_setattr): Reparse it after change. * Makefile.am: Add ksutil.h.
2004-10-15* pkclist.c (do_edit_ownertrust): Add a note to translators.Werner Koch4-2/+31
* keygen.c (ask_user_id): Ditto. * helptext.c: Typo fix.
2004-10-14another s/unsigned char*/byte*/Werner Koch2-3/+5
2004-10-14* keylist.c (list_keyblock_print): Show the fingerprint after the key, notDavid Shaw4-102/+104
after the first user ID. * keyedit.c (show_key_with_all_names): Don't show validity if we're just printing user IDs for signing. * armor.c (fake_packet): Properly handle the case where the line is dash-space (i.e. a blank line that was quoted). Give a warning for bad dash escaping.
2004-10-14* export.c (do_export_stream) [ENABLE_SELINUX_HACKS]: Don't allowWerner Koch3-0/+23
secret key export. * import.c (import_secret_one) [ENABLE_SELINUX_HACKS]: Likewise
2004-10-14* misc.c (is_secured_filename): New.Werner Koch11-36/+159
* keydb.c (maybe_create_keyring) * tdbio.c (tdbio_set_dbname) * plaintext.c (handle_plaintext) * openfile.c (copy_options_file, open_outfile) * exec.c (exec_write) * keygen.c (do_generate_keypair, gen_card_key_with_backup) * sign.c (sign_file, clearsign_file) * keyring.c (create_tmp_file, do_copy): Check for secured files before creating them. * keygen.c (print_status_key_created): s/unsigned char/byte/ due to a strange typedef for RISC OS. Noted by Stefan.
2004-10-13* armor.c (fake_packet): Allow arbitrary dash-escaped lines as perDavid Shaw2-20/+22
2440bis-10. This is bug #158.
2004-10-13* keyserver.c (keyserver_work): Handle keyserver timeouts.David Shaw2-0/+6
2004-10-13Added SELInux hacks and did some cleanups.Werner Koch20-46/+395
2004-10-13* pkclist.c (do_edit_ownertrust): Different prompt when we're using directDavid Shaw6-32/+73
trust since the meaning is different. * keyedit.c (trustsig_prompt): Change the strings to match the ones in pkclist.c:do_edit_ownertrust to make translation easier. * trustdb.c (trust_model_string, get_validity): Add direct trust model which applies to the key as a whole and not per-uid. * options.h, g10.c (parse_trust_model): New. (main): Call it from here to do string-to-trust-model.
2004-10-13* configure.ac: Actually name the option --disable-finger and notWerner Koch7-13/+24
http. * openfile.c (overwrite_filep, make_outfile_name, open_outfile) (open_sigfile): Use iobuf_is_pipe_filename to check for pipes so that special filesnames are taken into account. This is bug 327. * tdbdump.c (import_ownertrust): Ditto. * sign.c (write_plaintext_packet): Ditto. * progress.c (handle_progress): Ditto. * plaintext.c (handle_plaintext): Ditto. * encode.c (encode_simple, encode_crypt): Ditto. * iobuf.c (iobuf_is_pipe_filename): New. * fileutil.c (is_file_compressed): Use it here.
2004-10-13 * keygen.c (read_parameter_file): New keyword "Handle". This isWerner Koch4-25/+68
bug 287. (print_status_key_not_created): New. (print_status_key_created): Add new arg HANDLE. (do_generate_keypair): Print not created status. * status.c, tatus.h (STATUS_KEY_NOT_CREATED): New.
2004-10-12(read_parameter_file): Changed to use iobuf based fileWerner Koch2-18/+24
reading to allow the special file name feature to work.
2004-10-11* pkclist.c (do_edit_ownertrust): Use the same translated string forDavid Shaw8-27/+51
showing the user ID as mainproc.c:print_pkenc_list. * mainproc.c (print_pkenc_list): Allow translating the quotes around the user ID. * card-util.c, g10.c, photoid.c, trustdb.c: The last of the \"%s\" -> `%s' quoting for things that aren't user IDs. * keyserver.c (keyserver_spawn): If there is no keyserver host, print the whole URI since it is self-contained.
2004-10-11* configure.ac: New option --disable-finger.Werner Koch5-29/+376
* keyserver.c (keyserver_spawn): Print an empty string in log_info if the host is not set (e.g. finger). * gpgkeys_finger.c: New.
2004-10-10* card-util.c, keyedit.c, openfile.c, pkclist.c, delkey.c, keygen.c,David Shaw9-47/+69
photoid.c, revoke.c: Some yes-or-no prompts end in "(y/n)". Some don't. Consistently use y/n everywhere.
2004-10-10* keygen.c (ask_key_flags): New. (ask_algo): Call it here in --expert modeDavid Shaw2-30/+101
so we don't need to specify each possible variation of RSA capabilities.
2004-10-10* keygen.c (do_add_key_flags): The spec says that all primary keys MUST beDavid Shaw2-6/+10
able to certify. Force the certify flag on for primaries (and off for subkeys).
2004-10-10* keygen.c (generate_keypair): Fix generating keys with the auth flag.David Shaw2-3/+9
2004-10-08* encr-data.c (decrypt_data): Give a warning with a weak key, but stillDavid Shaw2-5/+15
allow to decrypt the message.
2004-10-07* pkclist.c (build_pk_list): Keystrify.David Shaw3-33/+56
* mainproc.c (check_sig_and_print), pkclist.c (do_edit_ownertrust): Improve translatability of user ID prompts.
2004-10-06* helptext.c, pkclist.c (do_we_trust): It is not possible to get here withDavid Shaw5-137/+87
a revoked or expired key, so BUG() that case. Remove question about overriding revoked/expired. Also --keyid-format-ify. (do_we_trust_pre): Use print_pubkey_info() instead of printing the info ourselves. * passphrase.c (passphrase_to_dek): Improve translatability of user ID prompts. * keylist.c (print_pubkey_info): Use the user ID the pk was selected by, if any.
2004-10-06* keyedit.c (sign_uids, ask_revoke_sig): Improve translatability of userDavid Shaw2-23/+32
ID prompts. (ask_revoke_sig, menu_revsig): Try and use common strings for these two functions so they don't need to be translated twice.
2004-10-06* keyedit.c, keylist.c, keyserver.c, mainproc.c: TheDavid Shaw5-21/+74
revoked/expired/expires string change of 2004-09-29 was too simple. Use two styles for each tag.
2004-10-05* passphrase.c (agent_get_passphrase): Use keystrs for agent strings, andDavid Shaw4-29/+37
fix sprintf warnings. * keyserver.c (keyserver_spawn): Fix BUG() with certain sets of mixed regular and preferred keyserver refreshes. Noted by Sebastian Wiesinger. * keyedit.c (show_key_with_all_names): Show uid validity in menu.
2004-10-042004-10-03 Timo Schulz <[email protected]>Timo Schulz2-0/+6
* apdu.c (apdu_open_remote_reader) [_WIN32]: Do not set ENOSYS.
2004-10-04* keyedit.c (print_and_check_one_sig_colon): Fix bad keyids in colonDavid Shaw2-10/+21
delsig output. Noted by Peter Palfrader. (show_prefs): Do not reference missing selfsig. Noted by Alex Moroz.
2004-10-01* gpgv.c (i18n_init): Always use LC_ALL.V1-3-90Werner Koch2-6/+5
* bftest.c (i18n_init): Always use LC_ALL. * shmtest.c (i18n_init): Ditto. * mpicalc.c (i18n_init): Ditto.
2004-10-01* mk-w32-dist: Updated from stable branch.Werner Koch2-1/+5
* mk-gpg-texi: Changed to use the newer docbook2x-texi utility. * config.guess, config.sub, mkinstalldirs, missing * depcomp, install-sh: Upgraded.
2004-09-30* gpgv.c, keydb.c (keydb_add_resource): Factored keyring creation out toDavid Shaw4-52/+136
.. (maybe_create_keyring): .. new. Make sure that we do the checks in a locked state. Problem reported by Stefan Haller. Try to create the home directory before acquiring a lock for the keyring. From Werner on stable branch. * g10.c (main): Blow up if we didn't lose setuid. From Werner on stable branch.
2004-09-29* keyedit.c, keylist.c, keyserver.c, mainproc.c: Reduce the manyDavid Shaw5-24/+33
variations of "revoked" ("revoked", "[revoked]", " [revoked]", "[revoked] ") "and" expired down to two to simplify translation.
2004-09-29* keyedit.c (print_and_check_one_sig): Account for the extra space thatDavid Shaw2-16/+9
show-sig-expire takes up so we do not wrap lines. (show_key_with_all_names): No need to show subkey revocations as a seperate line since we now show revocation date in the main subkey line.
2004-09-28* signal.c (got_fatal_signal): HAVE_DECL_SYS_SIGLIST is defined, but zeroDavid Shaw3-4/+12
if not found. Noted by John Clizbe. * keyserver.c (parse_keyrec): Fix problem with non-expiring keys appearing expired in --search-keys results.
2004-09-27* card-util.c (card_edit): Take admin only status from the table.Werner Koch3-53/+93
* app-openpgp.c: Made all strings translatable. (verify_chv3) [GNUPG_MAJOR_VERSION]: Make opt.allow_admin available for use in gnupg 2. (verify_chv3): Reimplemented countdown showing to use only functions from this module. Flush the CVH status cache on a successful read. (get_one_do): Hack to bypass the cache for cards versions > 1.0. (store_fpr): Store the creation date for card version > 1.0.
2004-09-27We need to take care that several files are also used in gnupg 1.9 andWerner Koch2-42/+68
there by the scdaemon which is a bit different to the direct integration in gpg 1.3. In general they should all be maintained in 1.9 but while preparing 1.4 its okay to do it in 1.3. We just need to take some care not to break 1.9 to heavily. app-openpgp.c: Made all strings translatable. (verify_chv3) [GNUPG_MAJOR_VERSION]: Make opt.allow_admin available for use in gnupg 2. (verify_chv3): Reimplemented countdown showing to use only functions from this module.
2004-09-25* main.h, g10.c (main), card-util.c (change_pin): If "admin" has not beenDavid Shaw6-94/+143
issued, skip right to the CHV1/CHV2 PIN change. No need to show the unblock or admin PIN change option. (card_edit): Add "admin" command to add admin commands to the menu. Do not allow admin commands until "admin" is given. * app-openpgp.c (verify_chv3): Show a countdown of how many wrong admin PINs can be entered before the card is locked. * options.h, g10.c (main), app-openpgp.c (verify_chv3): Remove --allow-admin.