Werner Koch
29ddea6cbd
Cleaned up
2004-10-22 12:31:26 +00:00
Werner Koch
77a15fc9f8
* Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh
...
* gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.
2004-10-22 12:31:04 +00:00
Werner Koch
d230475aaf
(gpgsm_genkey): Remove the NEW from the certificate
...
request PEM header. This is according to the Sphinx standard.
2004-10-22 12:30:52 +00:00
Werner Koch
5b12394f80
(Helper Tools): Document gpgsm-gencert.sh.
2004-10-22 12:30:34 +00:00
Werner Koch
9aa7d0bc35
* app-openpgp.c (do_sign): Replace asprintf by direct allocation.
...
This avoids problems with missing vasprintf implementations in
gnupg 1.4.
* app-common.h (app_openpgp_storekey: Add prototype.
2004-10-22 09:41:56 +00:00
Werner Koch
23d73cdeb8
* logging.c (do_logv): Use set_log_stream to setup a default.
...
(log_set_file): Factored code out to ..
(set_file_fd): .. New function to allow using a file descriptor.
(log_set_fd): Make use of new fucntion.
(fun_writer): Reworked.
2004-10-22 09:41:24 +00:00
Werner Koch
e733aad405
Updated from 1.3
2004-10-22 09:41:01 +00:00
Werner Koch
280a222553
(parse_rereadable_options): Return "not handled"
...
when the log file has not beend hadled. This is will let the main
option processing continue. Fixed a bug introduced on 2004-09-4
resulting in logging to stderr until a HUP has been given.
(main): Don't close the listen FD.
2004-10-22 09:39:47 +00:00
David Shaw
65077adf83
* 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.
2004-10-21 19:18:47 +00:00
David Shaw
73b4b2c890
* acinclude.m4: aclocal 1.9 wants quoting on AC_DEFUN arguments.
2004-10-21 19:15:07 +00:00
Werner Koch
0ebf79c824
* 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.
2004-10-21 16:56:22 +00:00
David Shaw
107e515aa9
* g10.c (parse_list_options): Fix non-constant initializer so we can build
...
with C89.
2004-10-21 01:10:49 +00:00
Werner Koch
27d06166d3
* 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.
2004-10-20 09:39:56 +00:00
Werner Koch
c5487b7982
typo fix
2004-10-20 08:55:26 +00:00
Werner Koch
d33703e5fe
* sc-investigate: Removed.
...
* Makefile.am (sc_investigate): Removed.
* pcsc-wrapper.c (load_pcsc_driver): Load get_status_change func.
(handle_open): Succeed even without a present card.
(handle_status, handle_reset): New.
* 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.
2004-10-20 08:54:45 +00:00
David Shaw
3f769cb717
* gpg.sgml: Minor language tweaks.
...
* samplekeys.asc: Updated 99242560.
* DETAILS: spk flags are hex.
2004-10-19 03:04:14 +00:00
David Shaw
7e9a93d017
* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of
...
"x-hkp" so it can be used as a SRV tag.
2004-10-18 15:53:28 +00:00
David Shaw
83d3914317
* http.c (connect_server, send_request): Use the URI scheme as the SRV tag
...
rather than hard-coding _hkp.
2004-10-18 15:51:43 +00:00
Werner Koch
901f13aeda
More fixups to help Debian's install-info.
2004-10-18 07:40:11 +00:00
Werner Koch
ad3382bdc7
(agent_get_passphrase): Cast UIDLEN to int. Noted
...
by Christian Cornelssen.
2004-10-17 13:28:37 +00:00
David Shaw
b03a7a6f3b
* parse-packet.c (parse_one_sig_subpkt, enum_sig_subpkt): Don't BUG() on
...
unknown subpackets. Rather, just return them silently.
2004-10-16 22:48:20 +00:00
David Shaw
4d79b138ac
* 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().
2004-10-16 21:31:36 +00:00
David Shaw
a2cd03ffe1
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
2004-10-16 16:04:19 +00:00
Werner Koch
36667c357b
Document IMPORT_CHECK.
2004-10-15 17:55:41 +00:00
Werner Koch
837c74f7e4
Fixed copyright years
2004-10-15 16:10:50 +00:00
Werner Koch
3a387c2315
test
2004-10-15 16:08:15 +00:00
Werner Koch
752d534934
Add a note
2004-10-15 16:05:32 +00:00
Werner Koch
856ce66a45
Removed these generated files.
2004-10-15 13:47:39 +00:00
Werner Koch
56f06f1e22
post release preparations
2004-10-15 13:46:19 +00:00
Werner Koch
83915342d5
Updated.
2004-10-15 13:22:13 +00:00
Werner Koch
c3a51cd17d
* 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.
2004-10-15 13:16:58 +00:00
Werner Koch
e170c54cf8
* 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.
2004-10-15 12:19:06 +00:00
David Shaw
c12b9b1f64
* NEWS: Note gpgkeys_finger, keyserver timeouts, and the direct trust
...
model.
2004-10-15 11:51:04 +00:00
Werner Koch
5db236f4e7
* 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.
2004-10-15 09:55:39 +00:00
Werner Koch
200bd9a2a6
* POTFILES.in: Updated.
...
* sv.po: Updated.
Merged other files.
2004-10-15 09:40:43 +00:00
Werner Koch
5cbeda8164
Add asprintf prototype.
2004-10-15 09:39:31 +00:00
Werner Koch
450f0d770b
* pkclist.c (do_edit_ownertrust): Add a note to translators.
...
* keygen.c (ask_user_id): Ditto.
* helptext.c: Typo fix.
2004-10-15 09:39:25 +00:00
Werner Koch
e4b885e1d7
Rebuilt
2004-10-15 09:39:10 +00:00
Werner Koch
f81ad507f0
New. Taken from gnupg 1.9.
2004-10-15 09:38:27 +00:00
Werner Koch
7b01988db3
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
...
(AUTOMAKE_OPTIONS): New.
* configure.ac: Check whether vasprintf needs a replacement.
2004-10-15 09:37:49 +00:00
Werner Koch
15baf5c05b
Fix up the @setfilename lines.
2004-10-15 09:34:21 +00:00
David Shaw
7a8ebe3db7
* gpg.sgml: Document using "none" to remove preferred keyservers, the
...
keyserver timeout parameter, and the direct trust model.
2004-10-14 21:33:38 +00:00
Werner Koch
8b7cb60229
another s/unsigned char*/byte*/
2004-10-14 20:47:56 +00:00
David Shaw
e6a212a154
* 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.
2004-10-14 20:36:40 +00:00
David Shaw
f13bba108a
* 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.
2004-10-14 20:13:16 +00:00
Werner Koch
2c31e2f853
(parse_login_data): New.
...
(app_select_openpgp): Call it.
(do_setattr): Reparse it after change.
2004-10-14 13:22:03 +00:00
Werner Koch
f294ce2d8b
* export.c (do_export_stream) [ENABLE_SELINUX_HACKS]: Don't allow
...
secret key export.
* import.c (import_secret_one) [ENABLE_SELINUX_HACKS]: Likewise
2004-10-14 10:48:15 +00:00
Werner Koch
e1f3dc1c77
Added ID keywords because these files are often used in other packages.
2004-10-14 09:12:36 +00:00
Werner Koch
8f70a693ac
* 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.
2004-10-14 07:21:17 +00:00
Werner Koch
299ab4e48d
(iobuf_get_fd): Removed double check on directfp and
...
cats it to FILEP becuase directfp is actually a void *. Notes by
Stefan.
2004-10-14 07:20:54 +00:00