1
2011-01-10 Werner Koch <wk@g10code.com>
3
* keygen.c (ask_user_id): Fix duplicate test for AMAIL by correct
4
ANAME. See bug#1307. Reported by Steve Grubb.
6
* import.c (import_keys_internal): Make loop code a bit more
7
readable. See bug#1307. Reported by Steve Grubb.
9
* sign.c (sign_file): Fix TEMP_HASHLEN computation. See bug#1307.
10
Reported by Steve Grubb.
12
2010-10-29 David Shaw <dshaw@jabberwocky.com>
14
* pkclist.c (select_algo_from_prefs): Make sure the scores can't
15
overflow when picking an algorithm (not a security issue since we
16
can't pick something not present in all preference lists, but we
17
might pick something that isn't scored first choice).
19
* pkclist.c (select_algo_from_prefs): Slightly improve the
20
handling of MD5 in preference lists. Instead of replacing MD5
21
with SHA-1, just remove MD5 from the list altogether, and let the
22
next-highest ranked algorithm be chosen.
24
2010-09-29 Werner Koch <wk@g10code.com>
26
* keygen.c (key_from_sexp): Fix memory leak in the error case.
28
* call-agent.c (agent_scd_pksign): Add missing space.
30
2010-09-28 David Shaw <dshaw@jabberwocky.com> (wk)
32
* options.skel: Make the example for force-v3-sigs match
33
reality (it has defaulted to off since 2007-10-25).
35
2010-09-28 Werner Koch <wk@g10code.com>
37
* keyedit.c (show_key_with_all_names): Make revocation hint
38
more clear. Fixes bug#1234.
40
* call-agent.c (hash_algo_option): New.
41
(agent_scd_pksign): Use it.
43
2010-07-20 Werner Koch <wk@g10code.com>
45
* mainproc.c (print_pkenc_list): Print a STATUS_ERROR. Fixes
48
2010-06-18 Werner Koch <wk@g10code.com>
50
* parse-packet.c (skip_packet, parse_gpg_control): Take care of
51
premature EOFs. Backport from trunk.
53
2010-06-17 Werner Koch <wk@g10code.com>
55
* gpg.c (main): Use CAST5 as default s2k algo. The macro
56
USE_CAST5 was only used with GnuPG 1.x.
58
2010-05-12 Werner Koch <wk@g10code.com>
60
* armor.c (radix64_read): Change fix 2006-04-28 to fix bug#1179.
62
* plaintext.c (handle_plaintext): Check return code of fflush.
65
2010-05-07 Werner Koch <wk@g10code.com>
67
* import.c (chk_self_sigs): Check direct key signatures. Fixes
69
(fix_bad_direct_key_sigs): New.
70
(import_one): Use it here.
72
* import.c (chk_self_sigs): Re-indent and slighly re-arrange code.
73
Use test macros for the sig class.
75
2010-03-12 Werner Koch <wk@g10code.com>
77
* plaintext.c (setup_plaintext_name): Do not encode pipe like
78
filenames. This helps with bug#1201.
80
* seckey-cert.c (do_check): Return GPG_ERR_CANCELED.
81
* keyedit.c (change_passphrase): Add arg R_ERR.
82
(keyedit_passwd): Return the correct error or emit a success
85
2010-02-25 Werner Koch <wk@g10code.com>
87
* sign.c (hash_for): Force SHA1 only for v1 OpenPGP cards. Fixes
90
2010-02-17 Werner Koch <wk@g10code.com>
92
* keygen.c (ask_user_id): Avoid infinite loop in case of invalid
95
2010-02-11 Marcus Brinkmann <marcus@g10code.de>
97
From trunk 2009-09-23, 2009-11-02, 2009-11-25:
99
* call-agent.c: Include "scdaemon.h" before <assuan.h> because of
100
GPG_ERR_SOURCE_DEFAULT check.
101
(learn_status_cb, dummy_data_cb, get_serialno_cb, default_inq_cb)
102
(learn_status_cb, inq_writecert_parms, inq_writekey_parms)
103
(scd_genkey_cb, membuf_data_cb): Return gpg_error_t instead of
105
* gpg.c: Include "scdaemon.h" before <assuan.h> because of
106
GPG_ERR_SOURCE_DEFAULT check.
107
(main): Update to new Assuan API.
108
* server.c: Include "scdaemon.h" before <assuan.h> because of
109
GPG_ERR_SOURCE_DEFAULT check.
110
(reset_notify, input_notify, output_notify): Update to
111
new assuan interface.
112
(option_handler, cmd_recipient, cmd_signer, cmd_encrypt)
113
(cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export)
114
(cmd_delkeys, cmd_message, do_listkeys, cmd_listkeys)
115
(cmd_listsecretkeys, cmd_genkey, cmd_getinfo): Return gpg_error_t
117
(register_commands): Allocate assuan context before starting
118
server. Use assuan_handler_t. Add NULL arg to
119
assuan_register_command.
120
(gpg_server): Allocate assuan_context before starting server.
121
Use assuan_fd_t and assuan_fdopen on fds.
123
2010-02-02 Werner Koch <wk@g10code.com>
125
* card-util.c (card_edit): Change prompt to "gpg/card".
126
* keyedit.c (keyedit_menu): Change prompt to "gpg".
128
2010-01-11 Werner Koch <wk@g10code.com>
130
* gpg.c: Add option --passwd.
133
* keyedit.c (keyedit_passwd): New.
135
* gpg.c (oPasswd, oPasswdFD, oPasswdFile, oPasswdRepeat): Change
136
to oPassphrase, oPassphraseFD, oPassphraseFile, oPassphraseRepeat.
137
* options.h (struct): s/passwd_repeat/passphrase_repeat/.
138
* gpg.c (main): Ditto.
139
* passphrase.c (passphrase_to_dek_ext): Ditto.
1
141
2009-12-21 Werner Koch <wk@g10code.com>
3
143
* gpg.c (main): Add dummy options --skip-hidden-recipients and no