aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * gpgkeys_ldap.c (build_attrs): Add "pgpKeySize" and "pgpSubKeyID"David Shaw2004-07-282-2/+48
| | | | | | | | attributes so we can do subkey searches. * gpgkeys_ldap.c (main): Under certain error conditions, we might try and unbind twice. Don't.
* * gpgkeys_ldap.c (join_two_modlists): New. (send_key): Use new function soDavid Shaw2004-07-282-19/+70
| | | | | | | we can try a modify operation first, and fail over to an add if that fails. Add cannot cope with the NULLs at the head of the modify request, so we jump into the list in the middle.
* * misc.c (argsplit): Properly split quoted args from the keyword and trimDavid Shaw2004-07-282-9/+25
| | | | | whitespace afterwards.
* * misc.c (optsep): Add the ability to understand keyword="quoted arg withDavid Shaw2004-07-282-3/+20
| | | | | spaces" type options.
* * gpgkeys_ldap.c (main): Don't try and error out before making a ldapsDavid Shaw2004-07-282-28/+27
| | | | | | | connection to the NAI keyserver since we cannot tell if it is a NAI keyserver until we connect. Fail if we cannot find a base keyspace DN. Fix a false success message for TLS being enabled.
* Updated po files from 1.2.5Werner Koch2004-07-2730-32077/+95192
|
* * configure.ac (AM_GNU_GETTEXT_VERSION): New.Werner Koch2004-07-2775-1321/+5039
| | | | | | | | | | | (min_automake_version): New. * LINGUAS: Added all languages we supported in 1.2.5. Copied all po files from 1.2.5. * autogen.sh: Updated to the modern version, grepping the required tool versions from configure.ac.
* * keylist.c (list_keyblock_print): Always use the new listing format whereDavid Shaw2004-07-166-42/+45
| | | | | | | | | | | | | uids are always on a line for themselves. Mark expired secret keys as expired. * options.h, g10.c (main): Rename list show-validity to show-uid-validity as it only shows for uids. * armor.c (armor_filter): Do not use padding to get us to 8 bytes of header. Rather, use 2+4 as two different chunks. This avoids a fake filename of "is".
* * keyedit.c (sign_uids): Properly handle remaking a self-sig on revoked orDavid Shaw2004-07-155-5/+54
| | | | | | | | | | | | | | expired user IDs. Also, once we've established that a given uid cannot or will not be signed, don't continue to ask about each sig. * mainproc.c (proc_symkey_enc), seckey-cert.c (do_check): Check the S2K hash algorithm before we try to generate a passphrase using it. This prevents hitting BUG() when generating a passphrase using a hash that we don't have. * sign.c (sign_symencrypt_file): Allow using --force-mdc in --sign --symmetric messages.
* * g10.c (main): Alias --charset as --display-charset to help avoid theDavid Shaw2004-07-157-59/+100
| | | | | | | | | | | | | | 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. * keygen.c (make_backsig): Make sure that the backsig was built successfully before we try and use it. * status.h, status.c (get_status_string), plaintext.c (handle_plaintext): New status tags PLAINTEXT and PLAINTEXT_LENGTH.
* * ring-a-party: ElGamal -> ElgamalDavid Shaw2004-07-042-5/+5
|
* * DETAILS: Document PLAINTEXT and PLAINTEXT_LENGTH.David Shaw2004-06-293-29/+59
| | | | | | | | | * gpg.sgml: Clarify that --min-cert-level disregards level 1 certs by default. Clarify include-revoked a bit to note that keyservers might not be accurate. Note that --charset is --display-charset. Some language tweaks for --simple-sk-checksum (Debian 251795). Note the PGP silliness with preferred keyserver subpackets causing PGP/MIME.
* (copy_secret_key): Get last fix right.Werner Koch2004-06-162-10/+9
|
* s/1/i/Werner Koch2004-06-161-2/+2
|
* * free-packet.c (copy_secret_key): Fixed memory leak when D is notWerner Koch2004-06-163-1/+36
| | | | | | | | NULL. * passphrase.c (passphrase_to_dek): Added a few comments to the code.
* * mk-w32-dist: Do not include the en@* po files.Werner Koch2004-06-143-2/+11
| | | | | * autogen.sh <--build-w32>: Build keyserver helpers again.
* * gpgkeys_http.c: General polish and removal of leftover stuff fromDavid Shaw2004-05-262-31/+26
| | | | | gpgkeys_hkp.c.
* * keyserver.c (keyserver_refresh): Keep track of keys already fetched soDavid Shaw2004-05-262-3/+14
| | | | | | we don't do a regular keyserver fetch if the preferred keyserver fetch has exhausted the list.
* * configure.ac: Try for wldap32 on Win32 platforms.David Shaw2004-05-242-0/+5
|
* * verify.c (verify_signatures): Verify multiple files in the same order inDavid Shaw2004-05-233-22/+32
| | | | | | | | which we hashed them when issuing the signature. Noted by Nicholas Cole. * pkclist.c (do_edit_ownertrust): Fix a kbnode leak and do another keyid-format conversion.
* some late minor fixes.V1-3-6Werner Koch2004-05-2214-2523/+2603
|
* About to release 1.3.6Werner Koch2004-05-2210-2431/+2329
|
* * NEWS: Note --sig-keyserver-url and the ability to use a preferredDavid Shaw2004-05-222-0/+10
| | | | | keyserver in a regular data sig to fetch the signing key.
* * mainproc.c (check_sig_and_print): If we're honoring preferredDavid Shaw2004-05-225-41/+107
| | | | | | | | | | | | | | | | keyservers, and auto-key-retrieve is set, try and get a missing key from the preferred keyserver subpacket when we verify the sig. * gpgv.c (parse_preferred_keyserver, free_keyserver_spec): Stubs. * keyserver.c (keyidlist): Use new parse_preferred_keyserver function. (keyserver_work): Use the passed-in keyserver spec rather than the options global one. * keyserver-internal.h, keyserver.c (parse_preferred_keyserver): New function to take a sig and return a split out keyserver_spec. (keyserver_import_keyid): Now takes a keyserver_spec.
* * gpgkeys_http.c (get_key): Cosmetic fix - make sure that URLs with noDavid Shaw2004-05-222-4/+7
| | | | | path use a path of "/".
* * gpg.sgml: Document --edit-key "keyserver" command, --keyid-format,David Shaw2004-05-222-5/+41
| | | | | | --keyserver-option honor-keyserver-url, and --list and --verify option show-std/user-notations.
* * keyserver.c (keyidlist): Go back to the old fast keyid lister. OnlyDavid Shaw2004-05-214-99/+166
| | | | | | | | | merge selfsigs if we have to for honor-keyserver-url. (keyserver_refresh): Keyserver URL handler moved here. (calculate_keyid_fpr): Removed. * keydb.h, keyid.c (keystr_from_desc): Calculate a key string from a KEYDB_SEARCH_DESC.
* * gpgkeys_ldap.c (ldap2epochtime): We can always rely on timegm() beingDavid Shaw2004-05-212-22/+8
| | | | | available now, since it's a replacement function.
* * configure.ac: Replacement function for timegm(). No need to check forDavid Shaw2004-05-212-2/+7
| | | | | setenv() any longer.
* * timegm.c: New replacement function. Removes the need for setenv.c andDavid Shaw2004-05-214-109/+76
| | | | | | | | | unsetenv.c. * setenv.c: Removed. * unsetenv.c: Removed.
* * keyserver.c (keyserver_spawn): Fix keyserver options on tempfile onlyDavid Shaw2004-05-212-1/+6
| | | | | platforms. Noted by Roger Sondermann.
* * keyserver.c (keyserver_work): Allow --refresh-keys with a preferredDavid Shaw2004-05-204-119/+57
| | | | | | | | | | | keyserver to happen even if there is no global keyserver set. * sig-check.c (do_check_messages): No need to check for Elgamal signatures any longer. (do_check_messages, do_check, check_key_signature2): --keyid-format conversion. * pkclist.c (show_paths, edit_ownertrust): Remove some unused code.
* * NEWS: Note HTTP key fetching.David Shaw2004-05-204-8/+34
| | | | | | | | * README: Update version and note that HKP is no longer build in. * configure.ac: Handle --disable-http and other code to properly build gpgkeys_http.
* * gpgkeys_http.c: New program to do a simple HTTP file fetch using theDavid Shaw2004-05-203-2/+391
| | | | | | | keyserver interface. * Makefile.am: Build it.
* * options.h (ctrl): New for member IN_AUTO_KEY_RETRIEVE.David Shaw2004-05-204-6/+62
| | | | | | | | | | | * mainproc.c (check_sig_and_print): track whether we are retrieving a key. * status.c (status_currently_allowed): New. (write_status_text, write_status_text_and_buffer): Use it here. * g10.c: New command --gpgconf-list. (gpgconf_list): New. From Werner on stable branch.
* * longlong.h: Typo.David Shaw2004-05-203-8/+16
| | | | | | * mpi-pow.c (mpi_powm): s/exp/exponent/ to shutup a compiler warning. From Werner on stable branch.
* * dsa.c (verify): s/exp/exponent/ to fix a compiler warning. From WernerDavid Shaw2004-05-202-5/+10
| | | | | on stable branch.
* * g10.c: New command --gpgconf-list. (gpgconf_list): New. From Werner onDavid Shaw2004-05-202-11/+59
| | | | | stable branch.
* * NEWS: Note the addition of preferred keyserver support,David Shaw2004-05-203-5/+42
| | | | | | | | | --ask-cert-level, --keyid-format, and the removal of show-long-keyids, the quasi-1991 partial length encoding, --export-all, and include-non-rfc. * acinclude.m4 (GNUPG_SYS_NM_PARSE): Remove a leftover slash in a sed expression.
* * gpg.sgml: Clarify that --charset applies to informational strings andDavid Shaw2004-05-202-10/+10
| | | | | | does not recode messages themselves. Remove include-non-rfc export-option.
* * pubkey-enc.c (get_session_key, get_it), keyedit.cDavid Shaw2004-05-203-24/+32
| | | | | (show_key_with_all_names, show_basic_key_info): --keyid-format conversion.
* * sign.c (update_keysig_packet): Policies and notations should be strippedDavid Shaw2004-05-193-3/+23
| | | | | | | out when remaking a self-signature. Noted by Atom Smasher. * keyserver.c (parse_keyserver_uri): Fix compiler warnings.
* * options.h, keyserver-internal.h, keyserver.c (parse_keyserver_uri):David Shaw2004-05-114-45/+70
| | | | | | | Improved URI parser that keeps track of the path information and doesn't modify the input string. (keyserver_spawn): Tell keyserver plugins about the path.
* * keylist.c (show_policy_url, show_keyserver_url, show_notation)Werner Koch2004-05-114-4/+35
| | | | | | | | | | (list_one): Use const char* for i18n string helpers. * keygen.c (do_generate_keypair, read_parameter_file): Really close the files. (do_generate_keypair): Create the secret key file using safe permissions. Noted by Atom Smasher.
* * options.h, mainproc.c (symkey_decrypt_seskey), keyserver.c (structDavid Shaw2004-05-106-15/+27
| | | | | | keyrec, parse_keyrec, keyserver_search_prompt), keyedit.c (keyedit_menu), g10.c (add_keyserver_url, add_policy_url): Fix some compiler warnings.
* * DETAILS, credits-1.0, credits-1.2: ElGamal -> Elgamal.David Shaw2004-05-086-13/+31
| | | | | | | * gpg.sgml: Document --no-use-embedded-filename and --min-cert-level. * gpgv.sgml: Removed leftover </para>.
* * keyedit.c (keyedit_menu, menu_set_keyserver_url): Allow passingDavid Shaw2004-05-085-88/+134
| | | | | | | | | | preferred keyserver on "keyserver" command line. Sanity check keyserver URL before accepting it. * keyserver-internal.h, g10.c (main), keyserver.c (parse_keyserver_uri): Add an option to require the scheme:// and change all callers. (free_keyserver_spec): Make public.
* (write_plaintext_packet): Fixed the detection of tooWerner Koch2004-05-072-8/+18
| | | | | large files in the same way as in encode.c.
* * keylist.c (show_notation): Use bits to select which sort of notation toDavid Shaw2004-05-056-47/+75
| | | | | | | | | | show. Don't allow a not-shown notation to prevent us from issuing the proper --status-fd message. * options.h, g10.c (main): Add show-std/standard-notations and show-user-notations. show-notations is both. Default is to show standard notations only during verify. Change all callers.
* Removed reference to non-available optionWerner Koch2004-05-032-1/+5
| | | | | --no-default-keyring.