aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * sig-check.c (cmp_help, do_check), sign.c (do_sign): Remove old unusedDavid Shaw2003-12-174-80/+10
| | | | | | | code. * keyid.c (keyid_from_sk): Make sure lowbits is initialized.
* * dsa.h, dsa.c (dsa_verify), elgamal.h, elgamal.c (elg_verify), rsa.h,David Shaw2003-12-178-26/+19
| | | | | | rsa.c (rsa_verify), pubkey.c (dummy_verify, pubkey_verify): Remove old unused code.
* * cipher.h (pubkey_verify): Remove old unused code.David Shaw2003-12-172-2/+5
|
* * sig-check.c (do_check): Move the signing algo and hash checks fromDavid Shaw2003-12-132-12/+27
| | | | | | | | | 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.
* * packet.h, build-packet.c (hash_public_key): Remove function ...David Shaw2003-12-117-140/+105
| | | | | | | | | | | | | | | | | | | | * 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.
* * keyid.c (do_fingerprint_md): Remove the rules to hash the old v3 ElgamalDavid Shaw2003-12-102-22/+13
| | | | | keys. They are no longer needed.
* * keyid.c (keyid_from_sk, keyid_from_pk, fingerprint_from_pk,David Shaw2003-12-102-51/+86
| | | | | | fingerprint_from_sk): Enforce the v3-is-only-RSA rule. Anything that isn't RSA gets a zero keyid and fingerprint.
* * keyid.c (do_fingerprint_md): Properly handle hashing of keys that weDavid Shaw2003-12-102-28/+64
| | | | | | | | | 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.
* Removed accidential added fileWerner Koch2003-12-091-16/+0
|
* * configure.ac: Add a min_automake_version.Werner Koch2003-12-092-15/+64
| | | | | | | * README.CVS: New. * autogen.sh: Revamped except for the --build-w32 hack. * Makefile.am: Add README.CVS
* * gpg.sgml: Fix a few missing semicolons in & entities. Noted byDavid Shaw2003-12-092-30/+38
| | | | | | | | Christian Biere. Some minor grammar fixes. Remove the "host -l pgp.net | grep wwwkeys" advice since the nameserver no longer all allow zone transfers. Replace it with a mention of hkp://subkeys.pgp.net. Note that BZIP2 defaults to compression level 6.
* * gpgsplit.c (write_part): Split off decompression code. (handle_zlib):David Shaw2003-12-062-81/+182
| | | | | | Move it here. (handle_bzip2): Add this to handle BZIP2 compressed messages.
* * http.c (send_request): Add a Host: header for virtual hosts.David Shaw2003-12-062-5/+7
|
* * Makefile.am: Reenable tests now that the Elgamal signature keys areDavid Shaw2003-12-058-878/+822
| | | | | | | | | gone. * defs.inc, pubring.asc, secring.asc, plain-1.asc, plain-2.asc, plain-3.asc: Remove the old v3 Elgamal keys and replace with RSA+Elgamal and RSA s+e.
* * miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't useDavid Shaw2003-12-052-5/+12
| | | | | | alternate strings when not needed so we don't have to re-translate them. Hopefully the comment will be enough to indicate multiple match strings.
* * config.links: Show target in asm-syntax.h file and include targets forDavid Shaw2003-12-052-2/+11
| | | | | K*BSD (GNU userland with BSD kernel).
* * cipher.h: Make cipher list match 2440bis-09.David Shaw2003-12-042-6/+9
|
* * pubkey.c (setup_pubkey_table): Don't allow signatures to and fromDavid Shaw2003-12-042-7/+46
| | | | | | | encrypt-only Elgamal keys. (pubkey_get_npkey, pubkey_get_nskey, pubkey_get_nsig, pubkey_get_nenc, pubkey_nbits): Wrap the RSA cheats in !USE_RSA. Add cheats for sign+encrypt Elgamal.
* * g10.c (strusage, main): Show development version warning in --versionDavid Shaw2003-12-042-7/+30
| | | | | | output. (main): Set --bzip2-compress-level to the default value at startup. Remove --emulate-checksum-bug noop.
* * options: Remove emulate-md-encode-bug.David Shaw2003-12-042-1/+4
|
* * options.h, g10.c (main), main.h, seskey.c (do_encode_md,David Shaw2003-12-047-35/+18
| | | | | | | 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.
* * NEWS: Note --disable-rsa.David Shaw2003-12-014-10/+62
| | | | | | | | * configure.ac: Add --disable-rsa. * README: Add --with-zlib, --with-bzip2, --without-bzip2, --disable-rsa, and --enable-minimal. Update gettext version.
* * pubkey.c (setup_pubkey_table): Only include RSA if USE_RSA is defined.David Shaw2003-12-012-3/+14
| | | | | | | | | | (pubkey_get_npkey): Return 2 for RSA even if it isn't available so we can at least handle RSA keys. ---------------------------------------------------------------------- pubkey.c CVS: ----------------------------------------------------------------------
* * README: Update version number. Add BZIP2. Remove Elgamal sign+encrypt.David Shaw2003-12-012-14/+18
|
* * mainproc.c (proc_symkey_enc, proc_encrypted): Add ability to useDavid Shaw2003-11-302-65/+105
| | | | | | | | --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.
* * trustdb.c (validate_keys): Reset the trustdb before checking if we haveDavid Shaw2003-11-304-22/+20
| | | | | | | | | | | | | | 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.
* post release version number bumbWerner Koch2003-11-272-1/+5
|
* (TESTS): Temporary remove tests using ElG signatures.V1-3-4Werner Koch2003-11-272-7/+21
|
* about to release 1.3.4Werner Koch2003-11-2712-1526/+1603
|
* * NEWS: Note that we won't encrypt to an Elgamal sign+encrypt key anyDavid Shaw2003-11-272-2/+8
| | | | | longer.
* Minor additionsWerner Koch2003-11-272-1/+5
|
* * pubkey.c (pubkey_sign): Return an error if an ElGamal key is used.Werner Koch2003-11-273-27/+43
| | | | | | | * elgamal.c (gen_k): New arg SMALL_K. (sign): Use it here with SMALL_K set to false (do_encrypt): and here with SMALL_K set to true.
* * pkclist.c (build_pk_list): Do not allow an empty PK list in interactiveDavid Shaw2003-11-273-4/+12
| | | | | | | | mode. * getkey.c (get_seckey_byname2): Disallow use of sign+encrypt Elgamal keys.
* Solved cvs conflictWerner Koch2003-11-272-1/+30
|
* 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.