aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * trustdb.h, trustdb.c (register_trusted_keyid): New. Adds a keyid to theDavid Shaw2003-11-017-43/+93
| | | | | | | | | | | | | | | | | | | | list of ultimately trusted keys. * keygen.c (do_generate_keypair): Use it here so that the ultimate ownertrust happens before the trustdb (might be) rebuilt. Also fix an error where the newly generated pk is thought to be a subkey by the trustdb. * g10.c (main): Fix --export-all do actually do something different than --export. * pkclist.c (build_pk_list): Show all recipients rather than showing each recipient as they are added. * mainproc.c (proc_symkey_enc, proc_encrypted): Keep a count of the number of passphrases that can decrypt a symmetric or mixed symmetric/pk message and include it in the list of keys shown to the user.
* * configure.ac: Locate libbz2 for bzip2 compression support.David Shaw2003-10-312-0/+41
|
* * misc.c (compress_algo_to_string, string_to_compress_algo,David Shaw2003-10-3112-40/+366
| | | | | | | | | | | | | | | | | | | | | | | | check_compress_algo): Add bzip2. * compress.c (compress_filter): Make static to help force the use of push_compress_filter. Remove default algorithm setting since that is done in push_compress_filter now. * main.h: Use named algorithm. * filter.h, compress.c (push_compress_filter, push_compress_filter2): New. Figure out which is the appropriate compression filter to use, and push it into place. * compress.c (handle_compressed), encode.c (encode_simple, encode_crypt), sign.c (sign_file, sign_symencrypt_file), import.c (read_block), export.c (do_export): Use push_compress_filter instead of pushing the compression filter ourselves. * compress-bz2.c: New. Bzlib versions of the compression filter routines. * Makefile.am: Include compress-bz2.c if bz2lib is available.
* * cipher.h: Add COMPRESS_ALGO_BZIP2.David Shaw2003-10-312-3/+8
|
* (close_ct_reader, close_pcsc_reader): Implemented.Werner Koch2003-10-302-3/+17
| | | | | (get_ccid_error_string): New. Not very useful messages, though.
* * cardglue.c (open_card): Ask for card insertion.Werner Koch2003-10-298-2/+204
| | | | | | | | | | | | (check_card_serialno): New. (agent_scd_pksign, agent_scd_pkdecrypt): Use it here. * cardglue.c (open_card): Issue insertion status message. * status.h, status.c (STATUS_CARDCTRL): New. * status.c (cpr_get_answer_okay_cancel): New. * miscutil.c (answer_is_okay_cancel): New.
* * DETAILS: Add the 'a' value for field 12 and the new field 15.Werner Koch2003-10-284-6/+54
| | | | | | | | * keylist.c (list_keyblock_print): Denote secrets keys stored on a card with an '>'. Print the '#' also for subkeys. (list_keyblock_colon): Introduce new field 15 for sec/ssb to print the serial number.
* * NEWS: Note --symmetric --encrypt and the improved config file search.David Shaw2003-10-263-4/+23
| | | | | * configure.ac: Add SAFE_VERSION_DOT and SAFE_VERSION_DASH.
* * g10.c (main): Enhance the version-specific config file code to try forDavid Shaw2003-10-262-7/+33
| | | | | more specific matches before giving up (e.g. 1.3.3-cvs, 1.3.3, 1.3, 1).
* * g10.c (main): Add --symmetric --encrypt command. This generates aDavid Shaw2003-10-265-54/+186
| | | | | | | | | | | | | | | | | | | | | message that can be decrypted via a passphrase or public key system. * main.h, encode.c (encode_seskey): Allow passing in an already-created session key dek. (encode_simple): Use the actual symmetric cipher when encrypting a session key for a symmetric message. (encode_crypt): Add a flag to trigger a hybrid mode that can be decrypted via a passphrase or a pk. Change all callers. * mainproc.c (symkey_decrypt_sesskey): There is no way to tell the difference here between a bad passphrase and a cipher algorithm that we don't have, so use a error message that makes that clear. Use the actual list of ciphers when checking whether a cipher is invalid. Return error if the decrypted cipher algorithm is invalid. (proc_symkey_enc): In a mixed passphrase/pk message, if a valid dek already exists from decrypting via pk, do not try to process the passphrase. (proc_symkey_enc): Indicate when we're decrypting a session key as opposed to decrypting data. If a passphrase is invalid, discard the dek so we'll keep trying.
* Updated to 0.12.1Werner Koch2003-10-2524-1313/+2612
|
* GettexizedWerner Koch2003-10-2513-0/+2445
|
* Replaced INTLLIBS by LIBINTL.Werner Koch2003-10-254-6/+14
|
* Updated required versions and add -I m4 to aclocal.Werner Koch2003-10-254-67/+629
|
* New.Werner Koch2003-10-2543-353/+13831
|
* (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.Werner Koch2003-10-252-1/+6
|
* * ccid-driver.c (ccid_open_reader): Return an error if no USBWerner Koch2003-10-253-1/+9
| | | | | | | devices are found. * Makefile.am: Replaced INTLLIBS by LIBINTL.
* * Makefile.am (SUBDIRS): Add intl.Werner Koch2003-10-255-133/+447
| | | | | | | | (ACLOCAL_AMFLAGS): New variable. (EXTRA_DIST): Add scripts/config.rpath. * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in, (AL_LINGUAS): Removed.
* * g10.c (main) [ENABLE_CARD_SUPPORT]: Add a default forWerner Koch2003-10-255-7/+27
| | | | | | | --pcsc-driver. * cardglue.c (learn_status_cb): Fixed faulty use of !space.
* * configure.ac (DLLIBS): Work properly on platforms where dlopen andDavid Shaw2003-10-252-13/+22
| | | | | friends are in libc instead of libdl.
* (apdu_open_reader): Hacks for PC/SC under Windows.Werner Koch2003-10-242-3/+33
|
* (DLLIBS): Fixed last change.Werner Koch2003-10-242-28/+30
|
* (lock_pool) [_AIX]: Don't use plock.Werner Koch2003-10-232-0/+15
|
* (DLLIBS): Do not include -ldl in the mingw32 case.Werner Koch2003-10-232-1/+11
|
* * passphrase.c (ask_passphrase): Add optional promptid arg.Werner Koch2003-10-2114-120/+252
| | | | | | | | | | | | | | | | | | | Changed all callers. * cardglue.c (pin_cb): Use it here, so the machine interface can tell whether the Admin PIN is requested. * cardglue.c (agent_scd_checkpin): New. * misc.c (openpgp_pk_algo_usage): Added AUTH usage. * app-openpgp.c (check_against_given_fingerprint): New. Factored out that code elsewhere. (do_check_pin): New. * card-util.c (card_edit): New command "passwd". Add logic to check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers.
* * configure.ac: Include -ldl when card support is used.David Shaw2003-10-162-13/+28
|
* * import.c (import_one): Show the keyid when giving the Elgamal slowDavid Shaw2003-10-143-3/+14
| | | | | | | | import warning. * g10.c (main): Older versions used --comment "" to indicate no comment. Don't add an empty comment.
* * keyedit.c (show_key_with_all_names): Ownertrust is only meaningful forDavid Shaw2003-10-142-6/+18
| | | | | | the PGP or classic trust models. Both validity and ownertrust are not meaningful for the always trust model.
* * srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include orderingDavid Shaw2003-10-132-1/+6
| | | | | issues? Move sys/types.h up higher to work around.
* Always enable the gen_card_key prototype.Werner Koch2003-10-112-2/+4
|
* Prepared for next development cycleWerner Koch2003-10-102-1/+5
|
* (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.