1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-01 02:42:44 +02:00
Commit Graph

917 Commits

Author SHA1 Message Date
David Shaw
cc0074dc5a * configure.ac: Add --disable-exec flag to disable all remote program
execution.  --disable-exec implies --disable-ldap and --disable-mailto.
Also look in /usr/lib for sendmail.  If sendmail is not found, do not
default - just fail.

* exec.c: Provide stubs for exec_ functions when NO_EXEC is defined.
2002-05-03 12:35:51 +00:00
David Shaw
6dc53d136a * photoid.h, photoid.c (parse_image_header, image_type_to_string): Useful
functions to return data about an image.

* packet.h, parse-packet.c (make_attribute_uidname,
parse_attribute_subpkts, parse_attribute), photoid.h, photoid.c
(show_photos): Handle multiple images in a single attribute packet.

* main.h, misc.c (pct_expando), sign.c (mk_notation_and_policy), photoid.c
(show_photos): Simpler expando code that does not require using
compile-time string sizes.  Call image_type_to_string to get image strings
(i.e. "jpg", "image/jpeg").  Change all callers.

* keyedit.c (menu_showphoto), keylist.c (list_keyblock_print): Allow
viewing multiple images within a single attribute packet.

* gpgv.c: Various stubs for link happiness.
2002-05-02 20:47:23 +00:00
David Shaw
0d63a076b0 Allow multiple policy URLs on a given signature.
Split "--notation-data" into "--cert-notation" and "--sig-notation" so the
user can set different policies for key and data signing.  For backwards
compatibility, "--notation-data" sets both, as before.
2002-05-02 13:25:59 +00:00
Werner Koch
1b65d681ff util/
* memory.c (alloc): Malloc at least 1 byte.  Noted by Winona Brown.
g10/
* options.skel: Removed the comment on trusted-keys because this
option is now deprecated.
2002-05-02 07:48:39 +00:00
David Shaw
66c8a663a5 * keyedit.c (menu_adduid): 2440bis04 says that multiple attribute packets
on a given key are legal.

* keyserver.c (keyserver_refresh): the fake v3 keyid hack applies to
"mailto" URLs as well since they are also served by pksd.
2002-05-01 22:33:18 +00:00
David Shaw
4735060540 configure.ac: Try and link to a sample LDAP program to check if the LDAP
we're about to use is really sane.  The most common problem (using a very
old OpenLDAP), could be fixed with an extra #include, but this would not
be very portable to other LDAP libraries.
2002-04-30 22:53:51 +00:00
Timo Schulz
77dbf12bc3 2002-04-30 Timo Schulz <ts@winpt.org>
* gpg.sgml: Add an entry for --encrypt-files and --decrypt-files.
2002-04-30 17:11:05 +00:00
Werner Koch
77fe150d8d Bumbed version number 2002-04-29 16:53:04 +00:00
Werner Koch
b815d80a83 msgfmt interacts badly with cvs. Updating only the revision line is
not a nice behaviour.
2002-04-29 16:23:10 +00:00
Werner Koch
d340f813db For unknown reasons this file was not any armored, which messed up the
patch file generaten.
2002-04-29 16:09:30 +00:00
Werner Koch
a8f2d55447 Last preparations for 1.0.7 2002-04-29 14:56:08 +00:00
Werner Koch
cd59cb1d64 Added a copyright year for files changed this year. 2002-04-29 14:42:34 +00:00
Werner Koch
2fa062b649 gpg.texti is a generated file. 2002-04-29 14:39:15 +00:00
Werner Koch
70acd94371 msgfmt changed the indentation of one entry. 2002-04-29 14:19:57 +00:00
David Shaw
e5dbb3d45c gpg.sgml: Fix minor error in --pgp6 documentation: it does not imply
--digest-algo MD5
2002-04-29 13:25:04 +00:00
David Shaw
3d63a818a3 * gpgkeys_mailto.in: Properly handle key requests in full fingerprint
form.
2002-04-29 13:18:53 +00:00
Werner Koch
1e1198a450 * faq.raw: Inserted Douglas Calvert as new maintainer. Acknowledge
Nils.  Add entry about trust packet parsing problems.
2002-04-29 12:25:35 +00:00
Werner Koch
30eae496e0 * pl.po: Update.
* el.po: Updated, removed one entry due to non-matching printf and
one removed one printf specifier.
2002-04-29 12:02:45 +00:00
Werner Koch
587c3e700b This one is build from faq.raw 2002-04-29 12:00:24 +00:00
Werner Koch
ab15f6d0d8 * doc/samplekeys.asc: Added gnupg distribution key 57548DCD.
* doc/faq.raw: Inserted Douglas Calvert as new maintainer.
* README: Fixed some minor things.
2002-04-29 09:18:14 +00:00
Werner Koch
a452130f55 fixed comment style 2002-04-29 09:17:17 +00:00
Werner Koch
ecbf6f4d46 g10/
* g10.c, options.h: New options --display, --ttyname, --ttytype,
--lc-ctype, --lc-messages to be used with future versions of the
gpg-agent.
* passphrase.c (agent_send_option,agent_send_all_options): New.
(agent_open): Send options to the agent.

