aboutsummaryrefslogtreecommitdiffstats
path: root/g10/ChangeLog (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-01-17* misc.c (print_cipher_algo_note): May as well call Rijndael AESDavid Shaw1-2/+11
at this point. * keygen.c (do_create), misc.c (openpgp_pk_algo_usage): Remove the last bits of Elgamal type 20 support.
2004-01-03Only use ZLib module on RISC OS when configuredStefan Bellon1-0/+5
2003-12-31* options.h, g10.c (main), import.c (parse_import_options, import_one,David Shaw1-0/+7
import_secret_one), keyserver.c (keyserver_refresh): Change --merge-only to --import-option merge-only. Deprecate --merge-only.
2003-12-30* misc.c (pull_in_libs): Dead code. Removed.David Shaw1-0/+24
* sig-check.c (check_revocation_keys): Comments. * getkey.c (merge_selfsigs_main): Don't bother to check designated revoker sigs if the key is already revoked. * packet.h, getkey.c (merge_selfsigs_main): New "maybe_revoked" flag on PKs. It is set when there is a revocation signature from a valid revocation key, but the revocation key is not present to verify the signature. * pkclist.c (check_signatures_trust): Use it here to give a warning when showing key trust. * compress-bz2.c: Include stdio.h. Solaris 9 has a very old bzip2 library and we can at least guarantee that it won't fail because of the lack of stdio.h. * tdbio.c: Fixed format string bugs related to the use of DB_NAME. Reported by Florian Weimer.
2003-12-28* options.h, g10.c (main), keyserver.c (keyserver_opts,David Shaw1-0/+6
parse_keyserver_uri): honor-http-proxy is no longer an option since we can do the same thing with http-proxy with no arguments. Also remove broken-http-proxy since it can be better handled in the HTTP helper.
2003-12-28* keyserver.c (argsep): New variation on strsep that knows about optionalDavid Shaw1-0/+6
arguments. (parse_keyserver_options): Use it here for optional arguments.
2003-12-28cleaned up RISC OS code and removed lots of unnecessary stuffStefan Bellon1-0/+8
2003-12-28* keyserver.c (strip_leading_space, get_arg): New.David Shaw1-0/+5
(parse_keyserver_options): Use them here to allow arguments to keyserver-options. Since none of our options need arguments yet, just pass them through whole to the keyserver helper.
2003-12-28* main.h, misc.c (parse_options): Add a "noisy" flag to enable and disableDavid Shaw1-0/+9
the messages about which option didn't match or matched ambiguously. Change all callers (g10.c, keyserver.c). * main.h, import.c (import_options), export.c (export_options): Pass the noisy flag through.
2003-12-17* build-packet.c (write_fake_data, do_secret_key), seckey-cert.cDavid Shaw1-0/+6
(do_check): Use an unsigned length for mpi_get_opaque. * options.h: It's impolite to assign -1 to an unsigned opt.force_ownertrust.
2003-12-17* sig-check.c (cmp_help, do_check), sign.c (do_sign): Remove old unusedDavid Shaw1-0/+7
code. * keyid.c (keyid_from_sk): Make sure lowbits is initialized.
2003-12-17* card-util.c (print_name): Fixed bad format string usage.Werner Koch1-0/+18
(print_isoname): Ditto. * trustdb.c (check_regexp): s/exp/expr/. * keyedit.c (trustsig_prompt): Removed a "> 255" term; it is always false due to the data type. * passphrase.c (agent_get_passphrase): Use xasprintf and avoid non-literal format strings. * tdbio.c (upd_hashtable, drop_from_hashtable, lookup_hashtable): Fixed log_error format string bugs. Kudos to the now working gcc-3.3 -Wformat-nonliteral and Florian Weimer's investigations in gnupg 1.2.3.
2003-12-16* seckey-cert.c (protect_secret_key): Use gry_create_nonce for theWerner Koch1-0/+6
IV; there is not need for real strong random here and it even better protect the random bits used for the key.
2003-12-13* sig-check.c (do_check): Move the signing algo and hash checks fromDavid Shaw1-0/+12
here... (signature_check2): ... to here. (check_key_signature2): ... and here. This is a minor optimization to avoid fetching a key (which can be expensive, especially if it is not self-signed, and there are many key signatures on it which need to be checked for ultimate trust) if the signature would have failed anyway because of algorithm or hash problems.
2003-12-11* packet.h, build-packet.c (hash_public_key): Remove function ...David Shaw1-0/+23
* keydb.h, keyid.c (hash_public_key, do_fingerprint_md): ... and make a new one here that shares code with the fingerprint calculations. This removes some duplicated functionality, and is also around 14% faster. (Every bit helps). * import.c (import_one): No longer need the Elgamal import warning. * getkey.c (get_pubkey_fast): This one is sort of obscure. get_pubkey_fast returns the primary key when requesting a subkey, so if a user has a key signed by a subkey (we don't do this, but used to), AND that key is not self-signed, AND the algorithm of the subkey in question is not present in GnuPG, AND the algorithm of the primary key that owns the subkey in question is present in GnuPG, then we will try and verify the subkey signature using the primary key algorithm and hit a BUG(). The fix is to not return a hit if the keyid is not the primary. All other users of get_pubkey_fast already expect a primary only.
2003-12-10* keyid.c (do_fingerprint_md): Remove the rules to hash the old v3 ElgamalDavid Shaw1-0/+3
keys. They are no longer needed.
2003-12-10* keyid.c (keyid_from_sk, keyid_from_pk, fingerprint_from_pk,David Shaw1-0/+4
fingerprint_from_sk): Enforce the v3-is-only-RSA rule. Anything that isn't RSA gets a zero keyid and fingerprint.
2003-12-10* keyid.c (do_fingerprint_md): Properly handle hashing of keys that weDavid Shaw1-0/+9
don't know the structure of by using the opaque MPI. (do_fingerprint_md_sk): We cannot calculate the fingerprint from a secret key unless we know the structure (since we can't leave off the secret key parts), so fail early..... (keyid_from_sk, fingerprint_from_sk): .... and return all zeroes.
2003-12-04* g10.c (strusage, main): Show development version warning in --versionDavid Shaw1-0/+5
output. (main): Set --bzip2-compress-level to the default value at startup. Remove --emulate-checksum-bug noop.
2003-12-04* options.h, g10.c (main), main.h, seskey.c (do_encode_md,David Shaw1-0/+7
encode_md_value), sig-check.c (do_check), sign.c (do_sign): Remove --emulate-md-encode-bug as it only applied to Elgamal signatures, which are going away.
2003-11-30* mainproc.c (proc_symkey_enc, proc_encrypted): Add ability to useDavid Shaw1-0/+9
--override-session-key on --symmetric messages (new-style or old-style). (proc_pubkey_enc): Move code to show session key from here to proc_encrypted() so it can work with any type of message. Suggested by Michael Young.
2003-11-30* trustdb.c (validate_keys): Reset the trustdb before checking if we haveDavid Shaw1-0/+14
any ultimately trusted keys. This ensures that if we lose all our ultimately trusted keys, we don't leave behind the old validity calculations. Noted by Peter Palfrader. * revoke.c (gen_desig_revoke): Specify in the comment when a designated revocation is generated. * getkey.c (merge_selfsigs_main, merge_selfsigs_subkey, get_seckey_byname2): Remove Elgamal check since we are removing type 20 keys altogether.
2003-11-27* pkclist.c (build_pk_list): Do not allow an empty PK list in interactiveDavid Shaw1-2/+5
mode. * getkey.c (get_seckey_byname2): Disallow use of sign+encrypt Elgamal keys.
2003-11-27* keygen.c (ask_algo): Remove ability to generate Elgamal sign+encryptDavid Shaw1-0/+8
keys. * getkey.c (merge_selfsigs_main, merge_selfsigs_subkey): Disallow use of sign+encrypt Elgamal keys.
2003-11-21* seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.David Shaw1-0/+10
* misc.c (compress_algo_to_string): Translate "Uncompressed". Requested by Tommi Vainikainen. (string_to_compress_algo): Include multi-string for "uncompressed|none".
2003-11-18* options.h, g10.c (main), compress-bz2.c (init_uncompress): AddDavid Shaw1-0/+6
--bz2-compress-lowmem to set bzlib "small" flag for low memory (but slow) decompression.
2003-11-162003-11-16 Moritz Schulte <[email protected]>Moritz Schulte1-0/+4
* signal.c: Removed unused file.
2003-11-15* compress.c (init_compress): Remove compress level 10 trick, since it isDavid Shaw1-0/+8
no longer needed. * g10.c: Fix typoed option name. * compress-bz2.c (init_compress): Compression level 0 is not meaningful for bzip2.
2003-11-15* options.h, g10.c (main), compress.c (init_compress), compress-bz2.cDavid Shaw1-0/+5
(init_compress): Add --compress-level and --bzip2-compress-level. -z sets them both. Change various callers.
2003-11-15* encode.c (encode_simple), sign.c (sign_symencrypt_file): Properly useDavid Shaw1-0/+7
default_compress_algo (--compress-algo, followed by the highest --personal-compress-preference, followed by ZIP) to get the algorithm.
2003-11-15* options.h, trustdb.c (trust_model_string, init_trustdb): Add support forDavid Shaw1-0/+9
"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.
2003-11-14* options.h, g10.c, keyedit.c, keylist.c, mainproc.c: Clarify theDavid Shaw1-0/+5
plurarility (or not) of various list and verify options.
2003-11-13* g10.c (main): Add --symmetric --sign --encrypt.David Shaw1-0/+14
* 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.
2003-11-102003-11-10 Moritz Schulte <[email protected]>Moritz Schulte1-0/+4
* Makefile.am (INCLUDES): Added: @LIBGCRYPT_CFLAGS@.
2003-11-10* mainproc.c (proc_symkey_enc): Don't show algorithm information whenDavid Shaw1-0/+7
--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.
2003-11-10* pkclist.c (build_pk_list): When adding recipients interactively, allowDavid Shaw1-0/+5
the user to stop at any point.
2003-11-01* trustdb.h, trustdb.c (register_trusted_keyid): New. Adds a keyid to theDavid Shaw1-0/+21
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.
2003-10-31* misc.c (compress_algo_to_string, string_to_compress_algo,David Shaw1-0/+25
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.
2003-10-30(close_ct_reader, close_pcsc_reader): Implemented.Werner Koch1-0/+5
(get_ccid_error_string): New. Not very useful messages, though.
2003-10-29* cardglue.c (open_card): Ask for card insertion.Werner Koch1-0/+10
(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.
2003-10-28* DETAILS: Add the 'a' value for field 12 and the new field 15.Werner Koch1-0/+7
* 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.
2003-10-26* g10.c (main): Enhance the version-specific config file code to try forDavid Shaw1-0/+6
more specific matches before giving up (e.g. 1.3.3-cvs, 1.3.3, 1.3, 1).
2003-10-26* g10.c (main): Add --symmetric --encrypt command. This generates aDavid Shaw1-0/+26
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.
2003-10-25* ccid-driver.c (ccid_open_reader): Return an error if no USBWerner Koch1-0/+5
devices are found. * Makefile.am: Replaced INTLLIBS by LIBINTL.
2003-10-25(learn_status_cb, scd_genkey_cb): Fixed faulty useWerner Koch1-0/+5
of !spacep().
2003-10-25* g10.c (main) [ENABLE_CARD_SUPPORT]: Add a default forWerner Koch1-0/+7
--pcsc-driver. * cardglue.c (learn_status_cb): Fixed faulty use of !space.
2003-10-24(apdu_open_reader): Hacks for PC/SC under Windows.Werner Koch1-0/+4
2003-10-21* passphrase.c (ask_passphrase): Add optional promptid arg.Werner Koch1-0/+19
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.
2003-10-21* card-util.c (card_edit): New command "passwd". Add logic toWerner Koch1-0/+8
check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers. * call-agent.c (agent_scd_checkpin): New.
2003-10-14* import.c (import_one): Show the keyid when giving the Elgamal slowDavid Shaw1-0/+8
import warning. * g10.c (main): Older versions used --comment "" to indicate no comment. Don't add an empty comment.