gnupg.git
14 years agopost release updates
Werner Koch [Tue, 14 Dec 2004 08:33:01 +0000 (08:33 +0000)]
post release updates

14 years agoautomake updates, removed one debug output V1-3-93
Werner Koch [Tue, 14 Dec 2004 08:03:56 +0000 (08:03 +0000)]
automake updates, removed one debug output

14 years agoPrepared for last 1.4 release candidate
Werner Koch [Tue, 14 Dec 2004 07:49:27 +0000 (07:49 +0000)]
Prepared for last 1.4 release candidate

14 years ago(read_passphrase_from_fd): Fixed memory leak.
Werner Koch [Mon, 13 Dec 2004 08:04:52 +0000 (08:04 +0000)]
(read_passphrase_from_fd): Fixed memory leak.
Noted by Andrei Darashenka.

14 years ago(keys): Removed my old 621CC013 key
Werner Koch [Sun, 12 Dec 2004 16:03:47 +0000 (16:03 +0000)]
(keys): Removed my old 621CC013 key
which expires at the end of this year.  Add g10 Code's source code
signing key 37D92FFB.

14 years ago* keyserver.c (parse_preferred_keyserver): Force preferred keyserver
David Shaw [Sun, 12 Dec 2004 05:10:22 +0000 (05:10 +0000)]
* keyserver.c (parse_preferred_keyserver): Force preferred keyserver
subpackets to have a URI scheme specified.

14 years ago* options.h, g10.c (main), textfilter.c (standard): Use --rfc2440 or
David Shaw [Sat, 11 Dec 2004 04:47:33 +0000 (04:47 +0000)]
* options.h, g10.c (main), textfilter.c (standard): Use --rfc2440 or
--openpgp directly to determine the end of line hashing rule.

* trustdb.c (uid_trust_string_fixed): Show uids as expired if the key is
expired.

14 years ago* sv.po: Take the update done for 1.2.6.
Werner Koch [Fri, 10 Dec 2004 22:21:02 +0000 (22:21 +0000)]
* sv.po: Take the update done for 1.2.6.

* zh_CN.po, fr.po, cs.po, ja.po: Updated.

14 years ago* app-openpgp.c (send_fprtime_if_not_null): New.
Werner Koch [Fri, 10 Dec 2004 10:49:14 +0000 (10:49 +0000)]
* app-openpgp.c (send_fprtime_if_not_null): New.
(do_getattr): Add KEY_TIME.
(do_learn_status): Print KEY_TIME.
* cardglue.c (learn_status_cb): Parse KEY-TIME.
* card-util.c (card_status): Print creation time if available.

14 years ago* options.h, g10.c (main), textfilter.c (len_without_trailing_ws): Removed
David Shaw [Fri, 10 Dec 2004 05:35:54 +0000 (05:35 +0000)]
* options.h, g10.c (main), textfilter.c (len_without_trailing_ws): Removed
(not used). (standard): 2440 says that textmode hashes should canonicalize
line endings to CRLF and remove spaces and tabs.  2440bis-12 says to just
canonicalize to CRLF.  So, we default to the 2440bis-12 behavior, but
revert to the strict 2440 behavior if the user specifies --rfc2440.  In
practical terms this makes no difference to any signatures in the real
world except for a textmode detached signature.

14 years ago* passphrase.c (agent_get_passphrase): New args CUSTOM_PROMPT and
Werner Koch [Thu, 9 Dec 2004 16:57:30 +0000 (16:57 +0000)]
* passphrase.c (agent_get_passphrase): New args CUSTOM_PROMPT and
CUSTOM_DESCRIPTION.  Changed all callers.

* app-openpgp.c (do_getattr, do_learn_status, do_setattr): Support
the new private DOs.
(do_change_pin): Add a "N" prefix to the strings so that the
callback can act accordingly for a new PIN.  Unfortunately this
breaks existing translations but I see no wother way to overvome
this.

* cardglue.c (learn_status_cb): Ditto.
(agent_release_card_info): Ditto.
(struct pin_cb_info_s): Removed and changed all users.
(pin_cb): Reworked.

