aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * getkey.c (fixup_uidnode, merge_selfsigs_main): Handle both expiredDavid Shaw2005-06-082-12/+16
| | | | | | | and revoked uids in fixup_uidnode(). No need to special case in merge_selfsigs_main(). This also means that an expired uid will have its selfsig tagged with chosen_selfsig.
* * options.h, g10.c (main), export.c (parse_export_options,David Shaw2005-06-084-23/+46
| | | | | | | | 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.
* * random.c: Fix prototype of the fast random gatherer. Noted by JoeDavid Shaw2005-06-072-2/+7
| | | | | Vender.
* * ksutil.c (init_ks_options, parse_ks_options): Provide a default "/"David Shaw2005-06-052-0/+18
| | | | | | path unless overridden by the config. Allow config to specify items multiple times and take the last specified item.
* * gpgkeys_hkp.c, gpgkeys_oldhkp.c: Add support for HKP servers thatDavid Shaw2005-06-043-17/+40
| | | | | aren't at the root path. Suggested by Jack Bates.
* * signal.c [HAVE_DOSISH_SYSTEM]: Fix unused function warnings on mingw32.David Shaw2005-06-013-19/+17
| | | | | | | Noted by Joe Vender. * passphrase.c [_WIN32]: Remove unused variables.
* * ksutil.c [HAVE_DOSISH_SYSTEM]: Fix warnings on mingw32. Noted by JoeDavid Shaw2005-06-012-8/+14
| | | | | Vender.
* * keyedit.c (menu_clean_uids_from_key, menu_clean_subkeys_from_key),David Shaw2005-05-313-4/+11
| | | | | | trustdb.c (clean_uids_from_key, clean_subkeys_from_key): Fix mingw32 build warnings. Noted by Joe Vender.
* .Werner Koch2005-05-311-1/+1
|
* *** empty log message ***RC-1-4-2rc1Werner Koch2005-05-311-1/+1
|
* * keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.Werner Koch2005-05-3134-7005/+6873
| | | | | | | | | | | | | * cardglue.c (assuan_strerror, assuan_transact): Dummy functions if not build with agent support. * zh_TW.po, zh_CN.po, es.po, ro.po: Updated. * tr.po: Updated from TP. Note: this is an exception in general translations from the Robot are not anymore accepted. * regcomp.c (MB_CUR_MAX) [_WIN32]: Define it only if not defined.
* Updated FSF street address and preparations for a release candidate.Werner Koch2005-05-31391-37675/+39252
|
* * trustdb.h, trustdb.c (clean_subkeys_from_key): New. Walk throughDavid Shaw2005-05-314-20/+129
| | | | | | | | | | | | | the subkeys on a key, and mark any that aren't usable for deletion. Note that a signing subkey is never marked for deletion since these keys are still useful after expiration or revocation. * keyedit.c (menu_clean_subkeys_from_key): New function to call clean_subkeys_from_key() on a key. Note that the strings here are not marked for translation yet. The UI is still in flux, and there is no point in annoying the translators twice. (keyedit_menu): Call it here as part of the "clean" command.
* * strgutil.c (set_native_charset) [_WIN32]: Add alias for codepageDavid Shaw2005-05-302-1/+7
| | | | | CP65001 to utf-8.
* * trustdb.h, trustdb.c (clean_uids_from_key): New. Walk through theDavid Shaw2005-05-304-14/+144
| | | | | | | | | user IDs on a key, and mark any that aren't valid for deletion. * keyedit.c (menu_clean_uids_from_key): New function to call clean_uids_from_key() on a key. (keyedit_menu): Call it from here as part of the "clean" command.
* * g10.c (main): Default {export|import}-unusable-sigs to off until theDavid Shaw2005-05-272-2/+7
| | | | | "clean" UI can be finished.
* * NEWS: Note command completion and the new curl-based HKP helper.David Shaw2005-05-262-1/+14
|
* * passphrase.c (ask_passphrase): Unescape the description string.Werner Koch2005-05-247-51/+66
| | | | | | | * cardglue.c (unescape_status_string): Removed. Changed all caller to use ... * misc.c (unescape_percent_string): New.
* (add_notation_data): Check number of at-signs.Werner Koch2005-05-241-1/+1
|
* (add_notation_data): Check number of at-signs.Werner Koch2005-05-242-1/+11
|
* * app-openpgp.c, app-common.h: Again updated from gnupg 1.9 CVS.Werner Koch2005-05-234-232/+22
| | | | | | | * cardglue.c (open_card): Check USE_AGENT. (agent_scd_checkpin): Implemented Assuan part. (agent_scd_change_pin): Ditto.
* * cardglue.c (open_card): Check USE_AGENT.Werner Koch2005-05-234-75/+190
| | | | | | | | | | | | | | | | | | | * 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.
* * cardglue.c (send_status_info): Make CTRL optional.Werner Koch2005-05-2118-211/+726
| | | | | | | | | | | (agent_scd_writekey, inq_writekey_parms): New. (agent_openpgp_storekey): Removed. * cardglue.h: Add a few more error code mappings. * keygen.c (copy_mpi): Removed. (save_unprotected_key_to_card): Changed to use agent_scd_writekey. * app-common.h, app-openpgp.c, tlv.c, tlv.h: Updated from newer version in gnupg 1.9 CVS.
* (ccid_transceive): Arghhh. The seqno is anotherWerner Koch2005-05-2010-225/+1086
| | | | | | bit in the R-block than in the I block, this was wrong at one place. Fixes bug #419 and hopefully several others.
* * gpg.sgml: Document --default-sig-expire and --default-cert-expire,David Shaw2005-05-142-27/+47
| | | | | | remove --sk-comments and --no-sk-comments, and clarify the form of a non-IETF notation for --sig-notation and --cert-notation.
* * build-packet.c (do_comment): Removed. (build_packet): IgnoreDavid Shaw2005-05-145-41/+41
| | | | | | | | | | | 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.
* * keygen.c (write_selfsigs): Rename from write_selfsig. Write the sameDavid Shaw2005-05-113-19/+52
| | | | | | | | | | | | | | | selfsig into both the pk and sk, so that someone importing their sk (which will get an autoconvert to the pk) won't end up with two selfsigs. (do_generate_keypair): Call it from here. * parse-packet.c (can_handle_critical_notation): New. Check for particular notation tags that we will accept when critical. Currently, that's only [email protected], since we know how to handle it (pass it through to a mail program). (can_handle_critical): Call it from here. (parse_one_sig_subpkt): Sanity check that notations are well-formed in that the internal lengths add up to the size of the subpacket.
* (do_close_reader): Don't do a reset before close.Werner Koch2005-05-072-1/+8
| | | | | | Some folks reported that it makes the SCR335 hang less often. Look at the source on how to re-enable it.
* * main.h, keygen.c (parse_expire_string, ask_expire_interval), sign.cDavid Shaw2005-05-066-62/+65
| | | | | | | | (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.
* * sign.c (sign_file, clearsign_file, sign_symencrypt_file): Use theDavid Shaw2005-05-062-6/+11
| | | | | default sig expire value when signing in batchmode.
* * Makefile.am, packet.h, main.h, comment.c: Remove comment.c. We don'tDavid Shaw2005-05-055-111/+3
| | | | | use any of these functions any longer.
* Remove add_days_to_timestamp (unused)David Shaw2005-05-054-8/+8
|
* * keygen.c (start_tree): New function to "prime" a KBNODE list.David Shaw2005-05-054-46/+34
| | | | | | | | | | | | (do_generate_keypair): Use it here rather than creating and deleting a comment packet. * keygen.c (gen_elg, gen_dsa): Do not put public factors in secret key as a comment. * options.h, encode.c (encode_simple, encode_crypt), keygen.c (do_create): Remove disabled comment packet code.
* * keygen.c (keygen_set_std_prefs): Add SHA256 and BZip2 to defaultDavid Shaw2005-05-052-3/+22
| | | | | preferences.
* * options.h, g10.c (main): Add new --default-sig-expire andDavid Shaw2005-05-057-48/+129
| | | | | | | | | | | | --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.
* * gpg.sgml: Clarify --min-cert-level a bit.David Shaw2005-05-052-5/+9
|
* * ksutil.h, ksutil.c: #ifdef so we can build without libcurl orDavid Shaw2005-05-043-4/+19
| | | | | fake-curl.
* * gpgkeys_http.c: Need GET defined.David Shaw2005-05-042-0/+6
|
* * passphrase.c (agent_get_passphrase): Add new arg CACHEID.Werner Koch2005-05-038-34/+174
| | | | | | | | | | | | | | Changed all callers. (ask_passphrase): Add new arg CACHEID and use it in agent mode. Changed all callers. (passphrase_clear_cache): New arg CACHEID. Changed all callers. * cardglue.c (format_cacheid): New. (pin_cb): Compute a cache ID. (agent_scd_pksign, agent_scd_pkdecrypt): Use it. (agent_clear_pin_cache): New. * card-util.c (change_pin): Clear the PIN cache. (check_pin_for_key_operation): Ditto.
* * gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup andDavid Shaw2005-05-024-10/+23
| | | | | comments as to the size of MAX_LINE and MAX_URL.
* * trustdb.h, trustdb.c (mark_usable_uid_certs): Add flags for theDavid Shaw2005-04-244-21/+164
| | | | | | | | | | no-pubkey and chosen revocation cases. (clean_uid): New function to clean a user ID of unusable (as defined by mark_usable_uid_certs) certs. * keyedit.c (keyedit_menu, menu_clean_uids): Call it here for new "clean" command that removes unusable sigs from a key.
* * libcurl.m4: Add a check for curl_free() since older versions ofDavid Shaw2005-04-242-1/+24
| | | | | libcurl don't have it. Substitute free() as an alternative.
* * trustdb.h, keyedit.c (keyedit_menu, menu_select_uid_namehash): AllowDavid Shaw2005-04-243-2/+53
| | | | | | specifying user ID via the namehash from --with-colons --fixed-list-mode --list-keys. Suggested by Peter Palfrader.
* * gnupg.spec.in: No longer any need to override libexecdir. TheDavid Shaw2005-04-232-1/+10
| | | | | makefiles now calculate this correctly internally.
* * distfiles: Add assuan.h.David Shaw2005-04-222-0/+5
|
* * keyedit.c (sign_uids, keyedit_menu): When the user requests to signDavid Shaw2005-04-222-17/+36
| | | | | | | a key without specifying which user IDs to sign, and declines to sign all user IDs, walk through the set of user IDs and prompt for which to sign.
* * mainproc.c (symkey_decrypt_seskey): There is no need to have anDavid Shaw2005-04-222-33/+40
| | | | | | | extra check for a bad passphrase and/or unknown cipher algorithm here. We'll fail quite happily later, and usually with a better error message to boot.
* * keyserver.c (keyserver_spawn): Free some memory.David Shaw2005-04-173-1/+31
| | | | | * sign.c (hash_for): Comments.
* * gpgkeys_hkp.c: New hkp handler that uses curl or curl-shim.David Shaw2005-04-174-782/+328
| | | | | | | * Makefile.am: Build new gpgkeys_hkp. * curl-shim.c (curl_easy_perform): Cleanup.
* * ksutil.h, ksutil.c (curl_writer), gpgkeys_curl.c (get_key): Pass aDavid Shaw2005-04-174-18/+39
| | | | | | context to curl_writer so we can support multiple fetches in a single session.