aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-12-14automake updates, removed one debug outputV1-3-93Werner Koch2-1/+2
2004-12-14Prepared for last 1.4 release candidateWerner Koch4-82/+95
2004-12-13(read_passphrase_from_fd): Fixed memory leak.Werner Koch2-1/+9
Noted by Andrei Darashenka.
2004-12-12* keyserver.c (parse_preferred_keyserver): Force preferred keyserverDavid Shaw2-1/+6
subpackets to have a URI scheme specified.
2004-12-11* options.h, g10.c (main), textfilter.c (standard): Use --rfc2440 orDavid Shaw5-6/+11
--openpgp directly to determine the end of line hashing rule. * trustdb.c (uid_trust_string_fixed): Show uids as expired if the key is expired.
2004-12-10* app-openpgp.c (send_fprtime_if_not_null): New.Werner Koch5-2/+65
(do_getattr): Add KEY_TIME. (do_learn_status): Print KEY_TIME. * cardglue.c (learn_status_cb): Parse KEY-TIME. * card-util.c (card_status): Print creation time if available.
2004-12-10* options.h, g10.c (main), textfilter.c (len_without_trailing_ws): RemovedDavid Shaw4-11/+35
(not used). (standard): 2440 says that textmode hashes should canonicalize line endings to CRLF and remove spaces and tabs. 2440bis-12 says to just canonicalize to CRLF. So, we default to the 2440bis-12 behavior, but revert to the strict 2440 behavior if the user specifies --rfc2440. In practical terms this makes no difference to any signatures in the real world except for a textmode detached signature.
2004-12-09* passphrase.c (agent_get_passphrase): New args CUSTOM_PROMPT andWerner Koch6-66/+235
CUSTOM_DESCRIPTION. Changed all callers. * app-openpgp.c (do_getattr, do_learn_status, do_setattr): Support the new private DOs. (do_change_pin): Add a "N" prefix to the strings so that the callback can act accordingly for a new PIN. Unfortunately this breaks existing translations but I see no wother way to overvome this. * cardglue.c (learn_status_cb): Ditto. (agent_release_card_info): Ditto. (struct pin_cb_info_s): Removed and changed all users. (pin_cb): Reworked. * card-util.c (card_status): Print them (card_edit): New command PRIVATEDO. (change_private_do): New.
2004-12-09* keygen.c (ask_algo): Add a choose-your-own-capabilities option for DSA.David Shaw2-8/+20
2004-12-07* keygen.c (ask_keysize): Change strings to always use %u instead ofDavid Shaw2-57/+69
hardcoding key sizes. Bump default to 2048. Bump minimum down to 512, where possible, but require --expert to get there. DSA is always 1024 unless --expert is given.
2004-11-29* getkey.c (parse_key_usage): New function to parse out key usage flags.David Shaw2-51/+80
Set PUBKEY_USAGE_UNKNOWN to handle flags that we don't understand. (fixup_uidnode, merge_selfsigs_main, merge_selfsigs_subkey): Call it from here to remove duplicate code.
2004-11-26* export.c (do_export_stream): Allow export-minimal to work with secretDavid Shaw2-4/+11
keys, even though a non-selfsig secret key signature is rare.
2004-11-26* options.h, export.c (parse_export_options, do_export_stream), import.cDavid Shaw5-19/+32
(parse_import_options, import_keys_internal): Make the import-options and export-options distinct since they can be mixed together as part of keyserver-options.
2004-11-25* options.h, export.c (parse_export_options, do_export_stream): AddDavid Shaw3-23/+45
"export-minimal" option to disregard any sigs except selfsigs.
2004-11-25* trustdb.c (uid_trust_string_fixed): Use a string that can be atoi-ed,David Shaw2-3/+7
but also has a comment for the translator.
2004-11-24* trustdb.h, trustdb.c (uid_trust_string_fixed): New. Return a fixed-sizeDavid Shaw6-29/+58
translatable string similar to trust_value_to_string. This allows for easier lining up of displays. * keyedit.c (show_key_with_all_names), keylist.c (list_keyblock_print): Use it here to print validity strings. * gpgv.c: Stub.
2004-11-18(S_IRGRP) [HAVE_DOSISH_SYSTEM]: Define to 0.Werner Koch2-1/+8
2004-11-17(open_info_file): New.Werner Koch6-85/+221
(main): Unconditionally implement --status-file, --logger-file, --attribute-file, --passphrase-file, --command-file. This is not generally useful but easy to support and might make scripting under Windows easier.
2004-11-04* plaintext.c (handle_plaintext): Don't try and create a zero-lengthDavid Shaw5-18/+31
filename when using --use-embedded-filename with input that has no filename (clearsigned or message generated from a pipe). * encode.c (encode_simple, encode_crypt), progress.c (handle_progress), sign.c (write_plaintext_packet): Fix a few inconsistent calls (NULL filename means a pipe here, so don't bother to check it twice).
2004-11-03* misc.c (print_digest_algo_note): The latest 2440bis drafts deprecatesDavid Shaw2-35/+39
MD5, so give a warning. (print_pubkey_algo_note, print_cipher_algo_note, print_digest_algo_note): Give the algorithm name in the experimental algo warning.
2004-11-032004-11-03 Timo Schulz <[email protected]>Timo Schulz3-64/+83
* strgutil.c (w32_strerror): New. * ttyio.c (init_ttyfp, tty_printf, do_get): Use it here. * iobuf.c (fd_cache_open, file_filter): Likewise. (iobuf_seek, translate_file_handle): Likewise.
2004-10-28* skclist.c (build_sk_list): Don't need to warn about PGP-generatedDavid Shaw6-52/+78
Elgamal signing keys since we no longer support any Elgamal signing keys. * sign.c (sign_file, clearsign_file): Use "writing to" instead of "writing to file" to match other strings. * pkclist.c (check_signatures_trust): Fix typo. Noted by Moray Allan. This is Debian bug #278708. * passphrase.c (ask_passphrase, passphrase_to_dek): "password" -> "passphrase". * keyedit.c (show_key_with_all_names): Show designated revoker as part of translatable string.
2004-10-28Inlcude LIBICONVWerner Koch2-1/+7
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.