David Shaw
a92fa61c48
* sig-check.c (do_check): Code to try both the incorrect and correct
...
SHA-224 DER prefixes when verifying a signature. See the change
itself for more discussion.
* main.h, seskey.c (do_encode_md): Rename to pkcs1_encode_md and make
non-static.
2007-11-28 23:08:35 +00:00
David Shaw
c756a493c9
* gpg.c (print_algo_names): New. (list_config): Use it here for the
...
"ciphername" and "digestname" config items so we can get a
script-parseable list of the names.
2007-11-28 15:09:52 +00:00
Werner Koch
e60684e3d8
Grammar fix
2007-11-19 10:10:02 +00:00
Werner Koch
14296f338f
* status.c (do_get_from_fd, do_shm_get): s/bool/getbool/ to
...
overcome problems with Mac OS 10.5 which seems to include
stdbool.h silently.
2007-11-12 15:52:01 +00:00
David Shaw
a426c89ae3
* parse-packet.c (parse_onepass_sig): Sigclass is hex, so include the
...
0x.
2007-10-27 20:00:20 +00:00
David Shaw
05c32b91a7
* keyserver.c (keyserver_spawn): Cosmetic, but looks cleaner.
2007-10-27 19:40:13 +00:00
Werner Koch
9a2a818887
Switched to GPLv3.
...
Updated gettext.
2007-10-23 10:48:09 +00:00
David Shaw
960ac80048
* gpg.c (main): Add --require-cross-certification to
...
--openpgp/--rfc4880 mode.
2007-10-23 03:00:21 +00:00
David Shaw
b550330067
* gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by default.
...
Enable --require-cross-certification by default. --openpgp
(--rfc4880) is the same as --rfc2440 except with "--enable-dsa2
--no-rfc2440-text --escape-from-lines".
2007-10-23 00:36:59 +00:00
David Shaw
f3abec2002
* misc.c (compliance_option_string, compliance_failure): Minor
...
cleanup.
* armor.c (is_armor_header): Comment about 4880.
2007-10-21 16:07:13 +00:00
David Shaw
1ce132213e
* options.h, gpg.c (main), misc.c (compliance_option_string): Add
...
--rfc4880, and make --openpgp an alias to it. --rfc2440 now stands
alone. For now, use the old 2440 defaults for 4880.
* keyedit.c (keyedit_menu): Use compliance_option_string() instead of
printing the compliance modes here.
2007-10-17 16:37:09 +00:00
David Shaw
8bc8b9d932
* import.c (collapse_uids): Significant speedup for de-duping user
...
IDs.
2007-09-02 14:09:24 +00:00
Werner Koch
d1a13319bb
Improved detection of ketrings specified several times.
2007-08-24 09:51:58 +00:00
David Shaw
3b9eca640b
* gpg.c (main): Fix typo. Noted by John Clizbe.
2007-07-19 12:46:08 +00:00
David Shaw
14d6d2c90c
* armor.c (parse_header_line): Improve test so that the header test
...
only allows "Hash" in the signed data section.
2007-07-19 12:29:22 +00:00
David Shaw
d26739aa5a
* armor.c (is_armor_tag): New. Detect if an armor header matches
...
2440bis-21. (parse_header_line): Call it here, as bis-21 requires
warning the user (but continuing to process the message) when seeing
an unknown header.
2007-07-18 17:08:47 +00:00
Werner Koch
66c5c46b95
Add an extra warning for Camellia.
...
Minor W32 fix
Address change.
2007-07-09 17:26:51 +00:00
David Shaw
de50a5a1e7
* encode.c (encode_crypt): Missed one call to setup_plaintext_name().
...
This is bug#809.
2007-07-06 23:36:33 +00:00
David Shaw
15e9a73988
* sign.c (mk_notation_policy_etc): expect all sigs that this is called
...
for are >=v4. (write_signature_packets, make_keysig_packet): Only
call it for >=v4 sigs. This allows --force-v3-sigs and
--force-v4-certs to enable or disable notations, policies, and
keyserver URLs. This is bug#800.
2007-06-12 20:19:31 +00:00
David Shaw
2e81dd1b98
* packet.h, mainproc.c (reset_literals_seen): New function to reset
...
the literals count.
* verify.c (verify_one_file), decrypt.c (decrypt_messages): Call it
here so we allow multiple literals in --multifile mode (in different
files - not concatenated together).
2007-04-17 04:00:38 +00:00
David Shaw
ebdcac8089
* gpg.c, pkclist.c: #include <strings.h> for strcasecmp if it is
...
present. Note that autoconf protects us against a strings.h that
cannot be used together with string.h.
2007-04-16 21:55:53 +00:00
David Shaw
28c7223d13
* parse-packet.c (parse_marker): New. Enforce that the marker
...
contains 'P', 'G', 'P', and nothing but. (parse): Call it here.
(skip_packet): No longer need to handle marker packets here.
2007-04-04 04:00:20 +00:00
David Shaw
994ab24b4b
* keyserver.c: Windows Vista doesn't grok X_OK and so fails access()
...
tests. Previous versions interpreted X_OK as F_OK anyway, so we'll
just use F_OK directly.
2007-03-14 13:15:50 +00:00
Werner Koch
7b3e35a24c
Add extra fflush (stdout)
2007-03-08 12:13:15 +00:00
David Shaw
57591eb76f
* keyedit.c (keyedit_menu): If we modify the keyblock (via
...
fix_keyblock() or collapse_uids()) make sure we reprocess the keyblock
so the flags are correct. Noted by Robin H. Johnson.
* getkey.c (fixup_uidnode): Properly clear flags that don't apply to
us (revoked, expired) so that we can reprocess a uid.
2007-03-06 06:39:38 +00:00
Werner Koch
7cb81bb3ef
Preparing 1.4.7
2007-03-05 10:22:56 +00:00
David Shaw
6b086c1fe3
* parse-packet.c (parse_signature): It's hex.
...
* getkey.c (merge_selfsigs_subkey): Avoid listing the contents of a
backsig when list mode is on. Noted by Timo Schulz.
2007-02-14 03:41:24 +00:00
Werner Koch
b4f553c1ca
Fix for Debian bug 402592
2007-02-04 17:20:24 +00:00
David Shaw
e0dbc52cfc
Missed one caller.
2007-02-01 20:51:15 +00:00
David Shaw
ef8f2e2f6f
* main.h, keygen.c (ask_expire_interval, parse_expire_string): Pass in
...
the time to use to calculate the expiration offset, rather than
querying it internally. Change all callers.
2007-02-01 19:32:16 +00:00
David Shaw
ef9e1b5fbc
* keygen.c (do_generate_keypair, proc_parameter_file,
...
generate_keypair, generate_subkeypair): Pass a timestamp through to
all the gen_xxx functions.
2007-01-31 21:39:26 +00:00
David Shaw
9f3af9e24d
* keyedit.c (sign_uids): Another multiple to single timestamp
...
operation.
2007-01-31 20:44:48 +00:00
David Shaw
5b34e0264e
* sign.c (write_plaintext_packet): Take timestamp from outside.
...
Change all callers. (sign_file, clearsign_file,
sign_symencrypt_file): Calculate one timestamp for the whole
transaction. Different timestamps for each step can leak performance
information.
2007-01-31 20:23:45 +00:00
David Shaw
efef00aed3
* main.h, keygen.c (ask_expiredate), keyedit.c (menu_expire): Remove
...
the need for ask_expiredate().
2007-01-31 19:42:48 +00:00
David Shaw
e2fdff56fc
* keygen.c (make_backsig, write_direct_sig, write_selfsigs)
...
(write_keybinding): Have the various selfsigs created during key
generation use the timestamp of their parent key. This helps avoid
leaking information about the performance of the machine where the
keys were generated. Noted by Christian Danner.
2007-01-30 21:19:45 +00:00
Werner Koch
9e4a5071a6
* parse-packet.c (read_protected_v3_mpi): Make sure to stop
...
reading even for corrupted packets.
* keygen.c (generate_user_id): Need to allocate one byte more.
Reported by Felix von Leitner.
2007-01-15 19:30:33 +00:00
David Shaw
68ea16cbfc
* options.skel: Tweak some examples to match reality and update the
...
RFC for CERT now that it is out of draft.
2006-12-15 04:37:47 +00:00
David Shaw
ea5397943a
* Makefile.am: Install options.skel via dist_pkgdata_DATA so that
...
"make uninstall" works properly.
2006-12-13 21:41:37 +00:00
Werner Koch
e810efc76f
Removed references to removed g10defs.h file.
2006-12-13 12:09:44 +00:00
Werner Koch
9f433cccca
Removed the use of g10defs.h.
...
This required some code cleanups and the introduction of
a few accessor ducntions in mpi.
2006-12-11 19:54:53 +00:00
Werner Koch
abfdbea116
/
...
* configure.ac: Remove GNUPG_DATADIR for non-W32 systems.
g10/
* Makefile.am (AM_CPPFLAGS): Define GNUPG_DATADIR.
* openfile.c (copy_options_file): Use log_info and not log_error
to avoid error returns in case of a missing skeleton file.
2006-12-07 11:33:24 +00:00
Werner Koch
d8ff6704c8
Preparing a release
2006-12-06 09:52:40 +00:00
David Shaw
cfa0b50dc0
* keyedit.c (menu_clean): Show "already minimized" rather than
...
"already clean" when a minimized key is minimized again. From Dirk
Traulsen.
2006-12-03 06:26:12 +00:00
David Shaw
e0cd2d31a1
* options.h, gpg.c (main), passphrase.c (passphrase_to_dek): Add
...
--passphrase-repeat option to control how many times gpg will
re-prompt for a passphrase to ensure the user has typed it correctly.
Defaults to 1.
2006-12-03 04:38:53 +00:00
Werner Koch
e1829a3d52
* openfile.c (ask_outfile_name): Fixed buffer overflow occurring
...
if make_printable_string returns a longer string. Fixes bug 728.
2006-11-27 16:40:14 +00:00
David Shaw
55df654ea8
Missing changelog entry
2006-11-06 04:07:33 +00:00
Werner Koch
31cf39791e
New command --gpgconf-test.
2006-10-23 14:21:41 +00:00
David Shaw
4e07a84cb9
* parse-packet.c (parse_symkeyenc): Show the unpacked as well as the
...
packed s2k iteration count.
* main.h, options.h, gpg.c (encode_s2k_iterations, main), passphrase.c
(hash_passphrase): Add --s2k-count option to specify the number of s2k
hash iterations.
2006-10-13 03:44:34 +00:00
David Shaw
6174275c39
* keyserver.c (keyserver_spawn): Write the 16-digit keyid rather than
...
whatever key selector the user used on the command line.
2006-10-06 05:46:07 +00:00
Werner Koch
7925e747d0
fix for bug 537 and documentation fixes.
2006-10-02 13:22:27 +00:00