* card-util.c (card_status): Print them
(card_edit): New command PRIVATEDO.
(change_private_do): New.

14 years ago* keygen.c (ask_algo): Add a choose-your-own-capabilities option for DSA.
David Shaw [Thu, 9 Dec 2004 15:49:47 +0000 (15:49 +0000)]
* keygen.c (ask_algo): Add a choose-your-own-capabilities option for DSA.

14 years ago* highlights-1.4.txt: New.
David Shaw [Thu, 9 Dec 2004 13:17:48 +0000 (13:17 +0000)]
* highlights-1.4.txt: New.

* mksamplekeys, samplekeys.asc: Add the PGP global directory key.

14 years ago*** empty log message ***
Werner Koch [Tue, 7 Dec 2004 19:00:15 +0000 (19:00 +0000)]
*** empty log message ***

14 years ago* keygen.c (ask_keysize): Change strings to always use %u instead of
David Shaw [Tue, 7 Dec 2004 17:58:35 +0000 (17:58 +0000)]
* keygen.c (ask_keysize): Change strings to always use %u instead of
hardcoding key sizes.  Bump default to 2048.  Bump minimum down to 512,
where possible, but require --expert to get there.  DSA is always 1024
unless --expert is given.

14 years ago(fd_cache_strcmp): New. Use whenever we compare
Werner Koch [Mon, 6 Dec 2004 10:32:20 +0000 (10:32 +0000)]
(fd_cache_strcmp): New. Use whenever we compare
filenames for the fd_cache. This is needed because the backslash
is an alias for a slash under W32. Reported by Tobias Winkler.

14 years ago* http.c (send_request): Include the port if non-80 in the Host: header.
David Shaw [Fri, 3 Dec 2004 20:23:12 +0000 (20:23 +0000)]
* http.c (send_request): Include the port if non-80 in the Host: header.
Noted by Jason Harris.

14 years ago* Makefile.am: The harmless "ignored error" on gpgkeys_ldap install on top
David Shaw [Fri, 3 Dec 2004 19:12:38 +0000 (19:12 +0000)]
* Makefile.am: The harmless "ignored error" on gpgkeys_ldap install on top
of an existing install is bound to confuse people. Use ln -s -f to force
the overwrite.

14 years ago* md.c (string_to_digest_algo): Allow read/write SHA384 and SHA512.
David Shaw [Wed, 1 Dec 2004 04:01:16 +0000 (04:01 +0000)]
* md.c (string_to_digest_algo): Allow read/write SHA384 and SHA512.

14 years ago* getkey.c (parse_key_usage): New function to parse out key usage flags.
David Shaw [Mon, 29 Nov 2004 21:21:52 +0000 (21:21 +0000)]
* getkey.c (parse_key_usage): New function to parse out key usage flags.
Set PUBKEY_USAGE_UNKNOWN to handle flags that we don't understand.
(fixup_uidnode, merge_selfsigs_main, merge_selfsigs_subkey): Call it from
here to remove duplicate code.

14 years ago* cipher.h: Add PUBKEY_USAGE_UNKNOWN.
David Shaw [Mon, 29 Nov 2004 21:14:18 +0000 (21:14 +0000)]
* cipher.h: Add PUBKEY_USAGE_UNKNOWN.

14 years ago* export.c (do_export_stream): Allow export-minimal to work with secret
David Shaw [Fri, 26 Nov 2004 16:48:05 +0000 (16:48 +0000)]
* export.c (do_export_stream): Allow export-minimal to work with secret
keys, even though a non-selfsig secret key signature is rare.

14 years ago* gpg.sgml: Document export-minimal.
David Shaw [Fri, 26 Nov 2004 16:46:53 +0000 (16:46 +0000)]
* gpg.sgml: Document export-minimal.

14 years ago* options.h, export.c (parse_export_options, do_export_stream), import.c
David Shaw [Fri, 26 Nov 2004 15:51:37 +0000 (15:51 +0000)]
* options.h, export.c (parse_export_options, do_export_stream), import.c
(parse_import_options, import_keys_internal): Make the import-options and
export-options distinct since they can be mixed together as part of
keyserver-options.

