aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Auto-updatesWerner Koch2003-11-275-636/+743
|
* * keygen.c (ask_algo): Remove ability to generate Elgamal sign+encryptDavid Shaw2003-11-273-23/+26
| | | | | | | | keys. * getkey.c (merge_selfsigs_main, merge_selfsigs_subkey): Disallow use of sign+encrypt Elgamal keys.
* * configure.ac: Use MSG_NOTICE instead of MSG_WARN for less seriousDavid Shaw2003-11-273-6/+13
| | | | | | | notifications. * NEWS: I meant "less" not "more".
* (get_key): Fixed invalid use of fprintf withoutWerner Koch2003-11-272-2/+7
| | | | | format string.
* * gpg.sgml: Note the new combinations with --symmetric and --encrypt.David Shaw2003-11-212-22/+65
| | | | | | | | Document --bzip2-compress-level, and --bzip2-compress-lowmem. Clarify the plurarility (or not) of various list and verify options. Document BZIP2 in the --compress-algo section. Warn about compatibility issues with ZLIB and BZIP2.
* * gpg.sgml: Document --compress-level. Some minor tweaks to otherDavid Shaw2003-11-214-17/+38
| | | | | | | | | | entries. * TRANSLATE: New, note to translators about the yes|yes multiple match syntax. * Makefile.am: Include TRANSLATE in distributed files.
* * config.links: sparc64 assembler doesn't work on FreeBSD or OpenBSDDavid Shaw2003-11-212-4/+9
| | | | | either.
* * seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.David Shaw2003-11-213-3/+25
| | | | | | | * misc.c (compress_algo_to_string): Translate "Uncompressed". Requested by Tommi Vainikainen. (string_to_compress_algo): Include multi-string for "uncompressed|none".
* * util.h: Add prototype for match_multistr().David Shaw2003-11-212-0/+5
|
* * miscutil.c (match_multistr): New. Match against each segment in aDavid Shaw2003-11-212-16/+50
| | | | | | | string with tokens separated by |. (answer_is_yes_no_default, answer_is_yes_no_quit, answer_is_okay_cancel): Use it here to enable alternate translations.
* * options.h, g10.c (main), compress-bz2.c (init_uncompress): AddDavid Shaw2003-11-184-1/+11
| | | | | | --bz2-compress-lowmem to set bzlib "small" flag for low memory (but slow) decompression.
* * compress.c (init_compress): Remove compress level 10 trick, since it isDavid Shaw2003-11-154-7/+10
| | | | | | | | | | no longer needed. * g10.c: Fix typoed option name. * compress-bz2.c (init_compress): Compression level 0 is not meaningful for bzip2.
* * options.h, g10.c (main), compress.c (init_compress), compress-bz2.cDavid Shaw2003-11-159-52/+67
| | | | | | (init_compress): Add --compress-level and --bzip2-compress-level. -z sets them both. Change various callers.
* * encode.c (encode_simple), sign.c (sign_symencrypt_file): Properly useDavid Shaw2003-11-153-3/+10
| | | | | | default_compress_algo (--compress-algo, followed by the highest --personal-compress-preference, followed by ZIP) to get the algorithm.
* * options.h, trustdb.c (trust_model_string, init_trustdb): Add support forDavid Shaw2003-11-154-8/+30
| | | | | | | | "external" trust model, where the user can provide a pregenerated trustdb. * keyedit.c (keyedit_menu): Do not allow editing ownertrust with an external trust model trustdb.
* * options.h, g10.c, keyedit.c, keylist.c, mainproc.c: Clarify theDavid Shaw2003-11-146-73/+81
| | | | | plurarility (or not) of various list and verify options.
* * NEWS: Note BZIP2.David Shaw2003-11-132-2/+10
|
* * g10.c (main): Add --symmetric --sign --encrypt.David Shaw2003-11-135-50/+128
| | | | | | | | | | | | * main.h, encode.c (setup_symkey): New. Prompt for a passphrase and create a DEK for symmetric encryption. (write_symkey_enc): New. Write out symmetrically encrypted session keys. (encode_crypt, encrypt_filter): Use them here here when creating a message that can be decrypted with a passphrase or a pk. * sign.c (sign_file): Call setup_symkey if we are doing a --symmetric --sign --encrypt.
* * configure.ac: Make sure that the resolver API actually compiles, and notDavid Shaw2003-11-132-1/+19
| | | | | just that the right functions exist.
* * mainproc.c (proc_symkey_enc): Don't show algorithm information whenDavid Shaw2003-11-103-8/+23
| | | | | | | | --quiet is set. Suggested by Duncan Harris. Also don't fail with BUG() when processing a --symmetric message with a cipher we don't have. * g10.c: Alias --personal-xxx-prefs to --personal-xxx-preferences.
* * pkclist.c (build_pk_list): When adding recipients interactively, allowDavid Shaw2003-11-102-0/+6
| | | | | the user to stop at any point.
* * http.c (connect_server): Differentiate between generic "can't connect"David Shaw2003-11-012-4/+18
| | | | | | errors and the more specific "host not found". Suggested by Samuel Tardieu.
* * 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.