aboutsummaryrefslogtreecommitdiffstats
path: root/g10/hkp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * hkp.c (parse_hkp_index): Don't leak memory when failing out of a bad HKPDavid Shaw2002-06-191-3/+5
| | | | | | | | keyserver. * g10.c (add_notation_data): Relax slightly the rules as to what can go into a notation name - 2440 allows "@", for example.
* * import.c (clean_subkeys, import_one): Only allow at most 1 binding sigDavid Shaw2002-06-181-3/+20
| | | | | | | | and at most 1 revocation sig on a subkey, as per 2440:11.1. * hkp.c (parse_hkp_index, hkp_search): Error if the keyserver returns an unparseable HKP response.
* * options.skel, options.h, main.h, keydb.h, pkclist.c (build_pk_list,David Shaw2002-06-071-6/+6
| | | | | | | | | | | | | | | | | | | expand_groups), g10.c (main, add_group): Add new "group" command to allow one name to expand into multiple keys. For simplicity, and to avoid potential loops, we only expand once - you can't make an alias that points to an alias. * main.h, g10.c (main), keygen.c (build_personal_digest_list): Simplify the default digest list - there is really no need for the other hashes since they will never be used after SHA-1 in the list. * options.skel, options.h, g10.c (main), hkp.c (hkp_ask_import, hkp_export, hkp_search), keyserver.c (parse_keyserver_options, parse_keyserver_uri, keyserver_work, keyserver_refresh): Make the "x-broken-hkp" keyserver scheme into keyserver-option "broken-http-proxy". Move honor_http_proxy into keyserver_options. Canonicalize the three variations of "hkp", "x-hkp", and "x-broken-hkp" into "hkp".
* * hkp.c (parse_hkp_index): Be more robust with keyservers returning veryDavid Shaw2002-06-061-1/+2
| | | | | | | | | unparseable responses. * exec.c (exec_read): Catch and display an error when the remote process exits unnaturally (i.e. segfault) so the user knows what happened. Also fix exec_write stub which has a different number of arguments now.
* * sign.c (mk_notation_and_policy): Free unneeded buffer.David Shaw2002-06-011-2/+10
| | | | | | | | | | | | * hkp.c (parse_hkp_index): Properly handle the '&' character (i.e. "&") in HKP responses. * getkey.c (merge_selfsigs_main): Fix reversed expiration time check with self-sigs. * keyedit.c (sign_uids): When making a new self-sig on a v3 key, make a v3 self-sig unless it is currently a v3 self-sig being promoted to v4.
* fixes for M_DEBUG, strcasecmp and RISC OSStefan Bellon2002-05-101-4/+4
|
* Added a copyright year for files changed this year.Werner Koch2002-04-291-1/+1
|
* * keyedit.c (menu_deluid): Only cause a trust update if we delete aDavid Shaw2002-04-191-2/+1
| | | | | | | | | | | | | | | | | non-revoked user id. * hkp.c (hkp_ask_import), keyserver.c (parse_keyserver_options, keyserver_spawn), options.h: Remove fast-import keyserver option (no longer meaningful). * g10.c (main), keyedit.c (sign_uids), options.h: Change --default-check-level to --default-cert-check-level as it makes clear what it operates on. * g10.c (main): --pgp6 also implies --no-ask-sig-expire. * delkey.c (do_delete_key): Comment.
* Quote and unquote backslashes from keyserver search responses.David Shaw2002-03-291-0/+5
|
* Treat key lists internally as fingerprints when possible. All this is viaDavid Shaw2002-02-261-3/+15
| | | | | | | | | | | | KEYDB_SEARCH_DESC - no point in reinventing the wheel. This allows the helper program to search the keyserver by fingerprint if desired (and the keyserver supports it). Note that automatic fingerprint promotion during refresh only applies to v4 keys as a v4 fingerprint can be easily changed into a long or short key id, and a v3 cannot. Take two copies of hextobyte() from pubkey-enc.c and getkey.c and make them into one copy in misc.c.
* Detect a "no keys found" case even if the keyserver helper program doesDavid Shaw2002-02-221-0/+1
| | | | | | | not explicitly say how many keys were found. Bug fix - don't report non-revoked keys as revoked in HKP key searches.
* Catch corruption in HKP index lines (can be caused by broken or maliciousDavid Shaw2002-02-191-0/+6
| | | | | | | | | | keyservers). Add KEYSERVER_NOT_SUPPORTED for unsupported actions (say, a keyserver that has no way to search, or a readonly keyserver that has no way to add). Also add a USE_EXTERNAL_HKP define to disable the internal HKP keyserver code.
* Bug fix - properly handle user IDs with colons (":") in them while HKPDavid Shaw2002-02-121-5/+31
| | | | | searching.
* For --sig-policy-url and --cert-policy-url, clarify what is a sig and whatDavid Shaw2002-02-101-12/+13
| | | | | | | | | | | | | | | | | | | | | | is a cert. A sig has sigclass 0x00, 0x01, 0x02, or 0x40, and everything else is a cert. Add a "nrlsign" for nonrevocable and local key signatures. Add a --no-force-mdc to undo --force-mdc. Add a knob to force --disable-mdc/--no-disable-mdc. Off by default, of course, but is used in --pgp2 and --pgp6 modes. Allow specifying multiple users in the "Enter the user ID" loop. Enter a blank line to stop. Show each key+id as it is added. It is not illegal (though possibly silly) to have multiple policy URLs in a given signature, so print all that are present. More efficient implementation of URL-ifying code for --search on an HKP keyserver.
* used different char types for RISC OSStefan Bellon2002-01-021-0/+9
|
* Fix capitalization issuesDavid Shaw2001-12-171-4/+4
|
* * keyserver.c (keyserver_spawn): Assert that we have dropped privs.Werner Koch2001-12-151-4/+10
| | | | | | | | | | | | | | | | | * pubkey-enc.c (get_session_key): Check that the public key algorithm is indeed usable for en/decryption. This avoid a strange error message from pubkey_decrypt if for some reasons a bad algorithm indentifier is passed. * hkp.c (hkp_export): Do not print possible control characters from a keyserver response. (parse_hkp_index): Made uid an unsigned char* because it is passed to isspace(). (hkp_search): Ditto for the char* vars. * g10.c (main): Print the IDEA warning also for -c and -se. * g10.c (get_temp_dir): Assert that we have dropped privs * encode.c (encode_crypt): Include the first key into the --pgp2 check.
* Generic keyserver API codeDavid Shaw2001-12-061-158/+321
|
* Fixed the Read-Only keyring bug and changed the way the keydb interfaceWerner Koch2001-10-181-2/+2
| | | | | works.
* Bug fixes and Timo's patchesWerner Koch2001-09-191-3/+98
|
* fixed a stupid C errorWerner Koch2001-09-071-5/+7
|
* Add kludge for broken HTTP proxies.Werner Koch2001-04-231-2/+22
|
* Keyserver access is now supported under W32Werner Koch2001-03-131-24/+0
|
* Changed and added copyright noticesWerner Koch2001-03-081-1/+1
|
* Debian updates, minor fixes.Werner Koch2000-10-171-1/+1
|
* See ChangeLog: Mon Sep 18 12:13:52 CEST 2000 Werner KochWerner Koch2000-09-181-0/+12
|
* See ChangeLog: Tue May 23 09:19:00 CEST 2000 Werner KochWerner Koch2000-05-231-1/+5
|
* See ChangeLog: Fri Dec 31 14:08:15 CET 1999 Werner KochWerner Koch1999-12-311-1/+6
|
* See ChangeLog: Thu Dec 9 10:31:05 CET 1999 Werner KochWerner Koch1999-12-091-9/+9
|
* See ChangeLog: Fri Oct 8 20:32:01 CEST 1999 Werner KochWerner Koch1999-10-081-2/+4
|
* See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner KochWerner Koch1999-05-231-0/+12
|
* See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner KochWerner Koch1999-03-201-2/+28
|
* See ChangeLog: Thu Jan 21 06:22:10 CET 1999 Werner KochV0-9-2Werner Koch1999-01-211-0/+1
|
* See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1999-01-191-5/+111
|
* See ChangeLog: Sat Jan 16 12:03:27 CET 1999 Werner KochWerner Koch1999-01-161-2/+4
|
* See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1999-01-161-0/+72