aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * armor.c (parse_header_line): A fussy bit of 2440: header lines areDavid Shaw2005-11-132-4/+24
| | | | | | delimited with a colon-space pair. Therefore a line such as "Comment: " is actually legal, albeit not particularly useful.
* * trustdb.h, trustdb.c (clean_key): New function to handle keyDavid Shaw2005-11-126-67/+71
| | | | | | | | | | | cleaning from one convenient place. * options.h, import.c (parse_import_options, clean_sigs_from_all_uids, import_one): Reduce clean options to two: clean and minimize. * parse-packet.c (setup_user_id): Remove. (parse_user_id, parse_attribute): Just use xmalloc_clear instead.
* * trustdb.c (clean_uid_from_key, clean_uids_from_key): SignificantlyDavid Shaw2005-11-122-66/+54
| | | | | simpler implementation.
* * keyedit.c (keyedit_menu, menu_clean_sigs_from_uids): Add "minimize"David Shaw2005-11-103-10/+19
| | | | | command.
* * packet.h, keyedit.c (menu_clean_uids_from_key), trustdb.cDavid Shaw2005-11-104-20/+18
| | | | | | (clean_uids_from_key): Fix display bug where sigs cleaned for other reasons caused a uid to appear as if it had been compacted.
* * packet.h: Move some flags to a bitfield. Change all callers.David Shaw2005-11-106-37/+44
|
* * options.h, import.c (parse_import_options, clean_sigs_from_all_uids,David Shaw2005-11-104-7/+16
| | | | | | import_one): Add import-minimal option. Similar to export-minimal, except it works on the way in.
* * trustdb.h, trustdb.c (clean_sigs_from_uid): Add flag to remove allDavid Shaw2005-11-106-24/+27
| | | | | | | | non-selfsigs from key during cleaning. Change all callers. * export.c (do_export_stream): Use it here so we don't need additional minimize code in the export path.
* * options.skel: Add a section for --encrypt-to. This is Debian bugDavid Shaw2005-11-062-0/+13
| | | | | 336211 by Javier Fernández-Sanguino Peña.
* * Makefile.am: Include @LIBUSB_CPPFLAGS@ in our CPPFLAGS. StrictlyDavid Shaw2005-11-064-4/+18
| | | | | | | | | | | speaking this should be only in gpg_CPPFLAGS, but then we have to compile everything twice for gpg and gpgv. * apdu.c (open_pcsc_reader): Fix double free. * gpg.c (main) [__APPLE__]: Default the PCSC driver to the OS X location. Suggested by Patty A. Hardy.
* * libusb.m4: Check for libusb-config and if we find it, use --libs andDavid Shaw2005-11-062-3/+28
| | | | | | --cflags. This is needed for OS X since libusb brings in dependencies to various Apple libraries.
* Fix various build warnings reported by Joe Vender on MinGW.David Shaw2005-11-036-1/+22
|
* * gpg.sgml: Clarify what is and isn't included in a "clean sigs".David Shaw2005-11-022-9/+15
|
* * trustdb.c (clean_sigs_from_uid): Include sigs from unavailable keys inDavid Shaw2005-11-022-5/+17
| | | | | the sigs that are cleaned. Suggested by Dirk Traulsen and many others.
* * import.c (import_one): Do collapse_uids() before we do any cleaningDavid Shaw2005-11-024-9/+28
| | | | | | | | | | | | | | | so keyserver mangled keys with doubled user IDs can be properly cleaned - possibly sigs on the different user IDs cancel each other out. * import.c (parse_import_options), export.c (parse_export_options): List "xxx-clean" before the longer options so we don't end up with a partial match on the longer options. * trustdb.c (clean_uids_from_key): Return proper number of cleaned user IDs. Don't count user IDs as cleaned unless we actually delete something.
* * gpg.sgml: Document backsign, --require-backsigs, andDavid Shaw2005-10-273-3/+34
| | | | | | | --no-require-backsigs. * DETAILS: Clarify Key-Usage.
* * keyedit.c (menu_addrevoker), getkey.c (finish_lookup): Fix problem withDavid Shaw2005-10-273-4/+13
| | | | | | adding a cert-only designated revoker. Code was looking for a key with sign ability, and not cert ability. Noted by Timo Schulz.
* cygwin fixesWerner Koch2005-10-274-40/+170
|
* * keygen.c (proc_parameter_file): Default key and subkey usage flags toDavid Shaw2005-10-262-7/+35
| | | | | | algo capabilities if parameter file doesn't specify them. Noted by Timo Schulz.
* * readline.m4: Check for rl_completion_func_t and rl_completion_matches.David Shaw2005-10-212-1/+8
|
* Fixed minor card related bugs and enhanced status messagesWerner Koch2005-10-186-56/+129
|
* exported subkeys are now merged into one output keyblockWerner Koch2005-10-178-126/+273
|
* * NEWS: Clarify the cURL keyserver changes, and add a note about gpg-zip.David Shaw2005-10-143-17/+18
| | | | | | * configure.ac: Remove the backsig configure options since this is all done at runtime now.
* * keyedit.c (keyedit_menu, menu_backsign): New "backsign" command toDavid Shaw2005-10-146-5/+175
| | | | | | | | | add 0x19 backsigs to old keys that don't have them. * misc.c (parse_options): Fix build warning. * main.h, keygen.c (make_backsig): Make public.
* * options.h, getkey.c (merge_selfsigs_subkey), gpg.c (main), sig-check.cDavid Shaw2005-10-125-12/+33
| | | | | | (signature_check2): Add --require-backsigs and --no-require-backsigs. Currently defaults to --no-require-backsigs.
* * getkey.c (merge_selfsigs_subkey), sig-check.c (signature_check2),David Shaw2005-10-116-24/+35
| | | | | | | keygen.c (make_backsig): Did some backsig interop testing with the PGP folks. All is well, so I'm turning generation of backsigs on for new keys. Checking for backsigs on verification is still off.
* Yet another fix for the gpg.c renameWerner Koch2005-10-063-1/+20
|
* Fixes for the g10.c -> gpg.c renamedWerner Koch2005-10-053-6/+10
|
* Renamed g10.c to gpg.cWerner Koch2005-10-0536-2548/+2749
| | | | Filelength fixes for W32.
* 2005-10-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-034-6/+9
| | | | | | | | | | * configure.ac [!$try_gettext]: Invoke AM_PO_SUBDIRS. scripts/ 2005-10-02 Marcus Brinkmann <[email protected]> * autogen.sh (DIE): Remove ugly hack for po dir suppression.
* * gpg.sgml: Note that --display-charset is just for display andDavid Shaw2005-09-222-6/+26
| | | | | | doesn't recode data. Note that --search-keys can use the standard search syntax now (<, =, *, @). Document the @-address mode.
* * mainproc.c (proc_symkey_enc): Take care of a canceled passphraseWerner Koch2005-09-204-4/+27
| | | | | prompt.
* * keylist.c (reorder_keyblock, do_reorder_keyblock): Reorder attributeDavid Shaw2005-09-203-4/+24
| | | | | | | | IDs as well as regular text IDs. * plaintext.c (ask_for_detached_datafile): Use make_filename() on filename so tilde expansion works.
* * main.h, misc.c (parse_options): Add the ability to have helpDavid Shaw2005-09-147-63/+130
| | | | | | | | | 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.
* * keyedit.c (show_names): Moved name display code out fromDavid Shaw2005-09-102-56/+80
| | | | | | | show_key_with_all_names. (keyedit_menu): Call it here for pref and showpref so they can show only the selected user ID. Suggested by Timo Schulz.
* Updated card stuff to support T=0 cards.Werner Koch2005-09-079-460/+395
|
* Add "help" sub option to --*-options.Werner Koch2005-09-074-1/+22
|
* * parse-packet.c (enum_sig_subpkt, parse_signature,David Shaw2005-09-022-12/+22
| | | | | | | parse_attribute_subpkts): Make a number of warnings verbose items. These fire on many slightly mangled keys in the field, so the warning is becoming burdensome.
* * photoid.h, photoid.c (generate_photo_id): Allow passing in aDavid Shaw2005-09-014-25/+52
| | | | | | | | suggested filename. * keyedit.c (keyedit_menu, menu_adduid): Call it here so "addphoto filename" works.
* * mpicoder.c (mpi_read): Fix minor bug in reading a zero-length MPIDavid Shaw2005-09-012-5/+14
| | | | | (was failing unnecessarily).
* * photoid.c (generate_photo_id): Enable readline completion and tildeDavid Shaw2005-08-312-3/+19
| | | | | expansion for the JPEG prompt.
* * fileutil.c (untilde): New. Expand ~/foo and ~username/foo filenamesDavid Shaw2005-08-314-9/+82
| | | | | | into full paths using $HOME if possible, or getpwuid/getpwnam if necessary. (make_filename): Use it here.
* * misc.c (openpgp_pk_algo_usage): Default to allowing CERT for signingDavid Shaw2005-08-277-17/+58
| | | | | | | | | | | | | | | | | algorithms. * keyedit.c (sign_uids): Don't request a signing key to make a certification. * keygen.c (do_add_key_flags): Force the certify flag on for all primary keys, as the spec requires primary keys must be able to certify (if nothing else, which key is going to issue the user ID signature?) (print_key_flags): Show certify flag. (ask_key_flags, ask_algo): Don't allow setting the C flag for subkeys. * keyid.c (usagestr_from_pk), getkey.c (parse_key_usage): Distinguish between a sign/certify key and a certify-only key.
* * keyedit.c (ask_revoke_sig): Add a revsig --with-colons mode.David Shaw2005-08-272-9/+31
| | | | | Suggested by Michael Schierl.
* * ksutil.h, ksutil.c (parse_ks_options): Remove exact-name andDavid Shaw2005-08-265-72/+60
| | | | | | | | | exact-email. (classify_ks_search): Mimic the gpg search modes instead with *, =, <, and @. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Call them here. Suggested by Jason Harris.
* * gpg.sgml: Fix documentation for setpref/updpref, documentDavid Shaw2005-08-232-21/+70
| | | | | | | import-clean, --status-file, --logger-file, --attribute-file, --passphrase-file, --passphrase, and --command-file. Comment out the "+word match" selection syntax since it isn't supported.
* * gnupg.spec.in: Distribute gpg-zip.David Shaw2005-08-222-0/+8
|
* * Makefile.am: No need to link with curl any longer.David Shaw2005-08-215-38/+84
| | | | | | | | | | | | | * main.h, misc.c (path_access): New. Same as access() but does a PATH search like execlp. * keyserver.c (curl_can_handle): Removed. Replaced by... (curl_cant_handle): We are now relying on curl as the handler of last resort. This is necessary because PGP LDAP and curl LDAP are apples and oranges. (keyserver_typemap): Only test for ldap and ldaps. (keyserver_spawn): If a given handler is unusable (as determined by path_access()) then try gpgkeys_curl.
* * exec.h, exec.c (make_tempdir, expand_args, exec_write, exec_read):David Shaw2005-08-213-24/+38
| | | | | Minor cleanup to use bitfield flags instead of a bunch of integers.
* * g10.c (main): Add aliases sign-with->local-user and user->recipientDavid Shaw2005-08-202-4/+15
| | | | | to make switching from PGP command line to GPG easier.