gnupg.git
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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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().

14 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.

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

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

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

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

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

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

14 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.

14 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.

14 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.

14 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.

14 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.

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

14 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.

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

14 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.

14 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.

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

14 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.

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

14 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.

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 years agoAdd dearmor.c
Werner Koch [Wed, 13 Oct 2004 18:09:10 +0000 (18:09 +0000)]
Add dearmor.c

14 years ago* configure.ac: Actually name the option --disable-finger and not
Werner Koch [Wed, 13 Oct 2004 18:08:39 +0000 (18:08 +0000)]
* configure.ac: Actually name the option --disable-finger and not
http.  Add option --enable-selinux-support.

* logger.c (g10_log_error_f, g10_log_fatal_f, g10_log_info_f)
(g10_log_debug_f, print_prefix_f): Removed.

* iobuf.c (iobuf_is_pipe_filename): New.
(iobuf_get_fd): New.

14 years ago* pkclist.c (do_edit_ownertrust): Different prompt when we're using direct
David Shaw [Wed, 13 Oct 2004 15:34:52 +0000 (15:34 +0000)]
* pkclist.c (do_edit_ownertrust): Different prompt when we're using direct
trust since the meaning is different.

* keyedit.c (trustsig_prompt): Change the strings to match the ones in
pkclist.c:do_edit_ownertrust to make translation easier.

* trustdb.c (trust_model_string, get_validity): Add direct trust model
which applies to the key as a whole and not per-uid.

* options.h, g10.c (parse_trust_model): New. (main): Call it from here to
do string-to-trust-model.

14 years ago* configure.ac: Actually name the option --disable-finger and not
Werner Koch [Wed, 13 Oct 2004 09:59:46 +0000 (09:59 +0000)]
* configure.ac: Actually name the option --disable-finger and not
http.

* openfile.c (overwrite_filep, make_outfile_name, open_outfile)
(open_sigfile): Use iobuf_is_pipe_filename to check for pipes so
that special filesnames are taken into account. This is bug 327.
* tdbdump.c (import_ownertrust): Ditto.
* sign.c (write_plaintext_packet): Ditto.
* progress.c (handle_progress): Ditto.
* plaintext.c (handle_plaintext): Ditto.
* encode.c (encode_simple, encode_crypt): Ditto.

* iobuf.c (iobuf_is_pipe_filename): New.
* fileutil.c (is_file_compressed): Use it here.

14 years ago* Makefile.am (.S.o): Include MPI_SFLAGS. This is our bug 145.
Werner Koch [Wed, 13 Oct 2004 07:11:10 +0000 (07:11 +0000)]
* Makefile.am (.S.o): Include MPI_SFLAGS. This is our bug 145.

14 years ago * keygen.c (read_parameter_file): New keyword "Handle". This is
Werner Koch [Wed, 13 Oct 2004 07:10:51 +0000 (07:10 +0000)]
* keygen.c (read_parameter_file): New keyword "Handle".  This is
bug 287.
(print_status_key_not_created): New.
(print_status_key_created): Add new arg HANDLE.
(do_generate_keypair): Print not created status.
* status.c, tatus.h (STATUS_KEY_NOT_CREATED): New.

14 years ago* algorithms.h, cast5.c, cipher.c, idea-stub.c, twofish.c, blowfish.c,
David Shaw [Tue, 12 Oct 2004 17:35:50 +0000 (17:35 +0000)]
* algorithms.h, cast5.c, cipher.c, idea-stub.c, twofish.c, blowfish.c,
des.c, rijndael.c: Consistently use const for input buffers.

14 years ago(read_parameter_file): Changed to use iobuf based file
Werner Koch [Tue, 12 Oct 2004 16:41:17 +0000 (16:41 +0000)]
(read_parameter_file): Changed to use iobuf based file
reading to allow the special file name feature to work.

14 years ago* pkclist.c (do_edit_ownertrust): Use the same translated string for
David Shaw [Mon, 11 Oct 2004 21:08:37 +0000 (21:08 +0000)]
* pkclist.c (do_edit_ownertrust): Use the same translated string for
showing the user ID as mainproc.c:print_pkenc_list.

* mainproc.c (print_pkenc_list): Allow translating the quotes around the
user ID.

* card-util.c, g10.c, photoid.c, trustdb.c: The last of the \"%s\" -> `%s'
quoting for things that aren't user IDs.

* keyserver.c (keyserver_spawn): If there is no keyserver host, print the
whole URI since it is self-contained.

