aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-08-20* hkp.c (dehtmlize): Understand the quote character (i.e. """) inDavid Shaw1-5/+5
HTML responses. * keydb.h, getkey.c (get_user_id_printable): Rename to get_user_id_native and remove the printable stuff since we're print-ifying valid utf8 characters. Change all callers in import.c, sign.c, and encode.c.
2004-03-09* import.c (import_one): Try and collapse user IDs when importing a keyDavid Shaw1-0/+3
for the first time. * build-packet.c (do_comment, do_user_id): Try for a headerlen of 2 since that's the smallest and most likely encoding for these packets * keyedit.c (menu_addrevoker): Allow appointing a subkey as a designated revoker if the user forces it via keyid!, so long as the subkey can certify. Also use the proper date string when prompting for confirmation.
2004-02-12* import.c (import_one): Do the revocation check even in the case when aDavid Shaw1-6/+9
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.
2003-10-31* misc.c (compress_algo_to_string, check_compress_algo): Add bzip2.David Shaw1-7/+7
* g10.c (main): Add read-only warning. * 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-08-19* options.skel: Note that keyserver.pgp.com isn't synchronized, andDavid Shaw1-55/+71
explain the roundrobin a bit better. * sig-check.c (check_key_signature2), import.c (import_one, import_revoke_cert, chk_self_sigs, delete_inv_parts, collapse_uids, merge_blocks): Make much quieter during import of slightly munged, but recoverable, keys. Use log_error for unrecoverable import failures.
2003-07-28* packet.h, sig-check.c (signature_check2, do_check, do_check_messages):David Shaw1-23/+15
Provide a signing-key-is-revoked flag. Change all callers. * status.h, status.c (get_status_string): New REVKEYSIG status tag for a good signature from a revoked key. * mainproc.c (do_check_sig, check_sig_and_print): Use it here. * import.c (import_revoke_cert, merge_blocks, merge_sigs): Compare actual signatures on import rather than using keyid or class matching. This does not change actual behavior with a key, but does mean that all sigs are imported whether they will be used or not.
2003-06-08* import.c (import_keys): Invalidate the cache so that the fileWerner Koch1-0/+2
descriptor gets closed. Fixes bug reported by Juan F. Codagnone.
2003-05-31* main.h, misc.c (parse_options): New general option line parser. Fix theDavid Shaw1-35/+2
bug in the old version that did not handle report syntax errors after a valid entry. * import.c (parse_import_options), export.c (parse_export_options): Call it here instead of duplicating the code.
2003-05-02* packet.h, build-packet.c (build_sig_subpkt), export.cDavid Shaw1-18/+0
(do_export_stream), import.c (remove_bad_stuff, import), parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt): Remove vestigal code for the old sig cache subpacket. This wasn't completely harmless as it caused subpacket 101 to disappear on import and export.
2003-04-09* hkp.c (dehtmlize): Fix bug #121 (memory corruption on some platforms).David Shaw1-4/+7
Special thanks to Michael C. Toren for his help in lining up a sparc to test this fix on. * keyserver.c (keyserver_work): Call out error for keyserver helper with a different version than us. * main.h, g10.c (main), import.c (parse_import_options, fix_pks_corruption): It's really PKS corruption, not HKP corruption. Keep the old repair-hkp-subkey-bug command as an alias. * g10.c (main): Rename --no-version to --no-emit-version for consistency. Keep --no-version as an alias.
2003-03-24* keydb.h: Err on the side of making an unknown signature a SIG ratherDavid Shaw1-0/+8
than a CERT. * import.c (delete_inv_parts): Discard any key signatures that aren't key types (i.e. 0x00, 0x01, etc.)
2003-02-02* keyedit.c (menu_revuid): Properly handle a nonselfsigned uid on a v4 keyDavid Shaw1-1/+26
(treat as a v4 revocation). * keyedit.c (keyedit_menu, menu_revuid): Backport "revuid" from devel. * import.c (print_import_check): Do not re-utf8 convert user IDs. * status.h, status.c (get_status_string), import.c (import_one, print_import_check): Backport Timo's IMPORT_CHECK status message from devel.
2002-12-26* keygen.c (keygen_add_key_expire): Properly handle updating a keyDavid Shaw1-1/+1
expiration to a no-expiration value. * keyedit.c (enable_disable_key): Comment. * import.c (import_one): When in interactive mode and --verbose, don't repeat some key information twice.
2002-12-232002-12-23 Timo Schulz <[email protected]>Timo Schulz1-0/+1
* import.c (import_one): Use merge_keys_and_selfsig in the interactive mode to avoid wrong key information.
2002-12-12* options.skel: Include the required '=' sign in the sample 'group'David Shaw1-0/+1
option. * import.c (chk_self_sigs): Don't try and check a subkey as if it was a signature.
2002-12-06* keygen.c (ask_algo): Make the Elgamal sign+encrypt warning stronger, andDavid Shaw1-0/+10
remove the RSA sign+encrypt warning. * import.c (import_one): Warn when importing an Elgamal primary that this may take some time (to verify self-sigs). (chk_self_sigs): Try and cache all self-sigs so the keyblock is written to the keyring with a good rich cache.
2002-12-01* keyedit.c (menu_expire): Don't lose key flags when changing theDavid Shaw1-0/+4
expiration date of a subkey. This is not the most optimal solution, but it is minimal change on the stable branch. * main.h, keygen.c (do_copy_key_flags): New function to copy key flags, if any, from one sig to another. (do_add_key_expire): New function to add key expiration to a sig. (keygen_copy_flags_add_expire): New version of keygen_add_key_expire that also copies key flags. (keygen_add_key_flags_and_expire): Use do_add_key_expire. * import.c (fix_hkp_corruption): Comment.
2002-10-30* getkey.c (get_pubkey_direct): Renamed to...Werner Koch1-4/+4
(get_pubkey_fast): this and made extern. (get_pubkey_byfprint_fast): New. * import.c (import_one): Use get_pubkey_fast instead of get_pubkey. We don't need a merged key and actually this might lead to recursions. --> There is still a problem, though. (revocation_present): Likewise for search by fingerprint. * g10.c (main): Try to create the trustdb even for non-colon-mode list-key operations. This is required because getkey needs to know whether a a key is ultimately trusted.
2002-10-02* import.c (import_secret_one): Check for an illegal (>110) protectionDavid Shaw1-0/+7
cipher when importing a secret key. * keylist.c (list_keyblock_print): Show a '#' for a secret-parts-missing key. * parse_packet.c (parse_key): Some comments. * revoke.c (gen_revoke): Remove some debugging code. * trustdb.c (verify_own_keys): Make trusted-key a non-deprecated option again.
2002-10-01* import.c (import_one): Make sure that a newly imported key starts with aDavid Shaw1-1/+17
clean ownertrust. (import_revoke_cert): Remove ultimate trust when revoking an ultimately trusted key.
2002-09-10Cleanups and minor fixes.Werner Koch1-1/+1
2002-09-02* g10.c (main): Try to set a default character set. Print theWerner Koch1-0/+35
used one in verbosity level 3. * gpgv.c (main): Try to set a default character set. * status.c, status.h (STATUS_IMPORT_OK): New. * import.c (import_one,import_secret_one): Print new status.
2002-08-22* import.c (clean_subkeys, chk_self_sigs): Merge clean_subkeys intoDavid Shaw1-109/+82
chk_self_sigs. This improves efficiency as the same signatures are not checked multiple times. Clarify when a subkey is revoked (any revocation signature, even if it is dated before the binding signature). * getkey.c (merge_selfsigs_subkey): Subkey revocation comments. * keylist.c (list_one): Stats are only for public key listings. * g10.c (main), options.skel: Default should be include-revoked for keyserver operations.
2002-08-21* import.c (import_print_stats): Print new non_imported counterWerner Koch1-3/+9
which is currently not used becuase we terminate on errors.
2002-08-19* getkey.c (get_user_id_native): Renamed to ..Werner Koch1-19/+12
(get_user_id_printable): this. Filter out all dangerous characters. Checked all usages. (get_user_id_string_native): Renamed to.. (get_user_id_string_printable): this. Filter out all dangerous characters. Checked all usages. * keyedit.c (show_basic_key_info): New. * keylist.c (print_fingerprint): New mode 3. * import.c (import_one): Use new function to display the user ID.
2002-08-182002-08-16 Timo Schulz <[email protected]>Timo Schulz1-0/+17
* g10.c (main): enable opt.interactive. * import.c (import_one): Ask the user if the key shall be imported when the interactive mode is used. Useful to extract selected keys from a file.
2002-07-25* exec.c, export.c, import.c, keyedit.c, keyserver.c, misc.c: "Warning" ->David Shaw1-2/+2
"WARNING"
2002-07-24* main.h, import.c (parse_import_options, fix_hkp_corruption, import_one,David Shaw1-13/+88
delete_inv_parts), g10.c (main): New import-option "repair-hkp-subkey-bug", which repairs as much as possible the HKP mangling multiple subkeys bug. It is on by default for keyserver receives, and off by default for regular --import. * main.h, import.c (import, import_one, delete_inv_parts), hkp.c (hkp_ask_import), keyserver.c (keyserver_spawn): Use keyserver import options when doing keyserver receives.
2002-07-24* import.c (parse_import_options), export.c (parse_export_options): FixDavid Shaw1-1/+4
offset problem with reversed ("no-") meanings.
2002-07-24* import.c (delete_inv_parts): Discard subkey signatures (0x18 and 0x28)David Shaw1-1/+12
if found in the userid section of the key.
2002-07-22* options.h, main.h, g10.c (main), import.c (parse_import_options,David Shaw1-0/+43
delete_inv_parts), keyserver.c (parse_keyserver_options): add new --import-options option. The only current flag is "allow-local-sigs". * g10.c (main): Don't disable MDC in pgp7 mode. * options.h, g10.c (main), keyserver.c (parse_keyserver_options): Remove old keyserver-option include-attributes now that there is an export-option for the same thing.
2002-06-29Update head to match stable 1.0David Shaw1-247/+554
2000-10-10Changed keyring handling - saving still does not work.Werner Koch1-44/+13
Added new cipher mode and updated cipher test program.
2000-10-06See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner KochWerner Koch1-19/+7
2000-09-18See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch1-1/+12
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-35/+69
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-36/+36
2000-01-24See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch1-9/+9
1999-11-13See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1-2/+2
1999-09-17See ChangeLog: Fri Sep 17 12:56:42 CEST 1999 Werner KochV1-0-1Werner Koch1-4/+2
1999-09-02See ChangeLog: Thu Sep 2 16:40:55 CEST 1999 Werner KochWerner Koch1-24/+28
1999-09-01See ChangeLog: Wed Sep 1 15:30:44 CEST 1999 Werner KochWerner Koch1-9/+9
1999-08-30See ChangeLog: Mon Aug 30 20:38:33 CEST 1999 Werner KochWerner Koch1-3/+3
1999-07-26See ChangeLog: Mon Jul 26 09:34:46 CEST 1999 Werner KochWerner Koch1-2/+2
1999-07-22See ChangeLog: Thu Jul 22 20:03:03 CEST 1999 Werner KochWerner Koch1-2/+29
1999-07-14See ChangeLog: Wed Jul 14 19:42:08 CEST 1999 Werner KochWerner Koch1-0/+24
1999-07-01See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner KochWerner Koch1-7/+4
1999-05-26See ChangeLog: Wed May 26 14:36:29 CEST 1999 Werner KochWerner Koch1-3/+3
1999-05-22See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner KochWerner Koch1-98/+134
1999-05-19See ChangeLog: Wed May 19 16:04:30 CEST 1999 Werner KochWerner Koch1-6/+41