* trustdb.c (update_ownertrust, clear_ownertrust): Do an explicit
do_sync because revalidation_mark does it only if when the
timestamp actually changes.
/
* configure.ac: Check for locale.h and setlocale
2002-04-25 08:30:35 +00:00
David Shaw
bf2c77073d Update NEWS with recent changes 2002-04-25 03:19:38 +00:00
David Shaw
ed153fe43b gpg.sgml: Add some documentation for
--edit/{addphoto|showphoto|nrsign|nrlsign}, and the difference between
%t and %T in photo viewer command lines.
2002-04-24 23:30:03 +00:00
Werner Koch
edc627b244 * tiger.c (tiger_final): Removed superfluous toke pasting operators.
* md5.c (md5_final): Ditto.
2002-04-24 08:04:04 +00:00
David Shaw
c55e2bcf46 * Makefile.am: Do not list libraries in -lxxx format in a dependency line. 2002-04-23 23:25:06 +00:00
David Shaw
cd7b3f9590 After generating a new key, show the key information (name, keyid,
fingerprint, etc.)

Do not print uncheckable signatures (missing key..) in --check-sigs.

Print statistics (N missing keys, etc.) after --check-sigs.

When signing a key with an expiration date on it, the "Do you want your
signature to expire at the same time?" question should default to YES
2002-04-23 17:54:38 +00:00
David Shaw
af5e83329e * miscutil.c: New function answer_is_yes_no_default() to give a default
answer.
2002-04-23 17:22:11 +00:00
David Shaw
ed34151773 * util.h: New function answer_is_yes_no_default() to give a default
answer.
2002-04-23 17:21:34 +00:00
Stefan Bellon
827384a492 fixed bugs in dokumentation 2002-04-23 15:55:02 +00:00
David Shaw
3b9a04844c * parse-packet.c (parse_plaintext), packet.h, plaintext.c
(handle_plaintext): Fix bug in handling literal packets with zero-length
data (no data was being confused with partial body length).

* misc.c (pct_expando), options.skel: %t means extension ("jpg"). %T means
MIME type ("image/jpeg").

* import.c (import_one): Only trigger trust update if the keyring is
actually changed.

* export.c (do_export_stream): Missing a m_free.
2002-04-23 02:48:44 +00:00
Werner Koch
0f2fedd806 po/
* et.po, tr.po, cs.po, it.po, id.po: Updated.
2002-04-22 19:33:39 +00:00
Stefan Bellon
70618e5175 RISC OS specific changes 2002-04-22 15:49:31 +00:00
David Shaw
c530d811c6 * samplekeys.asc: Added 0x5B0358A2 2002-04-20 14:18:20 +00:00
David Shaw
3b97ac9ef8 * keygen.c (generate_subkeypair): 2440bis04 adds that creating subkeys on
v3 keys is a MUST NOT.

* getkey.c (finish_lookup): The --pgp6 "use the primary key" behavior
should only apply while data signing and not encryption. Noted by Roger
Sondermann.
2002-04-20 11:57:35 +00:00
David Shaw
f06ee291db * keyedit.c (menu_deluid): Only cause a trust update if we delete a
non-revoked user id.

* hkp.c (hkp_ask_import), keyserver.c (parse_keyserver_options,
keyserver_spawn), options.h: Remove fast-import keyserver option (no
longer meaningful).

* g10.c (main), keyedit.c (sign_uids), options.h: Change
--default-check-level to --default-cert-check-level as it makes clear what
it operates on.

* g10.c (main): --pgp6 also implies --no-ask-sig-expire.

