Commit Graph

10454 Commits

Author SHA1 Message Date
David Shaw fcdd2ec92f * configure.ac: Add an --enable-tiger.
* NEWS: Clarify new permission checks.
2002-08-08 19:38:59 +00:00
David Shaw c3f1100411 * tdbio.c (tdbio_set_dbname): Create new trustdbs with user-only
permissions.
2002-08-08 19:09:34 +00:00
Werner Koch 0b01b9cb62 * asschk.c: Added some new features.
* runtest, inittests: New.
* text-1.txt, text-2.txt, text-3.txt: New.
* text-1.osig.pem, text-1.dsig.pem, text-1.osig-bad.pem: New.
* text-2.osig.pem, text-2.osig-bad.pem: New.
* samplekeys : New directory
* sm-verify, sm-sign+verify: The first test scripts.
2002-08-08 16:32:01 +00:00
David Shaw e703540328 * sig-check.c (signature_check2): Sanity check that the md has a context
for the hash that the sig is expecting.  This can happen if a onepass sig
header does not match the actual sig, and also if the clearsign "Hash:"
header is missing or does not match the actual sig.
2002-08-07 19:53:27 +00:00
David Shaw bed4e0daa0 * cipher.h: Add md_algo_present(). 2002-08-07 19:48:45 +00:00
David Shaw faed12a698 * md.c (md_algo_present): New function to check if a given algo is in use
for a given MD_HANDLE.
2002-08-07 19:47:57 +00:00
Werner Koch c8b8326aae First test script. Still missing the environment setup. 2002-08-07 16:42:47 +00:00
David Shaw fee7e35bae * keyedit.c (menu_revsig): Properly show a uid is revoked without
restarting gpg.  This is Debian bug 124219, though their supplied patch
will not do the right thing.

* main.h, tdbio.c (tdbio_set_dbname), misc.c (removed check_permissions),
keydb.c (keydb_add_resource), g10.c (main, check_permissions): Significant
reworking of the permission check mechanism.  The new behavior is to check
everything in the homedir by checking the homedir itself.  If the user
wants to put (possibly shared) keyrings outside the homedir, they are not
checked.  The options file and any extension files are checked wherever
they are, as well as their enclosing directories.  This is Debian bug
147760.
2002-08-07 15:53:15 +00:00
David Shaw df50c106f8 * configure.ac: If the static IDEA cipher is present, disable dynamic
loading.  Also fix backwards grammar of keyserver exec-path CHECKING
message.
2002-08-07 14:32:07 +00:00
Werner Koch ce42e64a5a New Assuan testing tool. 2002-08-07 11:48:27 +00:00
Stefan Bellon 7dec3219c9 use of EXTSEP_S 2002-08-06 18:32:58 +00:00
David Shaw 63a71c1ff9 * options.h, g10.c (main), mainproc.c (proc_encrypted): --ignore-mdc-error
option to turn a MDC check error into a warning.
2002-08-06 17:57:53 +00:00
David Shaw 58b0a36d6b * encode.c (encode_crypt), g10.c (main), sign.c (sign_file,
clearsign_file): Use the same --pgpX warning string everywhere to ease
translations.

* encode.c (write_pubkey_enc_from_list): Warn when using --throw-keyid
with --pgpX.  Noted by Vedaal Nistar.
2002-08-06 17:38:04 +00:00
David Shaw f48650872e * gpg.sgml: Clarify that only long-form options can go in the config file. 2002-08-06 17:22:31 +00:00
David Shaw 111f78b1ff * revoke.c (export_minimal_pk, gen_desig_revoke, gen_revoke): Export a
minimal pk along with the revocation cert when in --pgpX mode so that PGP
can import it.
2002-08-06 16:58:58 +00:00
Werner Koch e028b7760b * options.skel: Changed comments.
* gpg.sgml: Fixed doc regarding the name change of the option
file.
2002-08-06 13:37:09 +00:00
Werner Koch 67faf234a3 minor doc fixes. 2002-08-06 13:30:28 +00:00
Werner Koch a1259acdcb * g10.c (main): Try to use "gpg.conf" as default option file.
* openfile.c (copy_options_file): Changed name of created file.
2002-08-06 13:29:27 +00:00
Stefan Bellon 181dcc69f4 tidying up RISC OS stuff 2002-08-06 06:54:55 +00:00
Werner Koch 8298145729 * configure.ac: Bumbed version number. 2002-08-04 22:21:54 +00:00
Werner Koch 705873c41b Removed some obsolete header files. 2002-08-04 22:00:32 +00:00
Werner Koch 872ba01dfe * configure.ac (ALL_LINGUAS): Added Catalan.
Prepared release.
2002-08-04 21:37:43 +00:00
Werner Koch 5030987180 msgfmt updated. 2002-08-04 21:36:52 +00:00
Werner Koch 4e4c392984 * de.po: Fixed fuzzys and translated new strings.
* es.po, et.po, fr.po, gl.po, id.po, it.po, ja.po, tr.po: Updated
from TP site.
* ca.po: New from TP site.
2002-08-04 21:19:58 +00:00
Stefan Bellon 5631db0402 RISC OS changes because of dynload removal 2002-08-03 21:53:33 +00:00
Stefan Bellon 582f0d5d98 RISC OS changes due to dynload removal 2002-08-03 18:35:16 +00:00
Werner Koch 85aa3e18c2 The big extension module removal. 2002-08-03 10:50:53 +00:00
Timo Schulz 14d050a272 2002-08-02 Timo Schulz <ts@winpt.org>
* mpicoder.c: Add a '\n' to all log_bug functions.
2002-08-02 11:29:24 +00:00
Werner Koch 557e7ccda0 * gpg.sgml: Document new --delete behaviour. 2002-08-02 10:16:41 +00:00
Werner Koch 4493a9603b * delkey.c (do_delete_key): Always allow to delete a key in batch mode
when specified by fingerprint.  Suggested by Enzo Michelangeli.
2002-08-02 10:15:39 +00:00
Werner Koch 3b2ac8a2d8 * config.links: Added case for sparc64-netbsd. Suggested by
ww@styx.org.
2002-08-02 10:14:12 +00:00
Werner Koch 1558e29f6c Add another item to the NEWS file. 2002-08-02 10:12:57 +00:00
David Shaw 46e07daa31 * gpg.sgml: Clarify --edit/addrevoker (sensitive), and --keyserver-options
(--import/export-options may be used as well). Document --import-options
and --export-options with their various options.  --show-photos now works
during signature verification as well.  Document --exec-path.  Note in
--simple-sk-checksum that the passphrase must be changed for this to take
effect.  Note that --pgp7 does not disable MDC.  Document
--no-mdc-warning.
2002-07-30 21:38:14 +00:00
Werner Koch 7de95ff2e6 Changed the lincese for Assuan to LGPL. 2002-07-30 17:38:54 +00:00
David Shaw 928dba9e70 * options.h, g10.c (main), mainproc.c (proc_encrypted): Return a
decryption failed error if a MDC does not verify.  Warn if a MDC is not
present (can disable via --no-mdc-warning).

