1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-09 21:28:51 +01:00
Commit Graph

8764 Commits

Author SHA1 Message Date
Werner Koch
69f389096d * keybox-search.c (blob_cmp_fpr_part): New.
(has_short_kid, has_long_kid): Implemented.
2002-08-10 09:14:08 +00:00
Werner Koch
dc8f3ee42c * decrypt.c (prepare_decryption): Hack to detected already
unpkcsedone keys.
2002-08-09 21:01:03 +00:00
Werner Koch
beb0fef1ee Tweaked the build system so that make distcheck finanly said Well
Done.
2002-08-09 18:16:02 +00:00
Werner Koch
5b0ccaf949 * signal.c: New. Taken from GnuPG 1.1.91. 2002-08-09 18:13:41 +00:00
Werner Koch
ebaf7d6e45 Minor fixes 2002-08-09 18:13:24 +00:00
Werner Koch
850a4d5214 * gpgsm.c (emergency_cleanup): New.
(main): Initialize the signal handler.

* sign.c (gpgsm_sign): Reset the hash context for subsequent
signers and release it at the end.
2002-08-09 18:12:22 +00:00
Werner Koch
1d81b994b8 * card.c (card_get_serial_and_stamp): Use the tokeinfo serial
number as a fallback. Add a special prefix for serial numbers.
2002-08-09 18:12:01 +00:00
Werner Koch
0e43a57953 Added distfiles kludge to distribute the content of the samplekeys directory. 2002-08-09 14:44:59 +00:00
David Shaw
74a84ca93b * options.skel: Some language tweaks, and remove the load-extension
section for random gatherers.

* keyring.c (create_tmp_file, rename_tmp_file): Create tmp files with
user-only permissions, but restore the original permissions if the user
has something special set.

* openfile.c (copy_options_file): Create new options file (gpg.conf) with
user-only permissions.

* keydb.c (keydb_add_resource): Create new keyrings with user-only
permissions.
2002-08-09 02:23:42 +00:00
David Shaw
3d85ad800d * Makefile.am, md.c (load_digest_module): Allow switching TIGER on and off
via configure.
2002-08-08 19:41:30 +00:00
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