14 years ago* options.h, export.c (parse_export_options, do_export_stream): Add
David Shaw [Thu, 25 Nov 2004 03:58:42 +0000 (03:58 +0000)]
* options.h, export.c (parse_export_options, do_export_stream): Add
"export-minimal" option to disregard any sigs except selfsigs.

14 years ago* trustdb.c (uid_trust_string_fixed): Use a string that can be atoi-ed,
David Shaw [Thu, 25 Nov 2004 03:48:34 +0000 (03:48 +0000)]
* trustdb.c (uid_trust_string_fixed): Use a string that can be atoi-ed,
but also has a comment for the translator.

14 years ago* trustdb.h, trustdb.c (uid_trust_string_fixed): New. Return a fixed-size
David Shaw [Wed, 24 Nov 2004 05:25:03 +0000 (05:25 +0000)]
* trustdb.h, trustdb.c (uid_trust_string_fixed): New.  Return a fixed-size
translatable string similar to trust_value_to_string. This allows for
easier lining up of displays.

* keyedit.c (show_key_with_all_names), keylist.c (list_keyblock_print):
Use it here to print validity strings.

* gpgv.c: Stub.

14 years ago(S_IRGRP) [HAVE_DOSISH_SYSTEM]: Define to 0.
Werner Koch [Thu, 18 Nov 2004 16:01:08 +0000 (16:01 +0000)]
(S_IRGRP) [HAVE_DOSISH_SYSTEM]: Define to 0.

14 years ago(open_info_file): New.
Werner Koch [Wed, 17 Nov 2004 16:04:21 +0000 (16:04 +0000)]
(open_info_file): New.
(main): Unconditionally implement --status-file, --logger-file,
--attribute-file, --passphrase-file, --command-file.  This is not
generally useful but easy to support and might make scripting
under Windows easier.

14 years ago* configure.ac: Autodetect wldap32 on Windoze.
David Shaw [Sat, 6 Nov 2004 13:18:13 +0000 (13:18 +0000)]
* configure.ac: Autodetect wldap32 on Windoze.

14 years ago* README, configure.ac: Add --enable-backsigs to enable the experimental
David Shaw [Fri, 5 Nov 2004 03:45:06 +0000 (03:45 +0000)]
* README, configure.ac: Add --enable-backsigs to enable the experimental
backsigs code.

14 years ago* plaintext.c (handle_plaintext): Don't try and create a zero-length
David Shaw [Thu, 4 Nov 2004 22:28:39 +0000 (22:28 +0000)]
* plaintext.c (handle_plaintext): Don't try and create a zero-length
filename when using --use-embedded-filename with input that has no
filename (clearsigned or message generated from a pipe).

