aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (card_close): New.V1-3-3Werner Koch2003-10-103-1/+19
| | | | | (agent_scd_change_pin): Implemented.
* About to release 1.3.3Werner Koch2003-10-104-1018/+1151
|
* Updated texinfo filesWerner Koch2003-10-101-58/+187
|
* * cardglue.c (card_close): New.Werner Koch2003-10-108-12/+139
| | | | | | | | | * ccid-driver.c (ccid_close_reader): New. * apdu.c (close_ccid_reader, close_ct_reader, close_csc_reader) (close_osc_reader, apdu_close_reader): New. Not all are properly implemented yet. * g10.c (g10_exit): Use close_card.
* Add news about OpenPGP card support.Werner Koch2003-10-101-0/+4
|
* * primegen.c (gen_prime): Bail out if we try to generate a primeWerner Koch2003-10-105-4/+19
| | | | | | | with less than 16 bits. Include i18n.h. * POTFILES.in (cipher/primegen.c): Added.
* * NEWS: Note multiple Comment: support and --sig-keyserver-url.David Shaw2003-10-102-4/+14
|
* * g10.c (main): Give a deprecated option warning for --show-keyring,David Shaw2003-10-104-13/+73
| | | | | | | | | | | --show-photos, --show-policy-url, --show-notation, and their respective no- forms. * options.skel: Remove show-photos and replace with list/verify-options show-photos. Remove no-mangle-dos-filenames. * misc.c (parse_options): Allow for incomplete (but unambiguous) options.
* * ccid-driver.c (ccid_transceive): Add T=1 chaining for sending.Werner Koch2003-10-096-58/+159
| | | | | | | | | | * sign.c (do_sign) [!ENABLE_CARD_SUPPORT]: Return an error for card keys. * cardglue.c (agent_scd_pkdecrypt): Implemented. * pubkey-enc.c (get_it) [ENABLE_CARD_SUPPORT]: Divert decryption to card
* * cardglue.c (pin_cb): Detect whether an admin or regular PIN isWerner Koch2003-10-0811-147/+552
| | | | | | | | | | | | | | | | | | | | requested. (genkey_status_cb): New. (agent_scd_genkey): Implemented. * keygen.c (generate_keypair): New arg CARD_SERIALNO and prepare parameters for on card key generation. Changed all callers. (do_generate_keypair): Add new arg card and merged casrd specific changes from 1.9. (proc_parameter_file): New arg card, apss it down to do_generate_keypair and changed all callers. (gen_card_key): New. * g10.c: Include cardclue.h. (main): s/app_set_default_reader_port/card_set_reader_port/. * cardglue.c (card_set_reader_port): New to address include file issues.
* (tty_print_string, tty_print_utf8_string2)Werner Koch2003-10-083-6/+11
| | | | | (tty_print_utf8_string): Made string arg const.
* * primegen.c (gen_prime): Bail out if NBITS is zero. This isWerner Koch2003-10-062-1/+9
| | | | | Debian bug #213989 reported by Max <[email protected]>.
* 2003-10-04 Timo Schulz <[email protected]>Timo Schulz2003-10-042-4/+8
| | | | | * dynload [WIN32] (dlclose): Do not use CloseHandle but FreeLibrary.
* * cardglue.c (learn_status_cb): Release values before assignmentWerner Koch2003-10-0217-338/+552
| | | | | | | | | so that it can be used by getattr to update the structure. (agent_scd_getattr): New. * keylist.c (print_pubkey_info): Add FP arg for optional printing to a stream. Changed all callers.
* * g10.c (main): Add --no-groups to zero --group list.David Shaw2003-10-015-46/+77
| | | | | | | | | | | | | | * encode.c (encode_simple): Allow for 32 bytes (256 bits) of symmetrically encrypted session key. Use --s2k-cipher-algo to choose cipher, rather than the default cipher. * parse-packet.c (parse_subkeyenc): Give a warning if an symmetrically encrypted session key is seen without salt. Show in --list-packets if a symetrically encrypted session key is present. * pubkey-enc.c (get_it): Always show cipher-not-in-prefs warning unless --quiet is set. Use text name of cipher in warning.
* * samplekeys.asc: Update 99242560.David Shaw2003-10-013-1105/+1155
| | | | | * gpg.sgml: Document --no-groups.
* * gpg.sgml: Note web bug behavior of auto-key-retrieve. Note that bigDavid Shaw2003-09-302-1/+27
| | | | | | photos mean big keys. Document --rfc2440. Document verify-option show-unusable-uids.
* * options.h, g10.c (main), mainproc.c (check_sig_and_print): AddDavid Shaw2003-09-304-15/+28
| | | | | --verify-option show-unusable-uids.
* * gpg.sgml: Clarify --mangle-dos-filenames, document list-optionDavid Shaw2003-09-302-29/+37
| | | | | | | show-unusable-uids, remove --no-comment (which is now --no-sk-comments), add --no-comments (to remove --comment), remove --default-comment, and document --sig-keyserver-url.
* * NEWS: Note that SHA-256 is read-write now, that TIGER/192 is no more,David Shaw2003-09-302-0/+22
| | | | | | that revoked and expired uids are skipped in -r, and that --no-mangle-dos-filenames is now the default.
* * gpgv.c (check_trustdb_stale): Stub.David Shaw2003-09-305-40/+71
| | | | | | | | | | | | | | * trustdb.c (get_validity): Move the up-to-date check to check_trustdb_stale (new), so that it can be called before validity is checked. * keylist.c (list_keyblock_print): Disable the overall key validity display until it can be thought about more. Use check_trustdb_stale here to avoid putting the check warning in the middle of a listed key. * trustdb.c (init_trustdb): Only verify_own_keys() for those trust models that it applies to (i.e. classic and OpenPGP).
* * keygen.c (do_add_key_flags, parse_parameter_usage): Add supportWerner Koch2003-09-3013-38/+193
| | | | | | | | | | | | | | | | | 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. * parse-packet.c (parse_key): Allow to parse the divert-to-card S2K mode. * build-packet.c (do_secret_key): Handle divert-to-card S2K * seckey-cert.c (is_secret_key_protected): Ditto. (check_secret_key): Ditto. * keygen.c (do_ask_passphrase): Renamed from ask_passphrase. * passphrase.c (ask_passphrase): New.
* 2003-09-28 Timo Schulz <[email protected]>Timo Schulz2003-09-283-1/+9
| | | | | | * util.h [WIN32]: Prototype for asprintf. * dynload.h [WIN32]: Define RTLD_LAZY.
* 2003-09-28 Timo Schulz <[email protected]>Timo Schulz2003-09-282-1/+17
| | | | | * strgutil.c [WIN32] (asprintf): New.
* (tty_fprintf): New.Werner Koch2003-09-282-0/+51
|
* * util.h: Add the atoi_* and xtoi_* suite of macros from 1.9.Werner Koch2003-09-286-0/+90
| | | | | * dynload.h: New. Taken from 1.9.
* * g10.c (main): New commands --card-edit, --card-status andWerner Koch2003-09-2815-2/+5576
| | | | | | | | | | | | | --change-pin. New options --ctapi-driver, --pcsc-driver and --disable-ccid * options.h (DBG_CARD_IO): New. * cardglue.c, cardclue.h: Enhanced. * card-util.c: New. Taken from current the gnupg 1.9 branch. * app-common.h, app-openpgp.c, iso7816.c, iso7816.h, apdu.c * apdu.h, ccid-driver.c, ccid-driver.h: New. Takem from the current gnupg 1.9 branch withy minor changes to include directives. * Makefile.am: Added these files.
* First bits of a card support backport from 1.9. It is not enabled byWerner Koch2003-09-279-7/+278
| | | | | | | | | | | | | | | default and tehre is not yet much more than a new configure option. * configure.ac (LIBUSB_LIBS,HAVE_LIBUSB): Check for Libusb. (--enable-card-support): New. * sign.c (do_sign) [ENABLE_CARD_SUPPORT]: Divert to card. * cardglue.c, cardglue.h: New. * Makefile.am (gpg_LDADD): Added. (card_support_sources): New. * memory.h (xmalloc): Define xmalloc macros in terms of m_alloc.
* * options.h, g10.c (main), keylist.c (list_keyblock_print): AddDavid Shaw2003-09-254-42/+56
| | | | | "show-unusable-uids" list-option to show revoked and/or expired user IDs.
* * keyedit.c (show_key_with_all_names): Show names a little neater byDavid Shaw2003-09-242-6/+27
| | | | | | putting the [revoked] or [expired] in the space used for the [validity]. There is also no point in showing "[unknown] [revoked]".
* * sign.c (mk_notation_policy_etc): Capitalize "URL".David Shaw2003-09-245-8/+19
| | | | | | | | | | * trustdb.c (validate_keys): Give a little more information while rebuilding trustdb. * pkclist.c (do_edit_ownertrust): Clarify "don't know". * g10.c (main): Default to --no-mangle-dos-filenames.
* * keydb.h, keyring.c (keyring_search), trustdb.c (search_skipfnc): ExpandDavid Shaw2003-09-235-20/+49
| | | | | | | | the skipfnc to include a pointer to the user ID that matched. * getkey.c (skip_disabled): Rename to skip_unusable, and add checks for expired or revoked user IDs.
* * g10.c (main): Deprecate --default-comment in favor of --no-comments.David Shaw2003-09-234-14/+33
| | | | | | | * options.h, g10.c (main), armor.c (armor_filter): Allow using --comment multiple times to get multiple Comment: header lines. --no-comments resets list.
* 2003-09-21 Timo Schulz <[email protected]>Timo Schulz2003-09-213-2/+10
| | | | | | * http.c [WIN32]: Define MB_CUR_MAX. (connect_server): use unsigned long since W32 does not have in_addr_t.
* * g10.c (main): Trim --help to commonly used options. Remove -f.David Shaw2003-09-122-59/+55
|
* * g10.c (main): Error out if --multifile is used with the commands thatDavid Shaw2003-09-093-38/+89
| | | | | | | | | | | | | don't support it yet (--sign, --clearsign, --detach-sign, --symmetric, and --store). * g10.c (main): Add --multifile as an alias to turn --encrypt into --encrypt-files (plus --verify-files, --decrypt-files). * encode.c (use_mdc), g10.c (main): Use RFC1991 and RFC2440 directly to check for MDC usability. Do not set the force_mdc or disable_mdc flags since there is no point any longer.
* Missed one.David Shaw2003-09-041-3/+2
|
* * cipher.h: Drop TIGER/192 support.David Shaw2003-09-042-1/+4
|
* * configure.ac: Drop TIGER/192 support. Check for UINT64_C to go alongDavid Shaw2003-09-042-44/+16
| | | | | with uint64_t.
* * mds.test, sigs.test: Remove TIGER/192 and make SHA-256 optional (sinceDavid Shaw2003-09-043-10/+11
| | | | | it might not be compiled in).
* * armor.c (parse_hash_header, armor_filter), g10.c (print_hex, print_mds),David Shaw2003-09-044-26/+10
| | | | | pkclist.c (algo_available): Drop TIGER/192 support.
* * md.c (string_to_digest_algo): Enable read-write SHA-256 support.David Shaw2003-09-045-948/+11
| | | | | | * algorithms.h, Makefile.am, md.c (load_digest_module, string_to_digest_algo), tiger.c: Drop TIGER/192 support.
* * keyedit.c (show_key_with_all_names): Fix assertion failure when usingDavid Shaw2003-09-032-3/+6
| | | | | toggle to see a secret key. Reported by Maxim Britov.
* * NEWS: Note --list-options, --verify-options, the deprecation ofDavid Shaw2003-09-022-0/+35
| | | | | | --show-photos, --show-policy-url, --show-notation, and --show-keyring, and getting the signer's fingerprint in sig records.
* * DETAILS: Note fingerprint of signing key in sig records.David Shaw2003-09-022-0/+10
|
* * gpg.sgml: Use "keyserver-url" instead of "preferred-keyserver" for theDavid Shaw2003-08-312-2/+7
| | | | | sake of short and simple commands.
* * g10.c (add_keyserver_url), keyedit.c (keyedit_menu), sign.cDavid Shaw2003-08-314-9/+19
| | | | | | | | | (mk_notation_policy_etc): Clarify a few strings. It's a "preferred keyserver URL". * g10.c (main): Use "keyserver-url" instead of "preferred-keyserver" for the sake of short and simple commands.
* * main.h, keygen.c (keygen_add_keyserver_url): Signature callback forDavid Shaw2003-08-316-6/+148
| | | | | | | | | | | | | | | adding a keyserver URL. * keyedit.c (keyedit_menu, menu_set_keyserver_url): New command to set preferred keyserver to specified (or all) user IDs. * build-packet.c (build_sig_subpkt): Set preferred keyserver flag while building a preferred keyserver subpacket. * keylist.c (show_policy_url): Policy URLs might be UTF8. * keyedit.c (menu_addrevoker): Fix leaking a few bytes.
* * gpg.sgml: Document list-options (show-preferred-keyserver,David Shaw2003-08-302-2/+60
| | | | | | show-validity, show-long-keyid, and show-sig-expire), and verify-options (show-preferred-keyserver, show-validity, show-long-keyid).
* * keyedit.c (show_key_with_all_names): Use list-option show-long-keyid inDavid Shaw2003-08-302-8/+19
| | | | | main --edit-key display.