David Shaw
aebd3a04f3
* gpg.c (main): Restore convert-sk-to-pk as programs rely on it.
...
* keyid.c (usagestr_from_pk): Remove special PUBKEY_USAGE_CERT flag.
It's no longer needed.
2005-12-19 01:51:31 +00:00
Werner Koch
38e7c4c50a
Fixed importing certs created by newer versions of Mozilla.
2005-12-16 15:52:48 +00:00
David Shaw
26eeebf512
* gpg.c (main): Don't default to import-options convert-sk-to-pk. It
...
causes confusing warning messages when importing a PGP-exported key
that contains a secret key without selfsigs followed by the public
key.
2005-12-14 14:52:04 +00:00
Werner Koch
f80ad71f1c
Add support for direct pkcs#7 signatures
2005-12-14 09:55:40 +00:00
David Shaw
b12d50dccd
* ttyio.c (tty_enable_completion, tty_disable_completion): Add checks
...
for no_terminal so we don't try to open("/dev/tty") when invoked with
--no-tty.
2005-12-12 03:56:01 +00:00
David Shaw
81f64252c0
* NEWS: Note --fetch-keys.
2005-12-08 23:35:47 +00:00
David Shaw
f8c4263b1a
* gpg.sgml: Document --fetch-keys.
2005-12-08 19:39:59 +00:00
David Shaw
735257ee1c
* keyserver.c (keyserver_fetch): Switch on fast-import before we
...
--fetch-keys so we don't rebuild the trustdb after each fetch.
2005-12-08 15:37:26 +00:00
Werner Koch
0edfbba804
Made strings translatable. Minor fixes.
2005-12-08 07:42:41 +00:00
David Shaw
1d051e8ed5
* options.h, keyserver.c (curl_cant_handle, keyserver_spawn,
...
keyserver_fetch): Set a flag to indicate that we're doing a direct URI
fetch so we can differentiate between a keyserver operation and a URI
fetch for protocols like LDAP that can do either.
2005-12-08 05:52:41 +00:00
David Shaw
4ba9fd4683
* gpg.sgml: Document -d. Add [file] to a few options.
2005-12-08 05:29:35 +00:00
David Shaw
a4fae95d04
* gpgkeys_finger.c (get_key), gpgkeys_curl.c (get_key): Better language
...
for the key-not-found error.
2005-12-07 23:00:30 +00:00
David Shaw
05193a2705
* keyserver.c (keyserver_spawn): Don't print "searching for key 00000000"
...
when fetching a URI.
* keyserver-internal.h, keyserver.c (keyserver_fetch): New. Fetch an
arbitrary URI using the keyserver helpers.
* gpg.c (main): Call it from here for --fetch-keys.
2005-12-07 22:34:11 +00:00
David Shaw
c826ccdec1
* ksutil.c (curl_err_to_gpg_err): Add CURLE_OK and CURLE_COULDNT_CONNECT.
...
* gpgkeys_curl.c (get_key): Give key-not-found error if no data is found
(or file itself is not found) during a fetch.
2005-12-07 22:25:58 +00:00
David Shaw
990097b067
Missed file.
2005-12-06 21:10:34 +00:00
David Shaw
bc1c4af8c3
Some cleanup so we don't build files that are completely ifdeffed out.
...
This causes a warning on Sun's cc. Do the internal regex code as well for
consistency.
2005-12-06 20:54:05 +00:00
David Shaw
8a0cf1d2a3
* idea-stub.c (load_module): Not legal to return a void * as a function
...
pointer.
2005-12-06 20:27:43 +00:00
David Shaw
d6e918e40f
* curl-shim.c (curl_easy_perform): Fix build warning (code before
...
declaration).
2005-12-06 18:49:34 +00:00
David Shaw
a635daa6b6
* mkdtemp.c (mkdtemp): Fix warning.
...
* secmem.c, assuan-buffer.c, dotlock.c: Fix a few warnings from printf-ing
%p where the arg wasn't void *.
2005-12-06 18:24:57 +00:00
David Shaw
c0d7fa368e
* Makefile.am: Some cleanup so we don't build files that are completely
...
ifdeffed out. This causes a warning on Sun's cc. Do sha512.c as well for
consistency.
2005-12-06 17:13:44 +00:00
Werner Koch
496c3b5572
Print warning for missing pcsc-wrapper
2005-12-06 16:44:20 +00:00
Werner Koch
6a13cf2c3d
Preparing an interim release
2005-11-28 11:52:25 +00:00
Werner Koch
000a38ccf2
Add translations
2005-11-23 12:38:38 +00:00
Werner Koch
b8795bb823
Print a note that the software has not been approved for qualified signatures.
2005-11-23 09:05:45 +00:00
David Shaw
28c12508c5
* main.h, keylist.c (print_revokers): New. Print the "rvk" designated
...
revoker record. Moved from keyedit.c:show_key_with_all_names_colon.
* keylist.c (list_keyblock_colon): Use it here ...
* keyedit.c (show_key_with_all_names_colon): ... and here.
2005-11-20 15:02:03 +00:00
David Shaw
f7c138d9e7
* free-packet.c (copy_secret_key): Copy secret key into secure memory
...
since we may unprotect it.
* main.h, g10.c (main), revoke.c (gen_desig_revoke): Add local user
support so users can use -u with --desig-revoke. This bypasses the
interactive walk over the revocation keys.
2005-11-19 05:55:45 +00:00
David Shaw
092bae80a9
* gpg.sgml: Clarify "xxxxx-clean" and "clean". Document
...
"xxxxx-minimal", and "minimize".
2005-11-18 04:50:15 +00:00
David Shaw
3349715ebb
* NEWS: Note backsigs, the xxxxx-clean options, and the xxxxx-minimal
...
options.
2005-11-18 04:37:30 +00:00
David Shaw
eac8dbc9b7
* keyedit.c (keyedit_menu, menu_clean): Simplify clean options to just
...
"clean", and add "minimize".
* import.c (parse_import_options): Make help text match the export
versions of the options.
* options.h, export.c (parse_export_options, do_export_stream): Reduce
clean options to two: clean and minimize.
* trustdb.h, trustdb.c (clean_one_uid): New function that joins uid
and sig cleaning into one for a simple API outside trustdb.
2005-11-18 04:25:07 +00:00
Werner Koch
29a62827b4
Don't use keywords for signed files.
2005-11-14 13:11:15 +00:00
Werner Koch
f13a425d48
Added signature property
2005-11-14 13:02:59 +00:00
Werner Koch
894c65bcae
.
2005-11-14 12:59:55 +00:00
Werner Koch
1d53603c37
Added real information
2005-11-14 12:50:59 +00:00
David Shaw
9d49768999
* armor.c (parse_header_line): A fussy bit of 2440: header lines are
...
delimited with a colon-space pair. Therefore a line such as "Comment:
" is actually legal, albeit not particularly useful.
2005-11-13 21:48:52 +00:00
Werner Koch
b9633196f4
Added qualified signature features.
2005-11-13 19:07:06 +00:00
Werner Koch
caed7370e9
NEw file qualified.ttx - not yet ready for distribution
2005-11-13 19:05:00 +00:00
David Shaw
40b9d5648d
* trustdb.h, trustdb.c (clean_key): New function to handle key
...
cleaning from one convenient place.
* options.h, import.c (parse_import_options, clean_sigs_from_all_uids,
import_one): Reduce clean options to two: clean and minimize.
* parse-packet.c (setup_user_id): Remove. (parse_user_id,
parse_attribute): Just use xmalloc_clear instead.
2005-11-12 04:53:03 +00:00
David Shaw
fe30a112fb
* trustdb.c (clean_uid_from_key, clean_uids_from_key): Significantly
...
simpler implementation.
2005-11-12 03:48:02 +00:00
David Shaw
a81633ca7d
* keyedit.c (keyedit_menu, menu_clean_sigs_from_uids): Add "minimize"
...
command.
2005-11-10 23:25:20 +00:00
David Shaw
843d5719e7
* packet.h, keyedit.c (menu_clean_uids_from_key), trustdb.c
...
(clean_uids_from_key): Fix display bug where sigs cleaned for other
reasons caused a uid to appear as if it had been compacted.
2005-11-10 23:16:34 +00:00
David Shaw
ce1ce8910e
* packet.h: Move some flags to a bitfield. Change all callers.
2005-11-10 22:50:46 +00:00
David Shaw
477ded81a4
* options.h, import.c (parse_import_options, clean_sigs_from_all_uids,
...
import_one): Add import-minimal option. Similar to export-minimal, except
it works on the way in.
2005-11-10 21:30:27 +00:00
David Shaw
debc169f88
* trustdb.h, trustdb.c (clean_sigs_from_uid): Add flag to remove all
...
non-selfsigs from key during cleaning. Change all callers.
* export.c (do_export_stream): Use it here so we don't need additional
minimize code in the export path.
2005-11-10 21:18:49 +00:00
David Shaw
11c7699c45
* options.skel: Add a section for --encrypt-to. This is Debian bug
...
336211 by Javier Fernández-Sanguino Peña.
2005-11-06 15:45:00 +00:00
David Shaw
f48ef0f1f0
* Makefile.am: Include @LIBUSB_CPPFLAGS@ in our CPPFLAGS. Strictly
...
speaking this should be only in gpg_CPPFLAGS, but then we have to
compile everything twice for gpg and gpgv.
* apdu.c (open_pcsc_reader): Fix double free.
* gpg.c (main) [__APPLE__]: Default the PCSC driver to the OS X
location. Suggested by Patty A. Hardy.
2005-11-06 04:32:54 +00:00
David Shaw
db90be2e94
* libusb.m4: Check for libusb-config and if we find it, use --libs and
...
--cflags. This is needed for OS X since libusb brings in dependencies
to various Apple libraries.
2005-11-06 04:25:52 +00:00
David Shaw
2a662f7870
Fix various build warnings reported by Joe Vender on MinGW.
2005-11-03 04:46:20 +00:00
David Shaw
b82202f411
* gpg.sgml: Clarify what is and isn't included in a "clean sigs".
2005-11-02 16:53:40 +00:00
David Shaw
4e27a9f5da
* trustdb.c (clean_sigs_from_uid): Include sigs from unavailable keys in
...
the sigs that are cleaned. Suggested by Dirk Traulsen and many others.
2005-11-02 16:47:02 +00:00
David Shaw
19de04694e
* import.c (import_one): Do collapse_uids() before we do any cleaning
...
so keyserver mangled keys with doubled user IDs can be properly
cleaned - possibly sigs on the different user IDs cancel each other
out.
* import.c (parse_import_options), export.c (parse_export_options):
List "xxx-clean" before the longer options so we don't end up with a
partial match on the longer options.
* trustdb.c (clean_uids_from_key): Return proper number of cleaned
user IDs. Don't count user IDs as cleaned unless we actually delete
something.
2005-11-02 05:22:01 +00:00