Werner Koch
4e1a0eac3e
Typo fixes
2005-04-05 17:10:28 +00:00
Werner Koch
80f4424658
Changes to make use of code taken from libassuan. This replaces the
...
old ad-hoc connection code to gpg-agent. We do need this for the
forthcoming diversion of card code to an already running gpg-agent
with card-support.
2005-04-05 17:09:13 +00:00
David Shaw
727cda9758
* mainproc.c (proc_plaintext): Properly handle SIG+LITERAL (old-style PGP)
...
signatures that use hashes other than SHA-1, RIPEMD160, or MD5.
2005-04-01 16:22:34 +00:00
Werner Koch
c43423f0bd
(keygen_set_std_prefs): Explain the chosen order of
...
AES key sizes.
2005-04-01 09:03:15 +00:00
David Shaw
c336e34571
* exec.h, exec.c (set_exec_path): Remove some dead code and change all
...
callers. We no longer need to append to $PATH.
2005-03-31 17:11:53 +00:00
Werner Koch
fe01cbceb0
* keydb.c (keydb_add_resource): Clarify meaning of flags. Add new
...
flag 4. Use log_info for errors registering the default secret key.
* g10.c (main): Flag the default keyrings.
2005-03-31 07:05:35 +00:00
David Shaw
14fdbdc97a
* keyserver.c (keyserver_spawn): Don't mess about with the $PATH.
...
Rather, call keyserver helpers with the full path. This fixes some
PATH-inspired DLL problems on W32. Noted by Carlo Luciano Bianco.
2005-03-31 03:58:53 +00:00
Werner Koch
0fae3c3738
* w32installer.nsi: Allow including of WINPT source. Include
...
libiconv source.
* mk-w32-dist: Add code to detect presence of source. Calculate a
build number; add option --build-number to overide.
2005-03-30 14:23:01 +00:00
Werner Koch
1985805cdf
(pin_cb): Print a warning if the info string hack is
...
not there. This may happen due to typos in the translation.
2005-03-30 10:39:13 +00:00
Werner Koch
4d5285ee87
(rndw32_gather_random_fast): While adding data use the
...
size of the object and not the one of its address. Bug reported by
Sascha Kiefer.
2005-03-23 08:50:27 +00:00
David Shaw
1517f0e945
* gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved from
...
gpgkeys_ldap.c. Print a string, but strip out any CRs.
* gpgkeys_finger.c (get_key), gpgkeys_hkp.c (get_key), gpgkeys_http.c
(get_key): Use it here when outputting key material to canonicalize
line endings.
2005-03-22 23:41:08 +00:00
David Shaw
57b9ba5e16
* gpgv.c: Stubs for tty_enable_completion() & tty_disable_completion().
...
* openfile.c (ask_outfile_name): Enable readline completion when prompting
for an output filename.
* plaintext.c (ask_for_detached_datafile): Enable readline completion when
prompting for a detached sig datafile.
2005-03-21 20:47:28 +00:00
Werner Koch
31135aff14
* keyedit.c (command_generator, keyedit_completion): Changed
...
indentation.
* card-util.c (command_generator, card_edit_completion): Ditto.
2005-03-21 15:24:48 +00:00
David Shaw
f58ccc8c3d
* readline.m4: Check for completion functionality.
...
* ldap.m4: Comments.
2005-03-21 14:32:44 +00:00
David Shaw
f30b25e565
* card-util.c (command_generator, card_edit_completion)
...
[GNUPG_MAJOR_VERSION==1 && HAVE_LIBREADLINE]: New functions to enable
command completion in the --card-edit menu. (card_edit): Call them
here.
2005-03-20 03:59:07 +00:00
David Shaw
8885f0b0cc
* gpgkeys_ldap.c (main): Fix three wrong calls to fail_all(). Noted
...
by Stefan Bellon.
2005-03-19 14:24:36 +00:00
David Shaw
c249809a6b
* keyedit.c (command_generator, keyedit_completion) [HAVE_LIBREADLINE]:
...
New functions to enable command completion in the --edit-key menu.
(keyedit_menu): Call them here.
2005-03-18 22:07:12 +00:00
David Shaw
9c3484924b
* ttyio.c (tty_enable_completion, tty_disable_completion): Enable and
...
disable readline completion. (init_ttyfp): Completion is disabled by
default.
2005-03-18 20:17:38 +00:00
David Shaw
5f7720e693
* getkey.c (get_seckey_byname2): If no explicit default key is set, don't
...
pick a disabled default. Noted by David Crick.
2005-03-17 23:52:38 +00:00
David Shaw
24a34eea61
* ksutil.c (parse_ks_options): Handle verbose=nnn.
...
* Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefine
$libexecdir.
2005-03-17 23:16:41 +00:00
David Shaw
e19aa2e3ea
* Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefine
...
$libexecdir.
2005-03-17 23:14:47 +00:00
David Shaw
ff93f3528a
* options.h, keyserver.c (parse_keyserver_options, keyserver_spawn): Don't
...
treat 'verbose' and 'include-disabled' as special. Just pass them through
silently to the keyserver helper.
2005-03-17 22:55:17 +00:00
David Shaw
efa0dd21a2
* gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start using
...
parse_ks_options and remove a lot of common code.
* ksutil.h, ksutil.c (parse_ks_options): Parse OPAQUE, and default
debug with no arguments to 1.
2005-03-17 16:42:41 +00:00
David Shaw
166876a9fd
* configure.ac: Move the LDAP detecting code to m4/ldap.m4.
2005-03-17 04:09:37 +00:00
David Shaw
0914bbf535
* ldap.m4: New. Moved from configure.ac.
2005-03-17 04:05:14 +00:00
David Shaw
dee66f5cc9
* gpgkeys_ldap.c: Include lber.h if configure determines we need it.
2005-03-17 04:02:17 +00:00
David Shaw
4f347281a9
* ksutil.h, ksutil.c (ks_action_to_string): New. (free_ks_options): Only
...
free if options exist.
2005-03-16 23:46:07 +00:00
Werner Koch
8ba895c763
(parse_ccid_descriptor): Make SCM workaround
...
reader type specific.
(scan_or_find_devices): Do not check the interface subclass in the
SPR532 kludge, as this depends on the firmware version.
(ccid_get_atr): Get the Slot status first. This solves the
problem with readers hanging on recent Linux 2.6.x.
(bulk_in): Add argument TIMEOUT and changed all callers to pass an
appropriate one. Change the standard timeout from 10 to 5 seconds.
(ccid_slot_status): Add a retry code with an initial short timeout.
(do_close_reader): Do an usb_reset before closing the reader.
2005-03-16 19:10:54 +00:00
David Shaw
a90637513c
* ksutil.h, ksutil.c (init_ks_options, free_ks_options,
...
parse_ks_options): Pull a lot of duplicated code into a single options
parser for all keyserver helpers.
2005-03-16 15:17:03 +00:00
Werner Koch
a659989792
Post release preparations
2005-03-15 16:28:37 +00:00
Werner Koch
49ffa9ae31
Preparing a release
V1-4-1
2005-03-15 15:51:52 +00:00
Werner Koch
a177090f37
* card-util.c (card_status): Use isotimestamp and not the
...
localized asctimestamp to match the timezone used in the key
information.
* miscutil.c (isotimestamp): New.
2005-03-14 20:41:20 +00:00
Werner Koch
a043c14d22
* cardglue.c (pin_cb): Disable debug output.
...
* mk-w32-dist: Check for patch files.
* w32installer.nsi: Translated a few more strings. Print a
warning if permssions are not suitable for the installation.
Add Uninstaller entries.
2005-03-14 19:19:21 +00:00
Werner Koch
f0e9a1ff4f
* configure.ac: New option --enable-noexecstack.
...
* Makefile.am (ASFLAGS): Renamed to AM_CCASFLAGS and added the
variable for non exectubale stack options. Adapted users.
2005-03-11 11:02:12 +00:00
David Shaw
9bf9389179
* keyserver.c (parse_keyserver_options): Accept honor-http-proxy as an
...
alias for http-proxy.
2005-03-10 19:34:40 +00:00
David Shaw
04f02174e1
* delkey.c (do_delete_key, delete_keys): Fix problem with --expert
...
preventing --delete-secret-and-public-keys from deleting secret keys.
2005-03-10 18:43:36 +00:00
Werner Koch
e27aa939bf
(keyedit_menu) [W32]: Run the trustdb stale check
...
earlier.
2005-03-10 18:40:57 +00:00
Werner Koch
1ccebd117d
(secmem_realloc): Take control information into account
...
when checking whether a resize is needed.
2005-03-10 09:52:05 +00:00
Werner Koch
c91e30fda4
* primegen.c (is_prime): Free A2. Noted by pmike2001@mail.ru.
...
Fixes #423 .
* DETAILS: Document new status codes.
* cardglue.c (agent_scd_pkdecrypt, agent_scd_pksign)
(agent_scd_genkey, agent_scd_setattr, agent_scd_change_pin)
(agent_scd_checkpin, agent_openpgp_storekey): Make sure to send a
SC_OP_FAILURE after card operations which might change data.
* card-util.c (change_pin): Send a SC_OP_SUCCESS after a PIN has
been changed.
(change_name): Removed a debug output.
* status.h, status.c: New codes BAD_PASSPHRASE_PIN, SC_OP_FAILURE
and SC_OP_SUCCESS.
* de.po: Updated. Translation is still in the works, though.
2005-03-07 13:59:59 +00:00
David Shaw
db82cdd26a
* libcurl.m4: Use $LIBS instead of $LDFLAGS. This should help build
...
problems on Mingw32.
2005-03-01 00:05:16 +00:00
David Shaw
522ca12084
* keyedit.c (keyedit_menu): Only print the key signing hint when signing
...
from a place where it is useful (i.e. --edit-key and not --sign-key).
2005-02-24 21:21:14 +00:00
David Shaw
05ae122659
* gnupg.spec.in: Fix problem with storing the gpgkeys helpers in
...
libexec, but calling them in libexec/gnupg.
2005-02-17 03:49:16 +00:00
Werner Koch
b7491aa8c7
about to release 1.4.1rc2
RC-1-4-1rc2
2005-02-16 20:29:20 +00:00
Werner Koch
00ef56868d
* card-util.c (fetch_url): Fetch the key from the default
...
keyserver if no URL is available.
* w32installer.nsi: Added page to select the language.
* mk-w32-dist: Create the opt.ini using the available languages.
2005-02-16 20:08:14 +00:00
Werner Koch
ca24b4ea3f
* w32installer.nsi: Added page to select the language.
...
* mk-w32-dist: Create the opt.ini using the available languages.
2005-02-16 13:27:57 +00:00
Werner Koch
bb71180d07
* gpg.sgml: Add bkuptocard command for --edit-key.
...
* passphrase.c (agent_get_passphrase): Don't call free_public_key
if PK is NULL.
(passphrase_clear_cache): Ditto. Removed debug output.
(passphrase_to_dek): Ditto.
2005-02-15 11:02:32 +00:00
David Shaw
2833a0eadc
* curl-shim.c (curl_easy_perform): Fix compile warning.
...
* curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add
ca-cert-file option, to pass in the SSL cert.
2005-02-12 03:15:02 +00:00
David Shaw
25001837e9
* curl-shim.h, curl-shim.c: New. This is code to fake the curl API in
...
terms of the current HTTP iobuf API.
* gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with
the iobuf code rather than libcurl.
2005-02-11 18:05:13 +00:00
David Shaw
8ba44ec180
* configure.ac: Add --enable-fake-curl option to help test no-curl HTTP.
...
* NEWS: Note Mister/Zuccherato CFB countermeasures.
2005-02-11 17:46:15 +00:00
David Shaw
a3ea962679
Disable the "quick check" bytes for PK decryptions. This is in
...
regards to the Mister and Zuccherato attack on OpenPGP CFB mode.
2005-02-10 04:06:30 +00:00