aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-08-09* configure.ac (ALL_LINGUAS): Removed.Werner Koch1-0/+7
* Makefile.am (LDADD): Replaced INTLLIBS by LIBINTL. * Makefile.am (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL. * ca.po: Updated. * autogen.sh: Run aclocal with -I m4. * Makefile.am: Replaced INTLLIBS by LIBINTL. * Makefile.am (http-test): Replaced INTLLIBS by LIBINTL.
2004-07-30New alias --throw-keyid for --throw-keyids, so that itWerner Koch1-0/+1
continues to work in old configuration files. Noted by Jens Adam.
2004-06-01* g10.c (main): Alias --charset as --display-charset to help avoid theDavid Shaw1-3/+4
continuing confusion and make room for possible changes in devel. * parse-packet.c (parse_plaintext): Show the hex value for the literal packet mode since it may not be printable.
2004-04-01* g10.c (main): --no-use-embedded-filename.David Shaw1-0/+3
* plaintext.c (handle_plaintext): Accept 'u' as a plaintext mode that requires end of line conversion. This is being considered for a UTF8 text packet. If this doesn't take place, no major harm done. If it does take place, we'll get a jump on starting the changeover.
2004-03-29*** empty log message ***Werner Koch1-11/+55
2004-03-25* options.h, g10.c (main), compress-bz2.c (init_uncompress): BackportDavid Shaw1-1/+4
--bzip2-decompress-lowmem since we do handle receiving a bzip2 message on the stable branch.
2004-02-24* encode.c (encode_simple): Show cipher with --verbose.David Shaw1-14/+22
* options.h, g10.c (main), keyedit.c (sign_keys): Add --ask-cert-level option to enable cert level prompts during sigs. Defaults to on. Simplify --default-cert-check-level to --default-cert-level. If ask-cert-level is off, or batch is on, use the default-cert-level as the cert level. * options.h, g10.c (main), trustdb.c (mark_usable_uid_certs): Simplify --min-cert-check-level to --min-cert-level.
2004-02-23* options.h, g10.c (main), trustdb.c (mark_usable_uid_certs): AddDavid Shaw1-4/+13
--min-cert-check-level option to specify minimum cert check level. Defaults to 1 (so no sigs are ignored). 0x10 sigs cannot be ignored. * options.h, g10.c (main), plaintext.c (handle_plaintext): Add --max-output option to help people deal with decompression bombs.
2004-02-10* g10.c (rm_group): Properly ungroup from a list of groups.David Shaw1-0/+1
2004-01-28* g10.c (main, rm_group): Add --ungroup command to remove a particularDavid Shaw1-7/+52
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.
2004-01-21* g10.c (list_config): Add "version" tag for --list-config.David Shaw1-24/+31
2004-01-16* g10.c (collapse_args): New function to turn argc/argv into a singleDavid Shaw1-19/+106
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.
2004-01-13* g10.c (list_config, main): New function to dump config options toDavid Shaw1-18/+67
stdout. Currently requires --with-colons. * getkey.c, keylist.c, packet.h, pkclist.c: Fix copyright dates.
2003-12-02* g10.c (strusage, main): Show development version warning in --versionDavid Shaw1-5/+24
output. * trustdb.c (mark_usable_uid_certs): Disallow signatures to and from an Elgamal signing key in the trustdb.
2003-11-15* g10.c: Add --compress-level (same as -z).David Shaw1-1/+1
2003-10-31* misc.c (compress_algo_to_string, check_compress_algo): Add bzip2.David Shaw1-0/+5
* 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-10-17* g10.c (main): Fix --export-all do actually do something different thanDavid Shaw1-4/+6
--export.
2003-10-01* g10.c (main): Add --no-groups to zero --group list.David Shaw1-6/+22
* encode.c (encode_simple): Allow for 32 bytes (256 bits) of symmetrically encrypted session key. Use --s2k-cipher-algo to choose cipher, rather than --cipher-algo. This code is never actually called in stable, but better to fix it here in case we branch in the future. * parse-packet.c (parse_subkeyenc): Call it a "symmetrically encrypted session key" since "session key decryption key" is just baffling. Neaten --list-packets output. * pubkey-enc.c (get_it): Always show cipher-not-in-prefs warning unless --quiet is set.
2003-09-23* g10.c (main): Deprecate --no-comment in favor of --no-sk-comments.David Shaw1-1/+6
2003-09-12* g10.c (main): Deprecate -f in favor of --encrypt-files.David Shaw1-3/+8
2003-09-09* g10.c (main): Error out if --multifile is used with the commands thatDavid Shaw1-0/+31
don't support it yet (--sign, --clearsign, --detach-sign, --symmetric, and --store).
2003-09-05* g10.c (main): Add --multifile as an alias to turn --encrypt intoDavid Shaw1-40/+43
--encrypt-files (plus --verify-files, --decrypt-files). * encode.c (use_mdc), g10.c (main): Use RFC1991 and RFC2440 directly to check for MDC usability. Do not set the force_mdc or disable_mdc flags since there is no point any longer.
2003-07-30Changed a lot of __MINGW32__ to _WIN32. This should help a bit inWerner Koch1-2/+2
building with native Windows compilers. On request by Brian Gladman.
2003-07-30* g10.c (main): Disable use-agent if passphrase-fd is givenWerner Koch1-0/+1
later. Suggested by Kurt Garloff.
2003-06-19* keyedit.c (sign_uids): Add additional prompt to the signature levelDavid Shaw1-0/+3
question. (menu_expire): When changing expiration dates, don't replace selfsigs on revoked uids since this would effectively unrevoke them. There is also no point in replacing expired selfsigs. This is bug #181. * g10.c (main): Add --rfc2440 alias for --openpgp since in a few months, they won't be the same thing.
2003-06-07Make sure that only ascii is passed to isfoo functions.Werner Koch1-3/+3
2003-06-04* options.skel: Use new hkp://subkeys.pgp.net as sample keyserver sinceDavid Shaw1-5/+6
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-22* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,David Shaw1-18/+18
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-09* g10.c (main): New --gnupg option to disable the various --openpgp,David Shaw1-18/+11
--pgpX, etc. options. This is the same as --no-XXXX for those options. * packet.h, getkey.c (skip_disabled), keylist.c (print_capabilities): New "pk_is_disabled" macro to retrieve the cached disabled value if available, and fill it in via cache_disabled_value if not available. * trustdb.h, gpgv.c (is_disabled), trustdb.c (is_disabled): Rename to cache_disabled_value. Cache the result of the check so we don't need to hit the trustdb more than once. * trustdb.c (get_validity): Cache the disabled value since we have it handy and it might be useful later.
2003-05-03* g10.c (main): Show errors for failure in export, send-keys, recv-keys,David Shaw1-9/+79
and refresh-keys. * keyserver.c (keyserver_work): Range check the TCP port for HKP. * options.h, g10.c (main): Give algorithm warnings for algorithms chosen against the --pgpX and --openpgp rules. * keydb.h, pkclist.c (algo_available): Make TIGER192 invalid in --openpgp mode. * sign.c (sign_file), pkclist.c (algo_available): Allow passing a hint of 0.
2003-05-02* sign.c (sign_file): Fix bug that causes spurious compression preferenceDavid Shaw1-110/+94
warning. * sign.c (clearsign_file): Fix bug that prevents proper warning message from appearing when clearsigning in --pgp2 mode with a non-v3 RSA key. * main.h, misc.c (compliance_option_string, compliance_string, compliance_failure), sign.c (sign_file, clearsign_file), encode.c (encode_crypt, write_pubkey_enc_from_list): New functions to put the "this message may not be usable...." warning in one place. * options.h, g10.c (main): Part two of the simplification. Use a single enum to indicate what we are compliant to (1991, 2440, PGPx, etc.)
2003-05-02* options.h, armor.c, cipher.c, g10.c, keyedit.c, pkclist.c, sign.c,David Shaw1-25/+25
encode.c, getkey.c, revoke.c: The current flags for different levels of PGP-ness are massively complex. This is step one in simplifying them. No functional change yet, just use a macro to check for compliance level.
2003-04-27* mainproc.c (check_sig_and_print): Show sig class when verifying a sigDavid Shaw1-0/+3
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-15* g10.c, options.h: New option --enable-progress-filter.Werner Koch1-1/+5
* progress.c (handle_progress): Make use of it.
2003-04-14Reverted recent changes to --output. This is the stable branch and itWerner Koch1-3/+0
might break applications.
2003-04-13Forgot to sync the CVS. Check in the code again.Timo Schulz1-0/+3
2003-04-09* hkp.c (dehtmlize): Fix bug #121 (memory corruption on some platforms).David Shaw1-4/+5
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-21* status.c (do_get_from_fd): Accept 'y' as well as 'Y' for --command-fdDavid Shaw1-6/+11
boolean input. * g10.c (main): Add deprecated option warning for --list-ownertrust. Add --compression-algo alias for --compress-algo. Change --version output strings to match "showpref" strings, and make translatable.
2003-02-26* trustdb.c (validate_keys): Mask the ownertrust when building the list ofDavid Shaw1-2/+2
fully valid keys so that disabled keys are still counted in the web of trust. * gpgv.c (main): Fix bug #113 - gpgv should accept the --ignore-time-conflict option. * g10.c (main): Use 3DES for the s2k cipher in --openpgp mode. Double the amount of secure memory to 32k (keys are getting bigger these days).
2003-02-23* g10.c (main): --openpgp disables --pgpX.David Shaw1-0/+4
* keyedit.c (show_prefs): Make strings translatable.
2003-02-11* g10.c (print_mds): Check that SHA384 and 512 are available before usingDavid Shaw1-6/+12
them as they are no longer always available. * exec.c (set_exec_path): Add debugging line. * Makefile.am: Use the more correct @PACKAGE@ rather than "gnupg".
2003-02-05* g10.c (print_hex, print_mds): Print long hash strings a lot neater.David Shaw1-57/+88
This assumes at least an 80-character display, as there are a few other similar assumptions here and there. Users who need unformatted hashes can still use with-colons.
2003-02-04* armor.c (parse_hash_header, armor_filter): Accept the new SHAs in theDavid Shaw1-13/+25
armor Hash: header. * g10.c (print_hex): Print long hash strings a little neater. (print_mds): Add the new SHAs to the hash list.
2003-01-16* g10.c (add_group): Trim whitespace after a group name so it does notDavid Shaw1-0/+2
matter where the user puts the = sign.
2003-01-14* g10.c (add_group): Fixed group parsing to allow more than oneWerner Koch1-2/+5
delimiter in a row and also allow tab as delimiter.
2002-12-11* mainproc.c (proc_tree): Handle multiple detached sigs concatenatedDavid Shaw1-1/+2
together by warning the user and processing only the first. * g10.c (main): Comment out --list-trust-path until it can be implemented.
2002-12-05* g10.c: New options --[no-]mangle-dos-filenames.Werner Koch1-15/+14
* options.h (opt): Added mangle-dos-filenames. * openfile.c (open_outfile) [USE_ONLY_8DOT3]: Truncate the filename only when this option is set; this is the default. NOT YET TESTED!
2002-12-03* options.h, g10.c (main), encode.c (write_pubkey_enc_from_list),David Shaw1-10/+24
pkclist.c (algo_available), revoke.c (gen_revoke): Add --pgp8 mode. This is basically identical to --pgp7 in all ways except that signing subkeys, v4 data sigs (including expiration), and SK comments are allowed. * getkey.c (finish_lookup): Comment.
2002-12-03* main.h, keylist.c (reorder_keyblock), keyedit.c (keyedit_menu): ReorderDavid Shaw1-1/+1
user ID display in the --edit-key menu to match that of the --list-keys display. * tdbio.c (tdbio_read_record, tdbio_write_record): Comments to reserve a byte for trust model in the devel version. * g10.c (add_notation_data): Fix initialization.
2002-11-24* g10.c (add_notation_data): Disallow notation names that do not contain aDavid Shaw1-4/+27
'@', unless --expert is set. This is to help prevent people from polluting the (as yet unused) IETF namespace. * main.h: Comments about default algorithms. * photoid.c (image_type_to_string): Comments about 3-letter file extensions. * g10.c (main): Add --strict and --no-strict as no-ops to smooth transition when the devel GnuPG becomes the stable one.