aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * gpg.sgml: Document --trustdb-name. Document --gnupg in a new complianceDavid Shaw2003-05-222-40/+72
| | | | | | section, and remove the various --no-PGPX options. Deprecate --no-comment in favor of --no-sk-comments.
* * armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,David Shaw2003-05-2224-199/+197
| | | | | | | | | getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, hkp.c, mainproc.c, parse-packet.c, signal.c, textfilter.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,David Shaw2003-05-2212-276/+274
| | | | | | | | simple-gettext.c, errors.c, http.c, memory.c, secmem.c, ttyio.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c,David Shaw2003-05-2120-197/+180
| | | | | | | | rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c, rmd160.c, rndw32.c, sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * bftest.c, crlf.c, mk-tdata.c, mpicalc.c, shmtest.c: Edit allDavid Shaw2003-05-216-45/+46
| | | | | | | preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * mpicoder.c, mpi-inline.h, mpi-inv.c, mpiutil.c, mpih-div.c,David Shaw2003-05-218-88/+83
| | | | | | | mpi-internal.h, mpi-scan.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * configure.ac: Edit preprocessor instructions in g10defs.h to removeDavid Shaw2003-05-212-13/+22
| | | | | | whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit allDavid Shaw2003-05-218-137/+139
| | | | | | | preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * sign.c (write_plaintext_packet)Werner Koch2003-05-214-5/+16
| | | | | | | | * progress.c (handle_progress) * encode.c (encode_simple,encode_crypt): Make sure that a filename of "-" is considered to be stdin so that iobuf_get_filelength won't get called. This fixes bug 156 reported by Gregery Barton.
* * fileutil.c (is_file_compressed): Fix the check for the "-" fileWerner Koch2003-05-213-7/+13
| | | | | name.
* * keylist.c (list_keyblock_print): Don't dump attribs forDavid Shaw2003-05-204-14/+26
| | | | | | | | | revoked/expired/etc uids for non-colon key listings. This is for consistency with --show-photos. * main.h, keylist.c (dump_attribs), mainproc.c (check_sig_and_print): Dump attribs if --attrib-fd is set when verifying signatures.
* * tiger.c: Use the U64_C macro instead of LL.David Shaw2003-05-144-534/+540
| | | | | | | | | * md.c (string_to_digest_algo): Give a warning about TIGER192 not being part of OpenPGP. * idea-stub.c (load_module): Catch an error if the idea module file is unloadable for some reason (unreadable, bad permissions, etc.)
* * parse-packet.c (parse_key): Clear disabled flag when parsing a new key.David Shaw2003-05-115-19/+118
| | | | | | | | | | | | | Just in case someone forgets to clear the whole key. * getkey.c (merge_selfsigs_main): Add an "if all else fails" path for setting a single user ID primary when there are multiple set primaries all at the same second, or no primaries set and the most recent user IDs are at the same second, or no signed user IDs at all. This is arbitrary, but deterministic. * exec.h, photoid.h: Add copyright message.
* * sha512.c: Use the U64_C() macro rather than blindly suffixing with LL.David Shaw2003-05-092-47/+61
| | | | | | U64_C is defined in include/types.h and uses the correct suffix depending on the underlying type of u64.
* * types.h: Add typedef and initializer macro for 64-bit unsigned type.David Shaw2003-05-092-0/+16
|
* * configure.ac: Simpler implementation for the 64-bit question - we don'tDavid Shaw2003-05-092-51/+20
| | | | | | | need to verify compiler support with a test program since we just cast everything to the proper type. This also means that cross compiling doesn't become a problem.
* * g10.c (main): New --gnupg option to disable the various --openpgp,David Shaw2003-05-098-24/+55
| | | | | | | | | | | | | | | | --pgpX, etc. options. This is the same as --no-XXXX for those options. * packet.h, getkey.c (skip_disabled), keylist.c (print_capabilities): New "pk_is_disabled" macro to retrieve the cached disabled value if available, and fill it in via cache_disabled_value if not available. * trustdb.h, gpgv.c (is_disabled), trustdb.c (is_disabled): Rename to cache_disabled_value. Cache the result of the check so we don't need to hit the trustdb more than once. * trustdb.c (get_validity): Cache the disabled value since we have it handy and it might be useful later.
* * mds.test: Note that missing algorithms are not errors.David Shaw2003-05-093-4/+8
|
* * sha512.c: Suffix all 64-bit constants with LL. Note this makes thisDavid Shaw2003-05-092-51/+57
| | | | | | file non-c89 compliant. That is okay since we have an autoconf check for this, and many c89 compilers support LL anyway.
* * configure.ac: Check for 64-bit types, and how well the compiler supportsDavid Shaw2003-05-092-25/+83
| | | | | them (LL) before enabling TIGER/192, SHA-384, or SHA-512.
* * cipher.c (fast_random_poll): Only use times() if we HAVE_TIMES.David Shaw2003-05-082-5/+11
|
* * README: Remove note about HP/UX inline problem since autoconf nowDavid Shaw2003-05-083-20/+29
| | | | | | | | | | | handles this automatically. * configure.ac: Remove some stuff no longer needed with newer autoconf. Use AC_GNU_SOURCE instead of defining _GNU_SOURCE manually. Add check for strchr() for gettext. Add "ngettext" check for gettext, since that check supposedly implies a check for bind_textdomain_codeset. Add check for times() for random.c. Fix URL for EGD.
* * revoke.c (ask_revocation_reason): Clear old reason if user elects toDavid Shaw2003-05-072-0/+4
| | | | | repeat question. This is bug 153.
* * keyedit.c (sign_uids): Show keyid of the key making the signature.David Shaw2003-05-077-27/+46
| | | | | | | | | | | * trustdb.h, trustdb.c (is_disabled), keylist.c (print_capabilities), gpgv.c (is_disabled): is_disabled now takes a pk and not just the keyid. This is for speed since there is no need to re-fetch a key when we already have that key handy. * getkey.c (skip_disabled): New function to get a pk and call is_disabled on it. (key_byname): Use it here.
* * g10.c (main): Show errors for failure in export, send-keys, recv-keys,David Shaw2003-05-037-46/+156
| | | | | | | | | | | | | | | | and refresh-keys. * keyserver.c (keyserver_work): Range check the TCP port for HKP. * options.h, g10.c (main): Give algorithm warnings for algorithms chosen against the --pgpX and --openpgp rules. * keydb.h, pkclist.c (algo_available): Make TIGER192 invalid in --openpgp mode. * sign.c (sign_file), pkclist.c (algo_available): Allow passing a hint of 0.
* * cipher.h: Add constants for compression algorithms.David Shaw2003-05-032-0/+8
|
* * sign.c (sign_file): Fix bug that causes spurious compression preferenceDavid Shaw2003-05-027-142/+179
| | | | | | | | | | | | | | | | warning. * sign.c (clearsign_file): Fix bug that prevents proper warning message from appearing when clearsigning in --pgp2 mode with a non-v3 RSA key. * main.h, misc.c (compliance_option_string, compliance_string, compliance_failure), sign.c (sign_file, clearsign_file), encode.c (encode_crypt, write_pubkey_enc_from_list): New functions to put the "this message may not be usable...." warning in one place. * options.h, g10.c (main): Part two of the simplification. Use a single enum to indicate what we are compliant to (1991, 2440, PGPx, etc.)
* * options.h, armor.c, cipher.c, g10.c, keyedit.c, pkclist.c, sign.c,David Shaw2003-05-0211-78/+90
| | | | | | | encode.c, getkey.c, revoke.c: The current flags for different levels of PGP-ness are massively complex. This is step one in simplifying them. No functional change yet, just use a macro to check for compliance level.
* * defs.inc: Fix shell warning messages.David Shaw2003-05-022-2/+6
|
* * packet.h, build-packet.c (build_sig_subpkt), export.cDavid Shaw2003-05-026-42/+14
| | | | | | | | (do_export_stream), import.c (remove_bad_stuff, import), parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt): Remove vestigal code for the old sig cache subpacket. This wasn't completely harmless as it caused subpacket 101 to disappear on import and export.
* post release version number updateWerner Koch2003-05-012-1/+4
|
* Released 1.2.2Werner Koch2003-05-014-2/+9
|
* * defs.inc (pgmname): Make sure there is a valid options file.Werner Koch2003-05-013-1/+14
|
* * faq.raw: List years of copyright notice separately.Werner Koch2003-05-016-151/+146
|
* * mk-w32-dist: Don't iconv {hu,sk,zh_TW}.po.Werner Koch2003-05-013-9/+14
|
* Update of most translations for the 1.2.2 release.Werner Koch2003-05-0124-12799/+26994
|
* * NEWS: Note trust bug fix.David Shaw2003-05-012-4/+14
|
* * pkclist.c (do_we_trust_pre): If an untrusted key was chosen by aDavid Shaw2003-04-303-25/+82
| | | | | | | | | | | | | | particular user ID, use that ID as the one to ask about when prompting whether to use the key anyway. (build_pk_list): Similar change here when adding keys to the recipient list. * trustdb.c (update_validity): Fix bug that prevented more than one validity record per trust record. (get_validity): When retrieving validity for a (user) supplied user ID, return the validity for that user ID only, and do not fall back to the general key validity. (validate_one_keyblock): Some commentary on whether non-self-signed user IDs belong in the web of trust (arguably, they do).
* * gpg.sgml: Some general language tweaks. Note default algo forDavid Shaw2003-04-302-36/+45
| | | | | | --symmetric. --export-ownertrust takes no args. Document --no-escape-from-lines. Fix escaped "<From" to be ">From".
* * NEWS: Add note about TIGER being dropped from OpenPGP.David Shaw2003-04-293-52/+76
| | | | | | | * README: Add note about the HP/UX inline problem. Fix all URLs to point to the right place in the reorganized gnupg.org web pages. Some minor language fixes.
* * README: Add note about the HP/UX inline problem. Fix bug reporting URL.David Shaw2003-04-292-1/+12
|
* * gettextP.h: Add comment for HP/UX users. Local fix for GnuPG.David Shaw2003-04-292-0/+10
|
* * sig-check.c (check_key_signature2): Made "no subkey for subkeyWerner Koch2003-04-293-3/+12
| | | | | | | | binding packet" a verbose item instead of a !quiet one. There are too many garbled keys out in the wild. * getkey.c (premerge_public_with_secret): Made "no secret subkey for" warning a verbose item and translatable.
* * filter.h: Remove const from WHAT.Werner Koch2003-04-295-12/+25
| | | | | | | | * progress.c (handle_progress): Store a copy of NAME. (progress_filter): Release WHAT, make sure not to print a NULL WHAT. * openfile.c (open_sigfile): Adjust free for new progress semantics. * plaintext.c (ask_for_detached_datafile): Don't dealloc pfx->WHAT.
* * build-packet.c (build_sig_subpkt): Comments.David Shaw2003-04-285-7/+29
| | | | | | | | | | | | | * exec.c (exec_write): Cast NULL to void* to properly terminate varargs list. * keyedit.c (show_key_with_all_names): Just for safety, catch an invalid pk algorithm. * sign.c (make_keysig_packet): Crucial that the call to mksubpkt comes LAST before the calls to finalize the sig as that makes it possible for the mksubpkt function to get a reliable pointer to the subpacket area.
* * sign.c (mk_notation_and_policy): Make some strings translatable.David Shaw2003-04-271-2/+4
|
* * sign.c (mk_notation_and_policy): Make some strings translatable.David Shaw2003-04-272-4/+7
|
* * NEWS: Add sig version, pk algo, hash algo, and sig class to VALIDSIG.David Shaw2003-04-273-5/+14
| | | | | * BUGS: Fix bug reporting URL.
* * gpg.sgml: Document --no-textmode and --no-use-agent. Clarify theDavid Shaw2003-04-273-26/+42
| | | | | | | | interoperability section. * DETAILS (VALIDSIG): Add version, pk algo, digest algo, sig class, and a reserved field for flags in a future version.
* * mainproc.c (check_sig_and_print): Show sig class when verifying a sigDavid Shaw2003-04-277-22/+46
| | | | | | | | | | | | | with --verbose on, and add version, pk and hash algorithms and sig class to VALIDSIG. * g10.c (main): Add --no-textmode. * export.c (do_export_stream), keyedit.c (show_key_with_all_names, menu_addrevoker), mainproc.c (check_sig_and_print), photoid.c (show_photos), trustdb.c (get_validity, reset_trust_records, validate_keys): Make some strings translatable.