aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-06-27* mainproc.c (proc_symkey_enc), seckey-cert.c (do_check): Check the S2KDavid Shaw1-0/+7
hash algorithm before we try to generate a passphrase using it. This prevents hitting BUG() when generating a passphrase using a hash that we don't have.
2004-03-01* options.h (ctrl): New for member IN_AUTO_KEY_RETRIEVE.Werner Koch1-3/+9
* mainproc.c (check_sig_and_print): track whether we are retrieving a key. * status.c (status_currently_allowed): New. (write_status_text, write_status_text_and_buffer): Use it here.
2004-02-10* misc.c (compress_algo_to_string): Return NULL on failure like all of theDavid Shaw1-7/+13
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.
2004-01-29* decrypt.c: Fix copyright date.David Shaw1-10/+3
* 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.
2003-12-03* mainproc.c (check_sig_and_print): Removed the "0x" again.Werner Koch1-1/+1
Reverts change from 2003-10-03. * THANKS: Added Phong Nguyen, who found the Elgamal signing key problem. * configure.ac (ALL_LINGUAS): Added a Russian translation; thanks to Maxim Britov. Added Belarusion; thanks to Ales Nyakhaychyk.
2003-11-06* mainproc.c (proc_symkey_enc): Don't show algorithm information whenDavid Shaw1-8/+11
--quiet is set. Suggested by Duncan Harris. Also don't fail with BUG() when processing a --symmetric message with a cipher we don't have. * pkclist.c (build_pk_list): Revert last change. There are too many side effects for stable.
2003-10-26* mainproc.c (proc_symkey_enc, proc_encrypted): Keep a count of the numberDavid Shaw1-3/+10
of passphrases that can decrypt a symmetric or mixed symmetric/pk message and include it in the list of keys shown to the user.
2003-10-26* mainproc.c (symkey_decrypt_sesskey): There is no way to tell theDavid Shaw1-25/+54
difference here between a bad passphrase and a cipher algorithm that we don't have, so use a error message that makes that clear. Use the actual list of ciphers when checking whether a cipher is invalid. Return error if the decrypted cipher algorithm is invalid. (proc_symkey_enc): In a mixed passphrase/pk message, if a valid dek already exists from decrypting via pk, do not try to process the passphrase. (proc_symkey_enc): Indicate when we're decrypting a session key as opposed to decrypting data. If a passphrase is invalid, discard the dek so we'll keep trying.
2003-10-03* mainproc.c (check_sig_and_print): Prefix the key ID printed withWerner Koch1-3/+3
0x. Requested by Nelson H. F. Beebe.
2003-07-28* packet.h, sig-check.c (signature_check2, do_check, do_check_messages):David Shaw1-11/+11
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-07-21* sig-check.c (signature_check, signature_check2, check_key_signature,David Shaw1-3/+2
check_key_signature2): Allow passing NULLs for unused parameters in the x2 form of each function to avoid the need for dummy variables. getkey.c, mainproc.c: Change all callers.
2003-06-19* keyserver.c (parse_keyserver_uri): Accept "http" as an alias for "hkp",David Shaw1-1/+5
since it is occasionally written that way. * mainproc.c (check_sig_and_print): Grammar fix ;)
2003-06-07* keyedit.c (sign_uids): Do not sign expired uids without --expert (sameDavid Shaw1-9/+17
behavior as revoked uids). * mainproc.c (print_notation_data, check_sig_and_print): Only show the "key available from" preferred keyserver line if the key is not currently present.
2003-06-04* options.skel: Use new hkp://subkeys.pgp.net as sample keyserver sinceDavid Shaw1-0/+9
they at least handle subkeys correctly. * mainproc.c (print_notation_data), parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt, can_handle_critical): Add read-only support for preferred keyserver subpackets. They're basically policy URLs with a different name. * g10.c (main): Add "--set-notation" as alias to "--notation-data" this is to make things consistent with --set-policy-url meaning both sigs and certs.
2003-05-30* keylist.c (list_one): Don't show the keyring filename when inDavid Shaw1-4/+28
--with-colons mode. Actually translate "Keyring" string. * mainproc.c (proc_tree): We can't currently handle multiple signatures of different classes or digests (we'd pretty much have to run a different hash context for each), but if they are all the same, make an exception. This is Debian bug #194292. * sig-check.c (check_key_signature2): Make string translatable. * packet.h, getkey.c (fixup_uidnode): Mark real primary uids differently than assumed primaries. * keyedit.c (no_primary_warning): Use the differently marked primaries here in a new function to warn when an --edit-key command might rearrange the self-sig dates enough to change which uid is primary. (menu_expire, menu_set_preferences): Use no_primary_warning() here. * Makefile.am: Use @DLLIBS@ for -ldl.
2003-05-22* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,David Shaw1-2/+2
getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, hkp.c, mainproc.c, parse-packet.c, signal.c, textfilter.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
2003-05-20* keylist.c (list_keyblock_print): Don't dump attribs forDavid Shaw1-9/+8
revoked/expired/etc uids for non-colon key listings. This is for consistency with --show-photos. * main.h, keylist.c (dump_attribs), mainproc.c (check_sig_and_print): Dump attribs if --attrib-fd is set when verifying signatures.
2003-04-27* mainproc.c (check_sig_and_print): Show sig class when verifying a sigDavid Shaw1-7/+15
with --verbose on, and add version, pk and hash algorithms and sig class to VALIDSIG. * g10.c (main): Add --no-textmode. * export.c (do_export_stream), keyedit.c (show_key_with_all_names, menu_addrevoker), mainproc.c (check_sig_and_print), photoid.c (show_photos), trustdb.c (get_validity, reset_trust_records, validate_keys): Make some strings translatable.
2003-04-26* mainproc.c (check_sig_and_print): Show digest algorithm when verifying aDavid Shaw1-0/+4
sig with --verbose on. * parse-packet.c (enum_sig_subpkt): Make a warning message a --verbose warning message since the devel version can make signatures that trigger it each time.
2003-04-14Reverted recent changes to --output. This is the stable branch and itWerner Koch1-92/+62
might break applications.
2003-04-13Forgot to sync the CVS. Check in the code again.Timo Schulz1-62/+92
2003-04-09* passphrase .c (agent_get_passphrase): New arg CANCELED.Werner Koch1-2/+2
(passphrase_to_dek): Ditto. Passed to above. Changed all callers to pass NULL. * seckey-cert.c (do_check): New arg CANCELED. (check_secret_key): Terminate loop when canceled. * keyedit.c (change_passphrase): Pass ERRTEXT untranslated to passphrase_to_dek and translate where appropriate. * seckey-cert.c (check_secret_key): Ditto. * keygen.c (ask_passphrase): Ditto. * passphrase.c (agent_get_passphrase): Translate the TRYAGAIN_TEXT. Switch the codeset to utf-8.
2003-04-08* Makefile.am (EXTRA_DIST): Add autogen.sh wrapper which isWerner Koch1-8/+28
useful for some cross-compiling targets.
2003-03-04* options.skel: Add explantion and commented-outDavid Shaw1-1/+1
"no-mangle-dos-filenames". * mainproc.c (proc_encrypted): Make string translatable. * keygen.c (keygen_set_std_prefs): Include AES192, and AES256 in default prefs.
2002-12-11* mainproc.c (proc_tree): Handle multiple detached sigs concatenatedDavid Shaw1-2/+5
together by warning the user and processing only the first. * g10.c (main): Comment out --list-trust-path until it can be implemented.
2002-10-28filetype support for RISC OSStefan Bellon1-1/+1
2002-10-07* mainproc.c (symkey_decrypt_sesskey): Fix compiler warning.David Shaw1-1/+2
2002-09-10Cleanups and minor fixes.Werner Koch1-2/+7
2002-09-04* mainproc.c (print_pkenc_list): Don't increment the error counter whenDavid Shaw1-1/+1
printing the list of keys a message was encrypted to. This would make gpg give a non-zero exit code even for completely valid messages if the message was encrypted to more than one key that the user owned.
2002-08-06* options.h, g10.c (main), mainproc.c (proc_encrypted): --ignore-mdc-errorDavid Shaw1-2/+2
option to turn a MDC check error into a warning.
2002-07-30* options.h, g10.c (main), mainproc.c (proc_encrypted): Return aDavid Shaw1-0/+3
decryption failed error if a MDC does not verify. Warn if a MDC is not present (can disable via --no-mdc-warning). * exec.c (exec_write), g10.c (main), keyserver.c (keyserver_spawn): Use new DISABLE_KEYSERVER_PATH rather than FIXED_EXEC_PATH.
2002-07-04* photoid.c (get_default_photo_command, show_photos): HonorDavid Shaw1-0/+8
FIXED_PHOTO_VIEWER and DISABLE_PHOTO_VIEWER. * mainproc.c (check_sig_and_print): Use --show-photos to show photos when verifying a sig made by a key with a photo. * keyserver.c (parse_keyserver_uri): Properly parse a URI with no :port section and an empty file path, but with a terminating '/'. (keyserver_work): Honor DISABLE_KEYSERVER_HELPERS. * hkp.c (hkp_ask_import): Display keyserver URI as a URI, but only if verbose. * exec.c, g10.c: USE_EXEC_PATH -> FIXED_EXEC_PATH
2002-07-02* options.h, g10.c (main), keyserver.c (keyserver_refresh): Maintain andDavid Shaw1-5/+25
use the original keyserver URI for cosmetics rather than trying to recreate it when needed. * mainproc.c (check_sig_and_print): Properly disregard expired uids. Make sure that the first uid listed is a real uid and not an attribute (attributes should only be listed in the "aka" section). When there are no valid textual userids, try for an invalid textual userid before using any attribute uid.
2002-06-29Update head to match stable 1.0David Shaw1-253/+580
2000-10-06See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner KochWerner Koch1-1/+1
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-52/+109
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-30/+30
2000-01-24See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch1-21/+20
1999-12-08See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1-8/+8
1999-11-13See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1-4/+5
1999-10-26See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1-26/+37
1999-09-15See ChangeLog: Wed Sep 15 16:22:17 CEST 1999 Werner KochV1-0-4V1-0-3V1-0-2V1-0-1-ePit-1Werner Koch1-1/+3
1999-09-03See ChangeLog: Fri Sep 3 10:06:06 CEST 1999 Werner KochV0-9-11Werner Koch1-2/+2
1999-09-01See ChangeLog: Wed Sep 1 15:30:44 CEST 1999 Werner KochWerner Koch1-1/+1
1999-08-31See ChangeLog: Tue Aug 31 17:20:44 CEST 1999 Werner KochWerner Koch1-12/+15
1999-07-22See ChangeLog: Thu Jul 22 20:03:03 CEST 1999 Werner KochWerner Koch1-1/+12
1999-07-12See ChangeLog: Mon Jul 12 14:55:34 CEST 1999 Werner KochWerner Koch1-9/+73
1999-07-08See ChangeLog: Thu Jul 8 16:21:27 CEST 1999 Werner KochWerner Koch1-0/+24
1999-07-01See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner KochWerner Koch1-3/+4
1999-06-02See ChangeLog: Wed Jun 2 14:17:19 CEST 1999 Werner KochWerner Koch1-1/+14