aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.am: Add --no-permission-warning to avoid spurious warning whenDavid Shaw2003-06-262-2/+6
| | | | | importing demo keys.
* * keyserver.c (keyserver_spawn): Use ascii_isspace instead of spacep sinceDavid Shaw2003-06-262-1/+6
| | | | | ascii_isspace includes \r and \n.
* * types.h: Prefer using uint64_t when creating a 64-bit unsigned type.David Shaw2003-06-263-5/+17
| | | | | | | | | This avoids a warning on compilers that support but complain about unsigned long long. * util.h (ascii_isspace): New variation on isspace() that is immune from locale changes.
* * signal.c, tdbio.c: Comment out the transaction code. It was not used inDavid Shaw2003-06-243-4/+13
| | | | | | this version, and was causing some build problems on quasi-posix platforms (Solaris and Forte c89).
* * Makefile.am: Use W32LIBS where appropriate.David Shaw2003-06-202-2/+6
|
* * Makefile.am: Use W32LIBS where appropriate.David Shaw2003-06-202-2/+6
|
* * Makefile.am: Include W32LIBS where appropriate.David Shaw2003-06-202-1/+3
|
* * configure.ac: Include wsock32 in W32LIBS. This is different fromDavid Shaw2003-06-202-1/+9
| | | | | | NETLIBS so we don't need to force other platforms to pull in the netlibs when they aren't actually needed.
* * keyedit.c (sign_uids): Add additional prompt to the signature levelDavid Shaw2003-06-193-2/+19
| | | | | | | | | | question. (menu_expire): When changing expiration dates, don't replace selfsigs on revoked uids since this would effectively unrevoke them. There is also no point in replacing expired selfsigs. This is bug #181. * g10.c (main): Add --rfc2440 alias for --openpgp since in a few months, they won't be the same thing.
* *** empty log message ***Werner Koch2003-06-191-679/+911
|
* about to release 1.2.3rc1Werner Koch2003-06-1931-13617/+20328
|
* * keyserver.c (parse_keyserver_uri): Accept "http" as an alias for "hkp",David Shaw2003-06-193-2/+12
| | | | | | | since it is occasionally written that way. * mainproc.c (check_sig_and_print): Grammar fix ;)
* * Add pointer in --ignore-time-conflict to see --ignore-valid from, andDavid Shaw2003-06-182-7/+12
| | | | | vice versa.
* * keygen.c (ask_user_id): Make --allow-freeform-uid apply to the emailDavid Shaw2003-06-182-4/+12
| | | | | field as well as the name field, and allow mixing fields when it is set.
* * NEWS: Note portability changes.David Shaw2003-06-182-2/+9
|
* * Document --set-notation. Explain why it is not possible to disableDavid Shaw2003-06-182-7/+20
| | | | | permission warnings in the gpg.conf file about the homedir.
* * hkp.c (hkp_search): Return proper error code on failure.David Shaw2003-06-185-15/+49
| | | | | | | | | | | * keyedit.c (sign_uids): Do not allow signing a user ID without a self-signature. --expert overrides. * options.skel: Use subkeys.pgp.net as the default keyserver. * trustdb.c (validate_one_keyblock): Certifications on revoked or expired uids do not count in the web of trust.
* * configure.ac: Check for sigset_t and struct sigaction. This is forDavid Shaw2003-06-152-1/+11
| | | | | | Forte c89 on Solaris which seems to define only the function call half of the two pairs by default.
* * keylist.c (list_keyblock_colon): Don't include validity values whenDavid Shaw2003-06-153-17/+46
| | | | | | | | | | | | | | listing secret keys since they can be incorrect and/or misleading. This is a temporary kludge, and will be handled properly in 1.9/2.0. * signal.c (init_one_signal, pause_on_sigusr, do_block): Only use sigprocmask() if we have sigset_t, and only use sigaction() if we have struct sigaction. This is for Forte c89 on Solaris which seems to define only the function call half of the two pairs by default. (pause_on_sigusr): Typo. (do_block): If we can't use sigprocmask() and sigset_t, try to get the number of signals from NSIG as well as MAXSIG, and if we can't, fail with an explanation.
* * parse-packet.c (parse): Disallow old style partial length forWerner Koch2003-06-102-2/+27
| | | | | all key material packets to avoid possible corruption of keyrings.
* * import.c (import_keys): Invalidate the cache so that the fileWerner Koch2003-06-082-0/+7
| | | | | descriptor gets closed. Fixes bug reported by Juan F. Codagnone.
* * keyedit.c (sign_uids): Do not sign expired uids without --expert (sameDavid Shaw2003-06-073-9/+46
| | | | | | | | | behavior as revoked uids). * mainproc.c (print_notation_data, check_sig_and_print): Only show the "key available from" preferred keyserver line if the key is not currently present.
* Make sure that only ascii is passed to isfoo functions.Werner Koch2003-06-0715-31/+66
|
* * options.skel: Use new hkp://subkeys.pgp.net as sample keyserver sinceDavid Shaw2003-06-045-10/+38
| | | | | | | | | | | | | | they at least handle subkeys correctly. * mainproc.c (print_notation_data), parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt, can_handle_critical): Add read-only support for preferred keyserver subpackets. They're basically policy URLs with a different name. * g10.c (main): Add "--set-notation" as alias to "--notation-data" this is to make things consistent with --set-policy-url meaning both sigs and certs.
* * main.h, misc.c (parse_options): New general option line parser. Fix theDavid Shaw2003-05-315-72/+60
| | | | | | | | | bug in the old version that did not handle report syntax errors after a valid entry. * import.c (parse_import_options), export.c (parse_export_options): Call it here instead of duplicating the code.
* * keylist.c (list_one): Don't show the keyring filename when inDavid Shaw2003-05-308-30/+116
| | | | | | | | | | | | | | | | | | | | | | --with-colons mode. Actually translate "Keyring" string. * mainproc.c (proc_tree): We can't currently handle multiple signatures of different classes or digests (we'd pretty much have to run a different hash context for each), but if they are all the same, make an exception. This is Debian bug #194292. * sig-check.c (check_key_signature2): Make string translatable. * packet.h, getkey.c (fixup_uidnode): Mark real primary uids differently than assumed primaries. * keyedit.c (no_primary_warning): Use the differently marked primaries here in a new function to warn when an --edit-key command might rearrange the self-sig dates enough to change which uid is primary. (menu_expire, menu_set_preferences): Use no_primary_warning() here. * Makefile.am: Use @DLLIBS@ for -ldl.
* * gpgkeys_hkp.c, gpgkeys_ldap.c: Include extern references for optarg andDavid Shaw2003-05-303-0/+13
| | | | | | optind since there is no guarantee that any header file will include them. Standards? We don't need no stinkin' standards!
* * NEWS: Document --gnupg and the deprecation of --no-openpgp andDavid Shaw2003-05-283-25/+35
| | | | | | | | | | --no-pgpX. * configure.ac: Put wsock32 in NETLIBS. Put zlib in ZLIBS. Put dl in DLLIBS. Check for getopt.h if available. Look for getopt() in libiberty if libc doesn't have it. Enable GPGKEYS_HKP after AC_PROG_CC so that any needed extension (i.e. ".exe") is defined.
* * gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available.David Shaw2003-05-284-5/+16
| | | | | | * Makefile.am: Use @GETOPT@ to pull in libiberty on those platforms that need it.
* * Makefile.am: Some cleanup, and use DLLIBS for -ldl.David Shaw2003-05-282-20/+12
|
* * 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.