* encode.c (encode_simple, encode_crypt), progress.c (handle_progress),
sign.c (write_plaintext_packet): Fix a few inconsistent calls (NULL
filename means a pipe here, so don't bother to check it twice).

14 years ago* misc.c (print_digest_algo_note): The latest 2440bis drafts deprecates
David Shaw [Wed, 3 Nov 2004 20:35:28 +0000 (20:35 +0000)]
* misc.c (print_digest_algo_note): The latest 2440bis drafts deprecates
MD5, so give a warning. (print_pubkey_algo_note, print_cipher_algo_note,
print_digest_algo_note): Give the algorithm name in the experimental algo
warning.

14 years ago2004-11-03 Timo Schulz <twoaday@g10code.com>
Timo Schulz [Wed, 3 Nov 2004 20:03:46 +0000 (20:03 +0000)]
2004-11-03  Timo Schulz  <twoaday@g10code.com>

        * strgutil.c (w32_strerror): New.
        * ttyio.c (init_ttyfp, tty_printf, do_get): Use it here.
        * iobuf.c (fd_cache_open, file_filter): Likewise.
        (iobuf_seek, translate_file_handle): Likewise.

14 years ago* strgutil.c (load_libiconv): Use log_info to avoid failures when
Werner Koch [Wed, 3 Nov 2004 16:40:29 +0000 (16:40 +0000)]
* strgutil.c (load_libiconv): Use log_info to avoid failures when
iconv.dll is not installed.

14 years ago(get_string): Removed debugging hack.
Werner Koch [Sat, 30 Oct 2004 22:49:09 +0000 (22:49 +0000)]
(get_string): Removed debugging hack.

14 years ago* skclist.c (build_sk_list): Don't need to warn about PGP-generated
David Shaw [Thu, 28 Oct 2004 22:09:09 +0000 (22:09 +0000)]
* skclist.c (build_sk_list): Don't need to warn about PGP-generated
Elgamal signing keys since we no longer support any Elgamal signing keys.

* sign.c (sign_file, clearsign_file): Use "writing to" instead of "writing
to file" to match other strings.

* pkclist.c (check_signatures_trust): Fix typo.  Noted by Moray Allan.
This is Debian bug #278708.

* passphrase.c (ask_passphrase, passphrase_to_dek): "password" ->
"passphrase".

* keyedit.c (show_key_with_all_names): Show designated revoker as part of
translatable string.

14 years ago* DETAILS: Document SIG_SUBPACKET status tag.
David Shaw [Thu, 28 Oct 2004 22:08:15 +0000 (22:08 +0000)]
* DETAILS: Document SIG_SUBPACKET status tag.

14 years ago* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
David Shaw [Thu, 28 Oct 2004 21:53:51 +0000 (21:53 +0000)]
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.

14 years agoInlcude LIBICONV
Werner Koch [Thu, 28 Oct 2004 18:57:50 +0000 (18:57 +0000)]
Inlcude LIBICONV

14 years agopost release preparations
Werner Koch [Thu, 28 Oct 2004 09:50:24 +0000 (09:50 +0000)]
post release preparations

14 years agoDoes not belong into the CVS
Werner Koch [Thu, 28 Oct 2004 09:20:08 +0000 (09:20 +0000)]
Does not belong into the CVS

14 years agoAdded gpg.ru.1 to EXTRA_DIST V1-3-92
Werner Koch [Thu, 28 Oct 2004 09:18:34 +0000 (09:18 +0000)]
Added gpg.ru.1 to EXTRA_DIST

14 years agoAbout to release 1.3.92
Werner Koch [Thu, 28 Oct 2004 09:06:50 +0000 (09:06 +0000)]
About to release 1.3.92

14 years ago* card-util.c, delkey.c, keygen.c, plaintext.c, keyedit.c, passphrase.c,
David Shaw [Thu, 28 Oct 2004 03:57:30 +0000 (03:57 +0000)]
* card-util.c, delkey.c, keygen.c, plaintext.c, keyedit.c, passphrase.c,
revoke.c: Collapse the two different "can't do that in batch mode" strings
into one.

14 years ago* keylist.c (status_one_subpacket): New. Send the subpacket data to the
David Shaw [Thu, 28 Oct 2004 03:14:55 +0000 (03:14 +0000)]
* keylist.c (status_one_subpacket): New.  Send the subpacket data to the
--status interface.

* card-util.c (card_edit): Show when admin is enabled or not.

* status.h, status.c: New STATUS_SIG_SUBPACKET type.

* build-packet.c (build_sig_subpkt): Multiple keyserver URLs are allowed.

14 years ago* keyring.c: Make some strings translatable.
David Shaw [Thu, 28 Oct 2004 02:14:06 +0000 (02:14 +0000)]
* keyring.c: Make some strings translatable.

* exec.c, sign.c: Change "can't open file" to "can't open" and "can't
create file" to "can't create" to be consistent with other strings so we
don't have to translate both.

14 years ago* delkey.c, export.c, keyedit.c, pkclist.c, revoke.c, skclist.c: Fix a few
David Shaw [Thu, 28 Oct 2004 01:58:01 +0000 (01:58 +0000)]
* delkey.c, export.c, keyedit.c, pkclist.c, revoke.c, skclist.c: Fix a few
missed possible \"username\" quotes.

14 years ago* dynload.h: Always use it for _WIN32.
Werner Koch [Wed, 27 Oct 2004 16:32:51 +0000 (16:32 +0000)]
* dynload.h: Always use it for _WIN32.

* LINGUAS: Better don't have comments in this file.

* mk-w32-dist: Use utf-8 encoding for all MO files.

* simple-gettext.c: Removed windows.h.
(get_string): On the fly translation from utf-8 to active
character set.

* strgutil.c (load_libiconv) [_WIN32]: new.
(set_native_charset) [_WIN32]: Call it here and autodetect the
used code page.
(native_to_utf8, utf8_to_native): Reverted arguments for
iconv_open.
(handle_iconv_error): Made this function match iconv_open argumnet
ordering.
(utf8_to_native): Disable all quoting for DELIM == -1.

14 years ago(load_libiconv) [_WIN32]: new.
Werner Koch [Wed, 27 Oct 2004 12:04:14 +0000 (12:04 +0000)]
(load_libiconv) [_WIN32]: new.
(set_native_charset) [_WIN32]: Call it here and autodetect the
used code page.
(native_to_utf8, utf8_to_native): Reverted arguments for
iconv_open.
(handle_iconv_error): Made this function match iconv_open argumnet
ordering.

14 years agoWe don't want this file in the CVS
Werner Koch [Tue, 26 Oct 2004 19:36:13 +0000 (19:36 +0000)]
We don't want this file in the CVS

14 years ago* configure.ac: New option --disable-gnupg-iconv, define
Werner Koch [Tue, 26 Oct 2004 19:33:41 +0000 (19:33 +0000)]
* configure.ac: New option --disable-gnupg-iconv, define
USE_GNUPG_ICONV.
(AC_CANONICAL_TARGET): Replaced by AC_CANONICAL_HOST. Changed all
reference to TARGET to HOST.  Made sure that i586-mingw32msvc gets
detected as mingw32.
(UNIT64_C): Don't include inttype.h uncoditional but use a test to
ensure that it gets into conftest.h.
(AH_TOP): New. Prevent double inclusion of config.h.

* config.links: Use HOST instead of TARGET.

14 years agoDetect the Debian mingw32 package.
Werner Koch [Tue, 26 Oct 2004 19:32:44 +0000 (19:32 +0000)]
Detect the Debian mingw32 package.

14 years ago* configure.ac: New option --disable-gnupg-iconv, define
Werner Koch [Tue, 26 Oct 2004 12:44:21 +0000 (12:44 +0000)]
* configure.ac: New option --disable-gnupg-iconv, define
USE_GNUPG_ICONV.

14 years ago(mem2str): Translated comment to English.
Werner Koch [Tue, 26 Oct 2004 12:43:49 +0000 (12:43 +0000)]
(mem2str): Translated comment to English.
(handle_iconv_error) [USE_GNUPG_ICONV]: New.
(set_native_charset) [USE_GNUPG_ICONV]: Added iconv based
conversion checks.
(native_to_utf8, utf8_to_native): Added iconv based conversion.

14 years ago(verify_chv3): The minimum length for CHV3 is
Werner Koch [Tue, 26 Oct 2004 07:51:15 +0000 (07:51 +0000)]
(verify_chv3): The minimum length for CHV3 is
8. Changed string to match the other ones.

14 years ago(agent_send_all_options): Try to deduce the ttyname
Werner Koch [Tue, 26 Oct 2004 07:50:47 +0000 (07:50 +0000)]
(agent_send_all_options): Try to deduce the ttyname
from stdin.

14 years ago* options.h, g10.c (main), mainproc.c (check_sig_and_print): Rename
David Shaw [Thu, 21 Oct 2004 19:18:47 +0000 (19:18 +0000)]
* options.h, g10.c (main), mainproc.c (check_sig_and_print): Rename
verify-option show-validity to show-uid-validity to match the similar
list-option.

* app-openpgp.c (verify_chv3): Fix typo.

14 years ago* acinclude.m4: aclocal 1.9 wants quoting on AC_DEFUN arguments.
David Shaw [Thu, 21 Oct 2004 19:15:07 +0000 (19:15 +0000)]
* acinclude.m4: aclocal 1.9 wants quoting on AC_DEFUN arguments.

14 years ago* configure.ac: Remove the check for asprintf
Werner Koch [Thu, 21 Oct 2004 16:56:22 +0000 (16:56 +0000)]
* configure.ac: Remove the check for asprintf

* app-common.h (app_openpgp_storekey: Add prototype.

* app-openpgp.c (do_sign): Replace asprintf by direct allocation.
This avoids problems with missing vasprintf implementations.

* card-util.c (generate_card_keys): Add a #warning for gnupg 1.9
and use the same string there.

* util.h [!HAVE_VASPRINTF]: Removed prototype.

* vasprintf.c: Removed. It was used only at one place and I don't
want to get into build problems in 1.4.

14 years ago* g10.c (parse_list_options): Fix non-constant initializer so we can build
David Shaw [Thu, 21 Oct 2004 01:10:49 +0000 (01:10 +0000)]
* g10.c (parse_list_options): Fix non-constant initializer so we can build
with C89.

14 years ago* apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion.
Werner Koch [Wed, 20 Oct 2004 09:39:56 +0000 (09:39 +0000)]
* apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion.
(pcsc_get_status): Implemented.
(reset_pcsc_reader): Implemented.
(open_pcsc_reader): Succeed even with no card inserted.
(open_ccid_reader): Set LAST_STATUS.

* iso7816.c (iso7816_select_application): Always use 0 for P1.

14 years ago* gpg.sgml: Minor language tweaks.
David Shaw [Tue, 19 Oct 2004 03:04:14 +0000 (03:04 +0000)]
* gpg.sgml: Minor language tweaks.

* samplekeys.asc: Updated 99242560.

* DETAILS: spk flags are hex.

15 years ago* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of
David Shaw [Mon, 18 Oct 2004 15:53:28 +0000 (15:53 +0000)]
* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of
"x-hkp" so it can be used as a SRV tag.

15 years ago* http.c (connect_server, send_request): Use the URI scheme as the SRV tag
David Shaw [Mon, 18 Oct 2004 15:51:43 +0000 (15:51 +0000)]
* http.c (connect_server, send_request): Use the URI scheme as the SRV tag
rather than hard-coding _hkp.

15 years agoMore fixups to help Debian's install-info.
Werner Koch [Mon, 18 Oct 2004 07:40:11 +0000 (07:40 +0000)]
More fixups to help Debian's install-info.

15 years ago(agent_get_passphrase): Cast UIDLEN to int. Noted
Werner Koch [Sun, 17 Oct 2004 13:28:37 +0000 (13:28 +0000)]
(agent_get_passphrase): Cast UIDLEN to int.  Noted
by Christian Cornelssen.

15 years ago* parse-packet.c (parse_one_sig_subpkt, enum_sig_subpkt): Don't BUG() on
David Shaw [Sat, 16 Oct 2004 22:48:20 +0000 (22:48 +0000)]
* parse-packet.c (parse_one_sig_subpkt, enum_sig_subpkt): Don't BUG() on
unknown subpackets.  Rather, just return them silently.

15 years ago* http.c (connect_server): [_WIN32] actually fill in the sin_addr so we
David Shaw [Sat, 16 Oct 2004 21:31:36 +0000 (21:31 +0000)]
* http.c (connect_server): [_WIN32] actually fill in the sin_addr so we
aren't always talking to localhost.  Add some general sanity checking of
parameters learned from gethostbyname().

15 years ago* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
David Shaw [Sat, 16 Oct 2004 16:04:19 +0000 (16:04 +0000)]
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.

15 years agoDocument IMPORT_CHECK.
Werner Koch [Fri, 15 Oct 2004 17:55:41 +0000 (17:55 +0000)]
Document IMPORT_CHECK.

15 years agotest
Werner Koch [Fri, 15 Oct 2004 16:08:15 +0000 (16:08 +0000)]
test

15 years agoAdd a note
Werner Koch [Fri, 15 Oct 2004 16:05:32 +0000 (16:05 +0000)]
Add a note

15 years agoRemoved these generated files.
Werner Koch [Fri, 15 Oct 2004 13:47:39 +0000 (13:47 +0000)]
Removed these generated files.

15 years agopost release preparations
Werner Koch [Fri, 15 Oct 2004 13:46:19 +0000 (13:46 +0000)]
post release preparations

15 years agoUpdated. V1-3-91
Werner Koch [Fri, 15 Oct 2004 13:22:13 +0000 (13:22 +0000)]
Updated.

15 years ago* README: Mentioned --enable-selinux-support.
Werner Koch [Fri, 15 Oct 2004 13:16:58 +0000 (13:16 +0000)]
* README: Mentioned --enable-selinux-support.

* status.h (STATUS_NEED_PASSPHRASE_PIN): New.
* status.c (get_status_string): Added.
* passphrase.c (ask_passphrase): Moved status printing to ..
* cardglue.c (pin_cb): .. here and issue new status message.

* keyedit.c (sign_uids): Don't include the leading LF in the
translatable string but print them separately.

* apdu.c (apdu_open_remote_reader) [_WIN32]: We don't have ENOSYS.

15 years ago* gpgkeys_ldap.c (main, show_help): Kludge to implement standard
Werner Koch [Fri, 15 Oct 2004 12:19:06 +0000 (12:19 +0000)]
* gpgkeys_ldap.c (main, show_help): Kludge to implement standard
GNU options. Factored help printing out.
* gpgkeys_finger.c (main, show_help): Ditto.
* gpgkeys_hkp.c (main, show_help): Ditto.
* gpgkeys_http.c (main, show_help): Ditto.
* gpgkeys_test.in, gpgkeys_mailto.in: Implement --version and --help.

15 years ago* NEWS: Note gpgkeys_finger, keyserver timeouts, and the direct trust
David Shaw [Fri, 15 Oct 2004 11:51:04 +0000 (11:51 +0000)]
* NEWS: Note gpgkeys_finger, keyserver timeouts, and the direct trust
model.

15 years ago* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
Werner Koch [Fri, 15 Oct 2004 09:55:39 +0000 (09:55 +0000)]
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
(AUTOMAKE_OPTIONS): New.

* configure.ac: Check whether vasprintf needs a replacement.

* app-openpgp.c (parse_login_data): New.
(app_select_openpgp): Call it.
(do_setattr): Reparse it after change.

* Makefile.am: Add ksutil.h.

15 years ago* POTFILES.in: Updated.
Werner Koch [Fri, 15 Oct 2004 09:40:43 +0000 (09:40 +0000)]
* POTFILES.in: Updated.
* sv.po: Updated.
Merged other files.

15 years agoAdd asprintf prototype.
Werner Koch [Fri, 15 Oct 2004 09:39:31 +0000 (09:39 +0000)]
Add asprintf prototype.

15 years ago* pkclist.c (do_edit_ownertrust): Add a note to translators.
Werner Koch [Fri, 15 Oct 2004 09:39:25 +0000 (09:39 +0000)]
* pkclist.c (do_edit_ownertrust): Add a note to translators.
* keygen.c (ask_user_id): Ditto.

* helptext.c: Typo fix.

15 years agoRebuilt
Werner Koch [Fri, 15 Oct 2004 09:39:10 +0000 (09:39 +0000)]
Rebuilt

15 years agoNew. Taken from gnupg 1.9.
Werner Koch [Fri, 15 Oct 2004 09:38:27 +0000 (09:38 +0000)]
New.  Taken from gnupg 1.9.

15 years ago* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
Werner Koch [Fri, 15 Oct 2004 09:37:49 +0000 (09:37 +0000)]
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
(AUTOMAKE_OPTIONS): New.

* configure.ac: Check whether vasprintf needs a replacement.

15 years agoFix up the @setfilename lines.
Werner Koch [Fri, 15 Oct 2004 09:34:21 +0000 (09:34 +0000)]
Fix up the @setfilename lines.

15 years ago* gpg.sgml: Document using "none" to remove preferred keyservers, the
David Shaw [Thu, 14 Oct 2004 21:33:38 +0000 (21:33 +0000)]
* gpg.sgml: Document using "none" to remove preferred keyservers, the
keyserver timeout parameter, and the direct trust model.

15 years agoanother s/unsigned char*/byte*/
Werner Koch [Thu, 14 Oct 2004 20:47:56 +0000 (20:47 +0000)]
another s/unsigned char*/byte*/

15 years ago* gpgkeys_finger.c (main): We do not support relay fingering (i.e.
David Shaw [Thu, 14 Oct 2004 20:36:40 +0000 (20:36 +0000)]
* gpgkeys_finger.c (main): We do not support relay fingering (i.e.
"finger://relayhost/user@example.com"), but finger URLs are occasionally
miswritten that way.  Give an error in this case.

15 years ago* keylist.c (list_keyblock_print): Show the fingerprint after the key, not
David Shaw [Thu, 14 Oct 2004 20:13:16 +0000 (20:13 +0000)]
* keylist.c (list_keyblock_print): Show the fingerprint after the key, not
after the first user ID.

* keyedit.c (show_key_with_all_names): Don't show validity if we're just
printing user IDs for signing.

* armor.c (fake_packet): Properly handle the case where the line is
dash-space (i.e. a blank line that was quoted).  Give a warning for bad
dash escaping.

15 years ago* export.c (do_export_stream) [ENABLE_SELINUX_HACKS]: Don't allow
Werner Koch [Thu, 14 Oct 2004 10:48:15 +0000 (10:48 +0000)]
* export.c (do_export_stream) [ENABLE_SELINUX_HACKS]: Don't allow
secret key export.
* import.c (import_secret_one) [ENABLE_SELINUX_HACKS]: Likewise

15 years ago* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow
Werner Koch [Thu, 14 Oct 2004 07:21:17 +0000 (07:21 +0000)]
* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow
logging.

* gpgkeys_finger.c (get_key): s/unsigned char/byte/ due
to a strange typedef for RISC OS.  Noted by Stefan.

15 years ago(iobuf_get_fd): Removed double check on directfp and
Werner Koch [Thu, 14 Oct 2004 07:20:54 +0000 (07:20 +0000)]
(iobuf_get_fd): Removed double check on directfp and
cats it to FILEP becuase directfp is actually a void *.  Notes by
Stefan.

15 years ago* misc.c (is_secured_filename): New.
Werner Koch [Thu, 14 Oct 2004 07:11:57 +0000 (07:11 +0000)]
* misc.c (is_secured_filename): New.
* keydb.c (maybe_create_keyring)
* tdbio.c (tdbio_set_dbname)
* plaintext.c (handle_plaintext)
* openfile.c (copy_options_file, open_outfile)
* exec.c (exec_write)
* keygen.c (do_generate_keypair, gen_card_key_with_backup)
* sign.c (sign_file, clearsign_file)
* keyring.c (create_tmp_file, do_copy): Check for secured files
before creating them.

* keygen.c (print_status_key_created): s/unsigned char/byte/ due
to a strange typedef for RISC OS.  Noted by Stefan.

15 years ago* armor.c (fake_packet): Allow arbitrary dash-escaped lines as per
David Shaw [Wed, 13 Oct 2004 20:39:54 +0000 (20:39 +0000)]
* armor.c (fake_packet): Allow arbitrary dash-escaped lines as per
2440bis-10.  This is bug #158.

15 years ago* keyserver.c (keyserver_work): Handle keyserver timeouts.
David Shaw [Wed, 13 Oct 2004 18:40:13 +0000 (18:40 +0000)]
* keyserver.c (keyserver_work): Handle keyserver timeouts.

15 years ago* keyserver.h: Add KEYSERVER_TIMEOUT.
David Shaw [Wed, 13 Oct 2004 18:32:17 +0000 (18:32 +0000)]
* keyserver.h: Add KEYSERVER_TIMEOUT.

15 years ago* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),
David Shaw [Wed, 13 Oct 2004 18:30:29 +0000 (18:30 +0000)]
* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),
gpgkeys_finger.c (main): Call timeout functions before performing an
action that could block for a long time.

* ksutil.h, ksutil.c: New.  Right now just contains timeout functions.

15 years agoAdded SELInux hacks and did some cleanups.
Werner Koch [Wed, 13 Oct 2004 18:10:06 +0000 (18:10 +0000)]
Added SELInux hacks and did some cleanups.