aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * build-packet.c (do_user_id): Do not force a header for attribute packetsDavid Shaw2004-02-152-3/+7
| | | | | | as they require a new CTB, and we don't support forced headers for new CTBs yet.
* * build-packet.c (write_header2): If a suggested header length is providedDavid Shaw2004-02-143-28/+41
| | | | | | | | | | along with a zero length, interpret this as an actual zero length packet and not as an indeterminate length packet. (do_comment, do_user_id): Use it here as these packets might be naturally zero length. * parse-packet.c (parse): Show packet type when failing due to an indeterminate length packet.
* * import.c (import_one): Do the revocation check even in the case when aDavid Shaw2004-02-122-6/+16
| | | | | | | key, a revocation key set in a direct key signature, and a revocation from that revocation key, all arrive piecemeal. Needless to say, this is pretty obscure.
* * g10.c (rm_group): Properly ungroup from a list of groups.David Shaw2004-02-102-0/+5
|
* * misc.c (compress_algo_to_string): Return NULL on failure like all of theDavid Shaw2004-02-105-22/+53
| | | | | | | | | | | | | | | | other xxxx_algo_to_string() functions. * mainproc.c (list_node): Minor spacing tweak to match --list-keys output. * keylist.c (list_keyblock_print), mainproc.c (list_node): Mark revoked subkeys as revoked. Requested by Matthew Wilcox. Make revoked and expired tags translatable (they are already translated elsewhere). Revoked overrides expiration when both apply. * keyedit.c (show_prefs): Use compress algo constants. (show_basic_key_info): Make revoked and expired tags translatable (show_key_with_all_names): Revoked overrides expired when both apply.
* * gpg.sgml: Clarify -u/--local-user and --default-key.David Shaw2004-02-092-11/+12
|
* * getkey.c (merge_selfsigs_main): Properly handle expired user IDs whenDavid Shaw2004-02-072-13/+20
| | | | | the expired self-sig is not the only self-sig.
* * gnupg.7: Clarify that 'gpgv' doesn't encrypt, and that's not a bug.David Shaw2004-02-044-80/+115
| | | | | | | | * samplekeys.asc: Update 99242560. * gpg.sgml: Note what happens if you run 'gpg' without any commands. Document --multifile.
* * DETAILS: Details for --list-config.David Shaw2004-01-293-7/+79
| | | | | * gpg.sgml: Document --ungroup and --list-config.
* * decrypt.c: Fix copyright date.David Shaw2004-01-296-28/+16
| | | | | | | * packet.h, keyedit.c (show_key_with_all_names_colon), keylist.c (list_keyblock_colon), mainproc.c (list_node, proc_tree): Minor cleanup to remove local_id, which is no longer used.
* * g10.c (main, rm_group): Add --ungroup command to remove a particularDavid Shaw2004-01-282-7/+61
| | | | | | | group. (add_group): When adding a group with the same name as an already existing group, merge the two groups. (list_config): Show an error message when listing a config item that doesn't exist.
* * getkey.c: Set MAX_PK_CACHE_ENTRIES and MAX_UID_CACHE_ENTRIES toDavid Shaw2004-01-272-11/+24
| | | | | | | | | PK_UID_CACHE_SIZE (set in ./configure). * getkey.c (get_pubkey): When reading key data into the cache, properly handle keys that are partially (pk, no UIDs) cached already. This is Debian bug #176425 and #229549.
* * NEWS: Note --enable-key-cache and OpenBSD/i386 and HPPA fixes.David Shaw2004-01-274-1/+44
| | | | | | * README, configure.ac: Add --enable-key-cache=SIZE configure option. This sets the key/uid cache size. Default is 4096.
* * compress.c (init_compress): Remove "-z10" trick to get uncompressed dataDavid Shaw2004-01-264-15/+58
| | | | | | | | | | inside a compressed data packet. This is possibly dangerous without an MDC. (push_compress_filter2): Do the right thing (i.e. nothing) with compress algo 0. * main.h, decrypt.c (decrypt_messages): Accept filenames to decrypt on stdin. This is bug #253.
* * getkey.c (merge_selfsigs): If a subkey is already revoked by the owner,David Shaw2004-01-212-1/+7
| | | | | | don't allow a designated revokation of the whole key to override this. We're still revoked either way, of course.
* * g10.c (list_config): Add "version" tag for --list-config.David Shaw2004-01-212-24/+35
|
* * hppa1.1/udiv-qrnnd.S: Alignment fix from Lamont Jones for Debian.David Shaw2004-01-202-0/+6
|
* * g10.c (collapse_args): New function to turn argc/argv into a singleDavid Shaw2004-01-162-19/+116
| | | | | | | | string. (main): Use it here to pass list_config() more than one argument as a single string. (print_algo_numbers): Helper to print algorithm numbers. (list_config): Use it here for "pubkey", "cipher", "hash"/"digest", and "compress" config options.
* * argparse.c (initialize): Avoid a number of -Wformat-nonliteral warnings.David Shaw2004-01-132-16/+25
| | | | | These aren't actual problems, but the warnings bothered me.
* * g10.c (list_config, main): New function to dump config options toDavid Shaw2004-01-136-26/+84
| | | | | | | stdout. Currently requires --with-colons. * getkey.c, keylist.c, packet.h, pkclist.c: Fix copyright dates.
* * gpgkeys_hkp.c (send_key): Send a content-type.Werner Koch2004-01-132-0/+8
|
* * hkp.c (hkp_export): Send a content-type line.Werner Koch2004-01-132-0/+8
|
* * util.h: Add prototype for print_string2().David Shaw2004-01-132-1/+7
|
* * miscutil.c (print_string2): New variation on print_string that allowsDavid Shaw2004-01-133-8/+27
| | | | | | | two delimiters. (print_string): Call print_string2 to do work. * argparse.c (default_strusage): Update copyright date.
* * convert-from-106, lspgpot: Check for gpg binary before proceeding.David Shaw2004-01-123-5/+19
| | | | | Don't hardcode the path to gpg.
* * config.links: OpenBSD 3.4 is now ELF, so use the proper assembler codeDavid Shaw2004-01-1012-793/+21
| | | | | | for that. Use the portable C MPI code for OpenBSD before 3.4, and remove the special i386-openbsd assembly directory.
* * Makefile.am: Add the portable C links to DISTCLEANFILES. Noted byDavid Shaw2004-01-092-2/+10
| | | | | Nelson H. F. Beebe.
* * packet.h, getkey.c (merge_selfsigs, merge_selfsigs_main), pkclist.cDavid Shaw2004-01-094-4/+16
| | | | | | (check_signatures_trust): Indicate who has revoked a key (the owner or a designated revoker). If a key was revoked by both, prefer the owner.
* * gpg.sgml: Fix a few minor typos. Clarify what --textmode is useful for.David Shaw2004-01-082-8/+23
|
* * gpg.sgml: List proper documentation URL. Note that addrevoker takes anDavid Shaw2004-01-072-54/+69
| | | | | | | | | optional "sensitive" argument. Remind that $GNUPGHOME can be used instead of --homedir. Clarify --no-default-keyring, and note why it may not take effect if there are no other keyrings present. Remove --pgp2 from the list of --pgpXes that are just for bad preference lists. Explain more why locking memory pages is good.
* * sig-check.c: Copyright typo.David Shaw2004-01-063-3/+12
| | | | | | * keylist.c (set_attrib_fd): Open attribute fd in binary mode. This isn't meaningful on POSIX systems, but the Mingw builds aren't exactly POSIX.
* * sig-check.c (check_revocation_keys): Comments.David Shaw2003-12-296-20/+59
| | | | | | | | | | | | | | | | | | * 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.
* * gpgsplit.c (handle_bzip2): Remove two cut and paste typecast errors.David Shaw2003-12-282-2/+7
| | | | | Noted by Stefan Bellon.
* * configure.ac: Include stdio.h when checking for bzlib.h. Solaris 9 has aDavid Shaw2003-12-282-2/+12
| | | | | | very old bzip2 library and we can at least guarantee that it won't fail because of the lack of stdio.h.
* * iobuf.c (block_filter): Properly handle a partial body stream that endsDavid Shaw2003-12-252-0/+6
| | | | | with a 5-byte length.
* oops, fixed charset. The just released w32cli binary has been patchedWerner Koch2003-12-231-1/+1
| | | | | while building it.
* Post-release version bump.Werner Koch2003-12-232-1/+4
|
* About to release 1.2.4 - forgot to manually update this fileWerner Koch2003-12-231-29/+28
|
* About to release 1.2.4Werner Koch2003-12-2332-2623/+2394
|
* * tdbio.c: Fixed format string bugs related to the sue ofWerner Koch2003-12-232-9/+13
| | | | | DB_NAME. Reported by Florian Weimer.
* * mpi-mpow.c (build_index): s/index/idx/ to avoid gcc warning.Werner Koch2003-12-232-4/+8
|
* * mk-w32-dist: Convert hu.po to CP852 as suggested by Nagy FerencWerner Koch2003-12-233-4/+11
| | | | | | L�szl�. Convert ru.po and be.po to CP1251 according to some web pages. Convert ro.po to CP852.
* * NEWS: Note that 1.4 won't have Elgamal sign+encrypt support at all.David Shaw2003-12-212-3/+11
|
* * gpg.sgml: Add an example of what an exclamation mark is, as people seemDavid Shaw2003-12-212-4/+9
| | | | | to miss it often.
* * getkey.c (get_pubkey_fast): This one is sort of obscure. get_pubkey_fastDavid Shaw2003-12-102-5/+25
| | | | | | | | | | | | 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.
* * gpg.sgml: Fix a few missing semicolons in & entities. Noted byDavid Shaw2003-12-072-27/+34
| | | | | | | 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.
* * gpgkeys_ldap.c (main): Avoid possible pre-string write.David Shaw2003-12-063-6/+27
| | | | | | | | * gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Fix memory corruption bug on some platforms. From devel. (search_key): Catch a mangled input file (useful if something other than GnuPG is calling the program). (main): Avoid possible pre-string write. Noted by Christian Biere.
* * http.c (send_request): Add a Host: header for virtual hosts.David Shaw2003-12-062-5/+7
|
* * defs.inc, pubring.asc, secring.asc, plain-1.asc, plain-2.asc,David Shaw2003-12-057-861/+812
| | | | | | plain-3.asc: Remove the old v3 Elgamal keys and replace with RSA+Elgamal and RSA s+e.
* * getkey.c (merge_selfsigs_main, merge_selfsigs_subkey,David Shaw2003-12-054-9/+27
| | | | | | | | | | | | | get_seckey_byname2): Disallow use of encrypt-only v3 Elgamal keys for anything except revocations. * sign.c (do_sign): Add Elgamal encrypt-only keys to the signature catchall. * trustdb.c (mark_usable_uid_certs): Disallow signatures to and from Elgamal encrypt-only keys in the trustdb. Granted, this sounds strange, but there are historical keys that fit this description.