aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * http.c (send_request, http_open, http_open_document): Pass in authDavid Shaw2005-06-222-7/+17
| | | | | and proxyauth that can override the in-url auth.
* * http.c (send_request): Need == after the radix64-encoded basic authDavid Shaw2005-06-222-4/+9
| | | | | string.
* Post release version number updateWerner Koch2005-06-211-1/+1
|
* * conventional.test (algos): Uhh ohh, cut+paste error and notRC-1-4-2rc2Werner Koch2005-06-212-2/+7
| | | | | tested.
* .Werner Koch2005-06-211-27/+122
|
* Preparing a release candidateWerner Koch2005-06-2129-11113/+11893
|
* * gpgkeys_hkp.c (append_path, send_key, get_key, search_key, main),David Shaw2005-06-213-11/+32
| | | | | gpgkeys_oldhkp.c (main): Properly handle double slashes in paths.
* * NEWS: Note key cleaning commands.David Shaw2005-06-202-0/+13
|
* * gpg.sgml: Document --edit-key/clean, import-clean, and export-clean.David Shaw2005-06-202-0/+67
|
* * keygen.c (save_unprotected_key_to_card): Better fix for gcc4 warning.David Shaw2005-06-202-1/+6
|
* * gpg.sgml: Document smartcard related options.Werner Koch2005-06-2013-51/+143
| | | | | | * g10.c, options.h: New option --no-interactive-selection. * keyedit.c (keyedit_menu): Use it.
* (parse_signature): Use log_info for messagesWerner Koch2005-06-186-5/+22
| | | | | | | about missing timestamp or keyid. In case we don't use that key there won't be no further error and thus gpg does not need to return with an error.
* * keygen.c (save_unprotected_key_to_card): Fix gcc4 warning.David Shaw2005-06-145-8/+45
| | | | | | | | | | * options.h, import.c (parse_import_options, import_one): Add import-clean-uids option to automatically compact unusable uids when importing. Like import-clean-sigs, this may nodify the local keyring. * trustdb.c (clean_uids_from_key): Only allow selfsigs to be a candidate for re-inclusion.
* * configure.ac: Add check for no-pointer-sign warning keyword, andDavid Shaw2005-06-132-1/+20
| | | | | disable. This is gcc4 specific.
* * options.h, import.c (parse_import_options, clean_sigs_from_all_uids,David Shaw2005-06-123-6/+49
| | | | | | | | import_one): Add import-clean-sigs option to automatically clean a key when importing. Note that when importing a key that is already on the local keyring, the clean applies to the merged key - i.e. existing superceded or invalid signatures are removed.
* * getkey.c (merge_selfsigs_main, merge_selfsigs_subkey): Make sureDavid Shaw2005-06-122-7/+18
| | | | | | that even after keys may be merged together, we only have one chosen selfsig.
* * options.h, import.c (parse_import_options, delete_inv_parts):David Shaw2005-06-103-26/+5
| | | | | import-unusable-sigs is now a noop.
* * options.h, export.c (do_export_stream), keyedit.c (keyedit_menu,David Shaw2005-06-106-108/+10
| | | | | | | | | menu_clean_subkeys_from_key), trustdb.h, trustdb.c (clean_subkeys_from_key): Remove subkey cleaning function. It is of very limited usefulness since it cannot be used on any subkey that can sign, and can only affect multiple selfsigs on encryption-only subkeys.
* * keydb.h, kbnode.c (undelete_kbnode): New function to undelete aDavid Shaw2005-06-104-10/+53
| | | | | | | | kbnode. * trustdb.c (clean_uids_from_key): Further tweak the algorithm so that the last good selfsig is kept when the chosen selfsig is a revocation.
* * trustdb.c (clean_uids_from_key), keyedit.cDavid Shaw2005-06-093-33/+35
| | | | | | (menu_clean_uids_from_key): Tweak algorithm to preserve the last selfsig which helps prevent uid resurrections.
* * dotlock.c [HAVE_DOSISH_SYSTEM]: Fix unused function warnings on mingw32.David Shaw2005-06-082-49/+48
| | | | | Noted by Joe Vender.
* * 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.