* exec.c (exec_write), g10.c (main), keyserver.c (keyserver_spawn): Use
new DISABLE_KEYSERVER_PATH rather than FIXED_EXEC_PATH.
2002-07-30 16:48:21 +00:00
David Shaw 1f703dadd1 * README, configure.ac: --with-exec-path is now clarified into
--disable-keyserver-path
2002-07-30 16:04:18 +00:00
David Shaw 623ca88d03 * NEWS: changes since 1.1.90. 2002-07-30 15:21:03 +00:00
David Shaw 33ef3cf981 * sig-check.c (do_check): Properly validate v4 sigs with no hashed section
at all.
2002-07-29 03:07:11 +00:00
David Shaw bb99f6c828 * keyedit.c (menu_revsig): Change "revsig" to honor selected uids so the
user can revoke sigs from particular uids only.

* keylist.c (list_keyblock_print): Don't display expired uids in
--list-keys unless -v and not --list-sigs (just like revoked uids).
2002-07-25 22:59:25 +00:00
David Shaw 52b1efab84 * gpg.sgml: Clarify the differences between "pref" and "showpref". Note in
"setpref" that a list of available algorithms can be printed with "gpg -v
--version".  Note in "updpref" that we don't select keys via attribute
uids, so preferences there will be ignored.
2002-07-25 20:25:59 +00:00
David Shaw 9ac6821b46 * exec.c, export.c, import.c, keyedit.c, keyserver.c, misc.c: "Warning" ->
"WARNING"
2002-07-25 18:08:09 +00:00
David Shaw 36d5779e82 * random.c: "warning" -> "WARNING" 2002-07-25 18:05:48 +00:00
David Shaw a4427b0eb8 * gnupgbug: "Warning" -> "WARNING" 2002-07-25 18:03:25 +00:00
David Shaw ceb76da7e2 * gpgkeys_hkp.c: "Warning" -> "WARNING" 2002-07-25 18:01:36 +00:00
David Shaw 2610f0ee62 * secmem.c: "Warning" -> "WARNING" 2002-07-25 18:00:00 +00:00
David Shaw cead1f26f7 * config.links: Add special rule for OpenBSD on x86 to use special
i386-openbsd files.  OpenBSD (at least until version 3.1) has an older
assembler that won't work with the files in i386.
2002-07-25 17:56:07 +00:00
David Shaw 78f3138150 These are special i386 files for use on OpenBSD, which (at least until
version 3.1) has an older assembler that won't work with the files in
i386.
2002-07-25 17:52:40 +00:00
David Shaw 553ac3f08c * main.h, import.c (parse_import_options, fix_hkp_corruption, import_one,
delete_inv_parts), g10.c (main): New import-option
"repair-hkp-subkey-bug", which repairs as much as possible the HKP
mangling multiple subkeys bug.  It is on by default for keyserver
receives, and off by default for regular --import.

* main.h, import.c (import, import_one, delete_inv_parts), hkp.c
(hkp_ask_import), keyserver.c (keyserver_spawn): Use keyserver import
options when doing keyserver receives.
2002-07-24 21:17:19 +00:00
David Shaw d0c643a6c5 * options.h, exec.h, exec.c (set_exec_path, exec_write), g10.c (main),
keyserver.c (keyserver_spawn): If the user does not use "exec-path",
completely replace $PATH with GNUPG_LIBEXECDIR before calling the
keyserver helper.  If the user does use "exec-path", append
GNUPG_LIBEXECDIR after the specified path.
2002-07-24 19:24:08 +00:00
David Shaw 0ecc2099ac * Makefile.am: Install keyserver helpers in @GNUPG_LIBEXECDIR@ 2002-07-24 18:42:38 +00:00