aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-11-05Collected fixes.Werner Koch1-1/+0
2006-10-23.Werner Koch1-1/+7
2006-10-19FixesWerner Koch1-2/+2
2006-10-13* parse-packet.c (parse_symkeyenc): Show the unpacked as well as theDavid Shaw1-0/+31
packed s2k iteration count. * main.h, options.h, gpg.c (encode_s2k_iterations, main), passphrase.c (hash_passphrase): Add --s2k-count option to specify the number of s2k hash iterations.
2006-10-04Re-enabled --passphrase-fdWerner Koch1-1/+1
2006-10-04Fixed agent access for gpg.Werner Koch1-53/+35
2006-10-04Preparing a new releaseWerner Koch1-56/+12
2006-10-02Fix for bug 537Werner Koch1-5/+5
2006-09-21Various updatesWerner Koch1-1/+2
2006-09-14Take advantage of newer gpg-error features.Werner Koch1-1/+1
2006-09-13Various fixes and new features.Werner Koch1-0/+1
Enhanced gpg-connect-agent.
2006-09-06The big Assuan error code removal.Werner Koch1-0/+1
2006-09-06Minor changes and typo fixes.Werner Koch1-0/+6
2006-08-21Migrated more stuff to doc/Werner Koch1-36/+35
Migrated the gpg regression tests. Some changes tp the gpg code to fix bugs and for the use in testing. make distcheck works now with gpg enabled.
2006-08-16With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch1-5/+3
shows no prblems. Needs more testing of course.
2006-07-27Preparing a new releasegnupg-1.9.22Werner Koch1-7/+1
2006-06-27Ported patches from 1.4.x Werner Koch1-1/+88
2006-06-27do no use reopen_std under W32.Werner Koch1-2/+2
2006-06-22* options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,David Shaw1-0/+15
keygen_add_std_prefs, proc_parameter_file): Add --default-keyserver-url to specify a keyserver URL at key generation time, and "Keyserver:" keyword for doing the same through a batch file.
2006-06-20Updated FSF's address.Werner Koch1-0/+9
2006-05-24Still making gpg2 work.Werner Koch1-6/+6
At least the keyids are now correctly computed again.
2006-05-23* gpg.c (reopen_std): New function to reopen fd 0, 1, or 2 if we areDavid Shaw1-0/+62
called with them closed. This is to protect our keyring/trustdb files from corruption if they get attached to one of the standard fds. Print a warning if possible that this has happened, and fail completely if we cannot reopen (should never happen). (main): Call it here.
2006-05-23g10/ does build again.Werner Koch1-10/+17
2006-04-28Merged recent changes from 1.4Werner Koch1-6/+35
2006-04-20* options.h, gpg.c (main): Add --enable-dsa2 and --disable-dsa2. DefaultsDavid Shaw1-0/+7
to disable. * pkclist.c (algo_available): If --enable-dsa2 is set, we're allowed to truncate hashes to fit DSA keys. * sign.c (match_dsa_hash): New. Return the best match hash for a given q size. (do_sign, hash_for, sign_file): When signing with a DSA key, if it has q==160, assume it is an old DSA key and don't allow truncation unless --enable-dsa2 is also set. q!=160 always allows truncation since they must be DSA2 keys. (make_keysig_packet): If the user doesn't specify a --cert-digest-algo, use match_dsa_hash to pick the best hash for key signatures.
2006-04-20* gpg.c (print_mds), armor.c (armor_filter, parse_hash_header): AddDavid Shaw1-3/+18
SHA-224. * sign.c (write_plaintext_packet), encode.c (encode_simple): Factor common literal packet setup code from here, to... * main.h, plaintext.c (setup_plaintext_name): Here. New. Make sure the literal packet filename field is UTF-8 encoded. * options.h, gpg.c (main): Make sure --set-filename is UTF-8 encoded and note when filenames are already UTF-8.
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-750/+1446
The gpg part does not yet build.
2006-04-09* getkey.c (parse_auto_key_locate): Fix dupe-removal code.David Shaw1-3/+8
* keyedit.c (menu_backsign): Allow backsigning even if the secret subkey doesn't have a binding signature. * armor.c (radix64_read): Don't report EOF when reading only a pad (=) character. The EOF actually starts after the pad. * gpg.c (main): Make --export, --send-keys, --recv-keys, --refresh-keys, and --fetch-keys follow their arguments from left to right. Suggested by Peter Palfrader.
2006-04-05RenamedWerner Koch1-0/+0
2005-10-05Renamed g10.c to gpg.cWerner Koch1-4035/+0
Filelength fixes for W32.
2005-09-14* main.h, misc.c (parse_options): Add the ability to have helpDavid Shaw1-24/+46
strings in xxx-options commands. * keyserver.c (keyserver_opts), import.c (parse_import_options), export.c (parse_export_options), g10.c (parse_list_options, main): Add help strings to xxx-options.
2005-08-20* g10.c (main): Add aliases sign-with->local-user and user->recipientDavid Shaw1-4/+9
to make switching from PGP command line to GPG easier.
2005-08-05* g10.c (main), passphrase.c (set_passphrase_from_string): NewDavid Shaw1-0/+5
--passphrase command line option. Only useful in very special circumstances.
2005-07-27Converted all m_free to xfree etc.Werner Koch1-59/+59
2005-07-22* gpg.sgml (http):Werner Koch1-0/+7
* g10.c, options.h: New option --exit-on-status-write-error. * status.c (write_status_text): Make use of this option.
2005-07-22* options.h, g10.c (main), keyedit.c (keyedit_menu): Use --interactiveDavid Shaw1-6/+0
to enable the uid walking when signing a key with no uids specified to sign. * keylist.c (list_keyblock_print): Fix silly typo. Noted by Greg Sabino Mullane.
2005-07-19* g10.c, options.h: New option --limit-card-insert-tries.Werner Koch1-1/+8
* cardglue.c (open_card): Use it.
2005-06-20* gpg.sgml: Document smartcard related options.Werner Koch1-2/+7
* g10.c, options.h: New option --no-interactive-selection. * keyedit.c (keyedit_menu): Use it.
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-2/+2
char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
2005-06-08* options.h, g10.c (main), export.c (parse_export_options,David Shaw1-2/+2
do_export_stream): Add export-options export-clean-sigs, export-clean-uids, export-clean-subkeys, and export-clean which is all of the above. Export-minimal is the same except it also removes all non-selfsigs. export-unusable-sigs is now a noop.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-05-27* g10.c (main): Default {export|import}-unusable-sigs to off until theDavid Shaw1-2/+2
"clean" UI can be finished.
2005-05-24(add_notation_data): Check number of at-signs.Werner Koch1-1/+1
2005-05-24(add_notation_data): Check number of at-signs.Werner Koch1-1/+7
2005-05-23* cardglue.c (open_card): Check USE_AGENT.Werner Koch1-1/+1
* g10.c (main): Option --debug-ccid-driver may now be given several times increase the debug level. * ccid-driver.c (parse_ccid_descriptor): Mark SCR335 FW version 5.14 as good. (do_close_reader): Never do a reset. The caller should instead make sure that the reader has been closed properly. The new retry code in ccid_slot_status will make sure that the readersatrts up fine even if the last process didn't closed the USB connection properly. (ccid_get_atr): For certain readers try switching to ISO mode. Thanks to Ludovic Rousseau for this hint and the magic numbers. (print_command_failed): New. (bulk_in): Use it here. Add new arg NO_DEBUG. (ccid_slot_status): Disabled debugging.
2005-05-14* build-packet.c (do_comment): Removed. (build_packet): IgnoreDavid Shaw1-9/+4
comment packets. * export.c (do_export_stream): Don't export comment packets any longer. * options.h, g10.c (main): Remove --sk-comments and --no-sk-comments options, and replace with no-op.
2005-05-06* main.h, keygen.c (parse_expire_string, ask_expire_interval), sign.cDavid Shaw1-2/+2
(sign_file, clearsign_file, sign_symencrypt_file), g10.c (main), keyedit.c (sign_uids): Use seconds rather than days internally to calculate expiration. We no longer need the day-based code as we don't generate v3 keys.
2005-05-05* options.h, g10.c (main): Add new --default-sig-expire andDavid Shaw1-8/+34
--default-cert-expire options. Suggested by Florian Weimer. * main.h, keygen.c (parse_expire_string, ask_expire_interval): Use defaults passed in, or "0" to control what default expiration is. * keyedit.c (sign_uids), sign.c (sign_file, clearsign_file, sign_symencrypt_file): Call them here, so that default expiration is used when --ask-xxxxx-expire is off.
2005-04-11* g10.c (main, add_notation_data, add_policy_url)Werner Koch1-6/+10
(add_keyserver_url): Use isascii() to protect the isfoo macros and to replace direct tests. Possible problems noted by Christian Biere. * keyserver.c (parse_keyserver_uri): Ditto. * g10.c (main): Declare --pipemode deprecated. * misc.c (deprecated_command): New.
2005-04-05Changes to make use of code taken from libassuan. This replaces theWerner Koch1-0/+8
old ad-hoc connection code to gpg-agent. We do need this for the forthcoming diversion of card code to an already running gpg-agent with card-support.