* delkey.c (do_delete_key): Comment.
2002-04-19 22:38:20 +00:00
David Shaw
5aab7388df Added samplekeys.asc to EXTRA_DIST in Makefile.am 2002-04-19 22:21:40 +00:00
David Shaw
6452c6474b * gnupg.spec.in: Removed pubring.asc and OPTIONS. Added samplekeys.asc. 2002-04-19 21:48:59 +00:00
David Shaw
95469633d9 * gpg.sgml: Add "%t" flag for photo IDs, a note about primary having
different meanings for photo and regular IDs, rename --default-check-level
to --default-cert-check-level, add --auto-check-trustdb, and --pgp6.

* DETAILS: Add EXPSIG, EXPKEYSIG, and KEYEXPIRED.  Add notes to SIGEXPIRED
(deprecated), and VALIDSIG (added expiration date). Add "Preferences"
command to unattended key generation instructions.  Also fixed a few
typos.

* samplekeys.asc: new
2002-04-19 21:29:11 +00:00
Werner Koch
7fa416a7fd Helper script to ask for translation updates 2002-04-19 13:27:25 +00:00
David Shaw
cc7fb43ac3 * keyedit.c (sign_uids, keyedit_menu, menu_deluid, menu_delsig,
menu_expire, menu_revsig, menu_revkey): Only force a trustdb check if we
did something that changes it.

* g10.c: add "--auto-check-trustdb" to override a
"--no-auto-check-trustdb"
2002-04-19 11:31:53 +00:00
Werner Koch
a2c677c829 preparing 1.0.7 2002-04-19 10:32:01 +00:00
Werner Koch
4847eadcd8 * tdbio.c (tdbio_write_nextcheck): Return a status whether the
stamp was actually changed.
* trustdb.c (revalidation_mark): Sync the changes.  Removed the
sync operation done by its callers.
(get_validity): Add logic for maintaining a pending_check flag.
(clear_ownertrust): New.

* keyedit.c (sign_uids): Don't call revalidation_mark depending on
primary_pk.
(keyedit_menu): Call revalidation_mark after "trust".
(show_key_with_all_names): Print a warning on the wrong listed key
validity.

* delkey.c (do_delete_key): Clear the owenertrust information when
deleting a public key.
2002-04-19 09:18:57 +00:00
Werner Koch
aedeefcc5f * seskey.c (encode_md_value): Print an error message if a wrong
digest algorithm is used with DSA.  Changed all callers to cope
with a NULL return.  Problem noted by Imad R. Faiad.
2002-04-18 19:38:34 +00:00
Werner Koch
30c8d23aff * rndlinux.c, rndegd.c, rndunix.c (func_table): Made func a
function pointer.  Note that we still need to change the module
interface to cope with data vs function pointer problems.  Hmmm,
even dlsym has a problem with this.
2002-04-18 18:41:27 +00:00
Werner Koch
adc8de23d1 * eo.po: Updated. 2002-04-18 18:41:04 +00:00
Werner Koch
72125f8fe7 * i386/syntax.h (ALIGN): Removed parens from definition
* i386/mpih-add1.S, i386/mpih-sub1.S, i386/mpih-rshift.S,
i386/mpih-lshift.S: Minor syntax changes suggested by Mark Pettit
after comparing the files with those for GMP 4.
2002-04-18 18:40:33 +00:00
Werner Koch
40bbe7f621 * trustdb.c (validate_keys): Never schedule a nextcheck into the
past.
(validate_key_list): New arg curtime use it to set next_expire.
(validate_one_keyblock): Take the current time from the caller.
(clear_validity, reset_unconnected_keys): New.
(validate_keys): Reset all unconnected keys.
2002-04-18 18:40:11 +00:00
David Shaw
c07113d265 * trustdb.c (mark_usable_uid_certs): Properly handle nonrevocable
signatures that can expire.  In short, the only thing that can override an
unexpired nonrevocable signature is another unexpired nonrevocable
signature.

* getkey.c (finish_lookup): Always use primary signing key for signatures
when --pgp6 is on since pgp6 and 7 do not understand signatures made by
signing subkeys.
2002-04-18 18:23:22 +00:00
Werner Koch
37c268ed6a * trustdb.c (validate_keys): Never schedule a nextcheck into the
past.
2002-04-18 11:01:56 +00:00