14 years ago* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Fix a
David Shaw [Mon, 11 Oct 2004 20:33:22 +0000 (20:33 +0000)]
* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Fix a
few occurances of "filename" to `filename'.

14 years agoOops commited binary instead of source.
Werner Koch [Mon, 11 Oct 2004 12:45:50 +0000 (12:45 +0000)]
Oops commited binary instead of source.

14 years ago* configure.ac: New option --disable-finger.
Werner Koch [Mon, 11 Oct 2004 08:44:35 +0000 (08:44 +0000)]
* configure.ac: New option --disable-finger.

* keyserver.c (keyserver_spawn): Print an empty string in log_info
if the host is not set (e.g. finger).

* gpgkeys_finger.c: New.

14 years ago* card-util.c, keyedit.c, openfile.c, pkclist.c, delkey.c, keygen.c,
David Shaw [Sun, 10 Oct 2004 15:27:14 +0000 (15:27 +0000)]
* card-util.c, keyedit.c, openfile.c, pkclist.c, delkey.c, keygen.c,
photoid.c, revoke.c: Some yes-or-no prompts end in "(y/n)".  Some don't.
Consistently use y/n everywhere.

14 years ago* keygen.c (ask_key_flags): New. (ask_algo): Call it here in --expert mode
David Shaw [Sun, 10 Oct 2004 14:33:37 +0000 (14:33 +0000)]
* keygen.c (ask_key_flags): New. (ask_algo): Call it here in --expert mode
so we don't need to specify each possible variation of RSA capabilities.

14 years ago* keygen.c (do_add_key_flags): The spec says that all primary keys MUST be
David Shaw [Sun, 10 Oct 2004 14:19:39 +0000 (14:19 +0000)]
* keygen.c (do_add_key_flags): The spec says that all primary keys MUST be
able to certify.  Force the certify flag on for primaries (and off for
subkeys).

14 years ago* keygen.c (generate_keypair): Fix generating keys with the auth flag.
David Shaw [Sun, 10 Oct 2004 13:13:47 +0000 (13:13 +0000)]
* keygen.c (generate_keypair): Fix generating keys with the auth flag.

14 years ago* encr-data.c (decrypt_data): Give a warning with a weak key, but still
David Shaw [Fri, 8 Oct 2004 21:54:26 +0000 (21:54 +0000)]
* encr-data.c (decrypt_data): Give a warning with a weak key, but still
allow to decrypt the message.

14 years ago* pkclist.c (build_pk_list): Keystrify.
David Shaw [Thu, 7 Oct 2004 21:14:31 +0000 (21:14 +0000)]
* pkclist.c (build_pk_list): Keystrify.

* mainproc.c (check_sig_and_print), pkclist.c (do_edit_ownertrust):
Improve translatability of user ID prompts.

14 years ago* helptext.c, pkclist.c (do_we_trust): It is not possible to get here with
David Shaw [Wed, 6 Oct 2004 21:50:23 +0000 (21:50 +0000)]
* helptext.c, pkclist.c (do_we_trust): It is not possible to get here with
a revoked or expired key, so BUG() that case.  Remove question about
overriding revoked/expired.  Also --keyid-format-ify. (do_we_trust_pre):
Use print_pubkey_info() instead of printing the info ourselves.

* passphrase.c (passphrase_to_dek): Improve translatability of user ID
prompts.

* keylist.c (print_pubkey_info): Use the user ID the pk was selected by,
if any.

14 years ago* keyedit.c (sign_uids, ask_revoke_sig): Improve translatability of user
David Shaw [Wed, 6 Oct 2004 20:40:07 +0000 (20:40 +0000)]
* keyedit.c (sign_uids, ask_revoke_sig): Improve translatability of user
ID prompts. (ask_revoke_sig, menu_revsig): Try and use common strings for
these two functions so they don't need to be translated twice.

14 years ago* keyedit.c, keylist.c, keyserver.c, mainproc.c: The
David Shaw [Wed, 6 Oct 2004 19:51:45 +0000 (19:51 +0000)]
* keyedit.c, keylist.c, keyserver.c, mainproc.c: The
revoked/expired/expires string change of 2004-09-29 was too simple.  Use
two styles for each tag.

14 years ago* passphrase.c (agent_get_passphrase): Use keystrs for agent strings, and
David Shaw [Tue, 5 Oct 2004 14:33:02 +0000 (14:33 +0000)]
* passphrase.c (agent_get_passphrase): Use keystrs for agent strings, and
fix sprintf warnings.

* keyserver.c (keyserver_spawn): Fix BUG() with certain sets of mixed
regular and preferred keyserver refreshes.  Noted by Sebastian Wiesinger.

* keyedit.c (show_key_with_all_names): Show uid validity in menu.

14 years ago2004-10-03 Timo Schulz <twoaday@g10code.de>
Timo Schulz [Mon, 4 Oct 2004 17:25:29 +0000 (17:25 +0000)]
2004-10-03  Timo Schulz  <twoaday@g10code.de>

        * apdu.c (apdu_open_remote_reader) [_WIN32]: Do not set ENOSYS.

14 years ago* keyedit.c (print_and_check_one_sig_colon): Fix bad keyids in colon
David Shaw [Mon, 4 Oct 2004 01:17:27 +0000 (01:17 +0000)]
* keyedit.c (print_and_check_one_sig_colon): Fix bad keyids in colon
delsig output.  Noted by Peter Palfrader. (show_prefs): Do not reference
missing selfsig.  Noted by Alex Moroz.

14 years agopost release preparations
Werner Koch [Fri, 1 Oct 2004 13:59:09 +0000 (13:59 +0000)]
post release preparations