aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * seskey.c (encode_md_value): Print an error message if a wrongWerner Koch2002-04-184-6/+30
| | | | | | digest algorithm is used with DSA. Changed all callers to cope with a NULL return. Problem noted by Imad R. Faiad.
* * rndlinux.c, rndegd.c, rndunix.c (func_table): Made func aWerner Koch2002-04-184-6/+13
| | | | | | | function pointer. Note that we still need to change the module interface to cope with data vs function pointer problems. Hmmm, even dlsym has a problem with this.
* * eo.po: Updated.Werner Koch2002-04-182-985/+916
|
* * i386/syntax.h (ALIGN): Removed parens from definitionWerner Koch2002-04-186-15/+22
| | | | | | | * i386/mpih-add1.S, i386/mpih-sub1.S, i386/mpih-rshift.S, i386/mpih-lshift.S: Minor syntax changes suggested by Mark Pettit after comparing the files with those for GMP 4.
* * trustdb.c (validate_keys): Never schedule a nextcheck into theWerner Koch2002-04-182-17/+108
| | | | | | | | | past. (validate_key_list): New arg curtime use it to set next_expire. (validate_one_keyblock): Take the current time from the caller. (clear_validity, reset_unconnected_keys): New. (validate_keys): Reset all unconnected keys.
* * trustdb.c (mark_usable_uid_certs): Properly handle nonrevocableDavid Shaw2002-04-183-21/+59
| | | | | | | | | | | signatures that can expire. In short, the only thing that can override an unexpired nonrevocable signature is another unexpired nonrevocable signature. * getkey.c (finish_lookup): Always use primary signing key for signatures when --pgp6 is on since pgp6 and 7 do not understand signatures made by signing subkeys.
* * trustdb.c (validate_keys): Never schedule a nextcheck into theWerner Koch2002-04-182-2/+12
| | | | | past.
* * getkey.c (lookup): Advance the searchmode after a search FIRST.Werner Koch2002-04-182-0/+7
|
* * getkey.c (premerge_public_with_secret): Fixed 0x12345678! syntaxWerner Koch2002-04-185-17/+41
| | | | | | | | | | | | for use with secret keys. * seckey-cert.c (do_check): Always calculate the old checksum for use after unprotection. * g10.c, options.skel: New option --no-escape-from. Made --escape-from and --force-v3-sigs the default and removed them from the options skeleton.
* * parse-packet.c (parse_key): Support a SHA1 checksum as perWerner Koch2002-04-178-34/+113
| | | | | | | | | | draft-rfc2440-bis04. * packet.h (PKT_secret_key): Add field sha1chk. * seckey-cert.c (do_check): Check the SHA1 checksum (protect_secret_key): And create it. * build-packet.c (do_secret_key): Mark it as sha-1 protected. * g10.c, options.h: New option --simple-sk-checksum.
* doc fixesWerner Koch2002-04-173-1/+14
|
* * parse-packet.c (parse_signature): Minor fix - signatures should expireDavid Shaw2002-04-145-4/+25
| | | | | | | | | | | | | | at their expiration time and not one second later. * keygen.c (proc_parameter_file): Allow specifying preferences string (i.e. "s5 s2 z1 z2", etc) in a batchmode key generation file. * keyedit.c (keyedit_menu): Print standard error message when signing a revoked key (no new translation). * getkey.c (merge_selfsigs): Get the default set of key prefs from the real (not attribute) primary uid.
* * pkclist.c (build_pk_list): Fix bug that allowed a key to be selectedDavid Shaw2002-04-134-6/+52
| | | | | | | | | | | | | twice in batch mode if one instance was the default recipient and the other was an encrypt-to. Noted by Stefan Bellon. * parse-packet.c (dump_sig_subpkt): Show data in trust and regexp sig subpackets. * keyedit.c (keyedit_menu): Use new function real_uids_left to prevent deleting the last real (i.e. non-attribute) uid. Again, according to the attribute draft. (menu_showphoto): Make another string translatable.
* * build-packet.c (build_sig_subpkt): Delete subpackets from both hashedDavid Shaw2002-04-124-114/+101
| | | | | | | | | | | | | and unhashed area on update. (find_subpkt): No longer needed. * keyedit.c (sign_uids): With --pgp2 on, refuse to sign a v3 key with a v4 signature. As usual, --expert overrides. Try to tweak some strings to a closer match so they can all be translated in one place. Use different helptext keys to allow different help text for different questions. * keygen.c (keygen_upd_std_prefs): Remove preferences from both hashed and unhashed areas if they are not going to be used.
* * misc.c (pct_expando), options.skel: Use %t to indicate type of a photoDavid Shaw2002-04-116-25/+65
| | | | | | | | | | | | | | | | | | | ID (in this version, it's always "jpeg"). Also tweak string expansion loop to minimize reallocs. * mainproc.c (do_check_sig): Variable type fix. * keyedit.c (menu_set_primary_uid): Differentiate between true user IDs and attribute user IDs when making one of them primary. That is, if we are making a user ID primary, we alter user IDs. If we are making an attribute packet primary, we alter attribute packets. This matches the language in the latest attribute packet draft. * keyedit.c (sign_uids): No need for the empty string hack. * getkey.c (fixup_uidnode): Only accept preferences from the hashed segment of the self-sig.
* cipher.c (setup_cipher_table, cipher_open, cipher_encrypt, cipher_decrypt,David Shaw2002-04-102-4/+23
| | | | | | dummy_setkey, dummy_encrypt_block, dummy_decrypt_block): the dummy cipher should only be built on development versions.
* * pl.po: Updated.Werner Koch2002-04-106-460/+461
|
* * tdbio.c (migrate_from_v2): Fixed the offset to read the oldWerner Koch2002-04-102-2/+8
| | | | | | ownertrust value and only add entries to the table if we really have a value.
* Add KEYEXPIRED, EXPSIG, and EXPKEYSIG. AddDavid Shaw2002-04-107-43/+80
| | | | | | | | | | | | | | | | "deprecated-use-keyexpired-instead" to SIGEXPIRED. Start transition from SIGEXPIRED to KEYEXPIRED, since the actual event is signature verification by an expired key and not an expired signature. Rename do_signature_check as signature_check2, make public, and change all callers. Use status EXPSIG for an expired, but good, signature. Add the expiration time (or 0) to the VALIDSIG status line. Use status KEYEXPSIG for a good signature from an expired key. Remove checks for no arguments now that argparse does it.
* * es.po: Fixed a c-format problem; for unknown reasons msgfmt -cWerner Koch2002-04-092-1/+4
| | | | | can't cope with swapped arguments.
* * de.po: Fuzzy fixes and a few new translations.Werner Koch2002-04-0920-9764/+19606
| | | | | | | | | | | | | | | * id.po: Fixed a format string mismatch. * eo.po, it.po, ja.po, sv.po: Updated with a somewhat newer version from the TP. * es_ES.po: Removed * es.po: and replaced with this updated version from the TP. * cs.po: New. Fixed for format string mismatches. * el.po, gl.po: New from TP.
* * configure.ac (ALL_LINGUAS): Added Czech, Galician and GreekWerner Koch2002-04-093-2/+7
| | | | | translations. s/es_ES/es/.
* * configure.ac (ALL_LINGUAS): Added Czech translation.Werner Koch2002-04-094-1/+8
|
* * cs.po: New.Werner Koch2002-04-092-0/+4245
|
* * DETAILS: Fix a spelling error, correct IMPORTED_RES to IMPORT_RES,Werner Koch2002-04-092-2/+7
| | | | | correct INV_RECP (the second occurence) to NO_RECP.
* Merged in my changes, after disk crash. Fortunately the CVS was notWerner Koch2002-04-0847-7245/+7328
| | | | | | affected - but everything else and it seems that there is no backup of the BTS data is available :-(
* Fix auto-key-retrieve to actually work as a keyserver-option (noted byDavid Shaw2002-04-043-7/+16
| | | | | | | | Roger Sondermann). Do not reorder the primary attribute packet - the first user ID must be a genuine one.
* Documentation fixes.David Shaw2002-04-032-12/+16
| | | | | | | | | auto-key-retrieve is a keyserver-option (noted by Roger Sondermann). --pgp2 also means --disable-mdc, --no-ask-sig-expire, and --no-ask-cert-expire. It does not mean --no-force-v3-sigs (noted by Timo).
* Fix ownertrust display with --with-colons.David Shaw2002-03-318-28/+82
| | | | | | | | | | | | | | | | | | | Properly initialize the user ID refcount for user and photo IDs. Tweak a few prompts to change "y/n" to "y/N", which is how most other prompts are written. Warn the user if they are about to revoke an expired sig (not a problem, but they should know). Control-d escapes the keyserver search prompt. If a subkey is considered revoked solely because the parent key is revoked, print the revocation reason from the parent key. Allow revocation/expiration to apply to a uid/key with no entry in the trustdb.
* Some gnupg.spec.in changes for RPM builds: Added the gpgkeys_xxx keyserverDavid Shaw2002-03-312-2/+18
| | | | | | | helpers. Added a * to catch variations on the basic gpg man page (gpg, gpgv). Mark options.skel as a config file. Do not include the FAQ/faq.html twice (in /doc/ and /share/).
* Quote and unquote backslashes from keyserver search responses.David Shaw2002-03-293-2/+19
|
* If a delimiter is used, then quote the backslash character as well.David Shaw2002-03-293-4/+14
| | | | | Problem noted by Rainer Perske.
* Quote backslashes in keyserver search responsesDavid Shaw2002-03-292-2/+6
|
* Added some notes about the colon list mode in gpgsmWerner Koch2002-03-281-1/+11
|
* Add a few notes about --pgp2 meaning MIT PGP 2.6.2, and keyserver detailsDavid Shaw2002-03-272-5/+15
| | | | | about HKP and NAI HKP to the manual.
* Minor tweak to importing to allow more non-signed uids (now thatDavid Shaw2002-03-245-16/+40
| | | | | | | | | | | | | | | | | | | --allow-non-selfsigned-uid allows for completey unsigned uids). Do not choose an attribute packet (i.e. photo) as primary uid. This prevents oddities like "Good signature from [image of size 2671]". This is still not perfect (one can still select an attribute packet as primary in --edit), but is closer to the way the draft is going. The algorithms list should include #110. --pgp2 implies --no-ask-sig-expire and --no-ask-cert-expire as those would cause a v4 sig/cert. Be more lenient in what constitutes a valid armor header (i.e. -----BEGIN blah blah-----) as some Windows programs seem to add spaces at the end. --openpgp makes it strict again
* Add some commentsDavid Shaw2002-03-191-1/+7
|
* Change meaning of --allow-non-selfsigned-uid to match change in code, andDavid Shaw2002-03-192-8/+14
| | | | | add --no-allow-non-selfsigned-uid.
* Properly handle a "no keys found" case from the internal HKP codeDavid Shaw2002-03-193-16/+28
| | | | | | | | (external HKP is ok). Also, make a COUNT -1 (i.e. streamed) keyserver response a little more efficient. Add --no-allow-non-selfsigned-uid
* --openpgp implies --allow-non-selfsigned-uidDavid Shaw2002-03-177-40/+76
| | | | | | | | | | | | | | | | | | | | | | If none of the uids are primary (because none are valid) then pick the first to be primary (but still invalid). This is for cosmetics in case some display needs to print a user ID from a non-selfsigned key. Also use --allow-non-selfsigned-uid to make such a key valid and not --always-trust. The key is *not* automatically trusted via --allow-non-selfsigned-uid. Make sure non-selfsigned uids print [uncertain] on verification even though one is primary now. If the main key is not valid, then neither are the subkeys. Allow --allow-non-selfsigned-uid to work on completely unsigned keys. Print the uids in UTF8. Remove mark_non_selfsigned_uids_valid() Show revocation key as UTF8. Allow --not-dash-escaped to work with v3 keys.
* Show which user ID a bad self-sig (invald sig or unsupported public keyDavid Shaw2002-03-132-4/+14
| | | | | algorithm) resides on.
* any valid self-sig should mark a user ID or subkey as valid - otherwise,David Shaw2002-03-132-13/+22
| | | | | | an attacker could DoS the user by inventing a bogus invalid self-signature.
* * faq.raw: Due to a lack of time Nils can't serve anymore as aWerner Koch2002-03-134-4/+18
| | | | | maintainer. Removed his address and setup a generic address.
* Merged changes from zlib 1.1.4.Werner Koch2002-03-1224-62/+85
|
* Some minor fixes for revocation keys: print a warning if a key is importedDavid Shaw2002-03-079-30/+162
| | | | | | | | | | that has been revoked by designated revoker, but the designated revoker is not present to verify the revocation (whew!). This applies to all ways to get a key into the system: --import --recv-keys, and --search-keys. If auto-key-retrieve is set, try and retrieve the revocation key. Also, auto-key-retrieve is now a keyserver-option.
* * gpg.sgml: Add an entry for --export-ownertrust. Suggested byWerner Koch2002-03-064-1/+19
| | | | | | Bernhard Reiter. * configure.ac (ALL_LINGUAS): s/pt_PT/pt/
* * pt_PT.po: Removed.Werner Koch2002-03-064-2644/+1674
| | | | | | | * pt.po: and replaced by this updated one. My machine voted 30 to 2 for just pt. So we go with the crowd. Thanks for Pedro Morais for suggesting this.
* Some minor bug fixes.David Shaw2002-03-055-17/+64
| | | | | | | | | | | | | | | do not prompt for revocation reason for v3 revocations (unless force-v4-certs is on) since they wouldn't be used anyway. show the status of the sigs (exportable? revocable?) to the user before prompting for which sig to revoke. Also, make sure that local signatures get local revocations. Add "exec-path" variable to override PATH for execing programs. properly check return code from classify_user_id to catch unclassifiable keys.
* Alwayus define _GNU_SOURCE. Since this is always defined in config.h, theDavid Shaw2002-03-052-9/+9
| | | | | | | | various autoconf tests should be tested with it enabled. This also works around a compiler warning caused by a minor header bug in glibc 2.1 that causes fseeko to be defined when building gpg, but not when tested for in configure
* variable type tweak for RISC OS (from Stefan)David Shaw2002-03-042-6/+12
|