| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| |
| | |
union for preference hints rather than doing void * games.
* sign.c (sign_file): Use it here.
|
| |
| |
| |
| |
| |
| |
| | |
and one being DSA2 and encrypting at the same time, if the recipient
preferences give a hash that can work with the DSA2 key, then allow the
DSA1 key to be promoted rather than giving up and using hash_for().
|
| |
| |
| |
| |
| | |
a key that clearly isn't DSA1 (i.e. q!=160).
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
--default-keyserver-url.
* DETAILS: Note "Keyserver:"
|
| |
| |
| |
| |
| |
| |
| | |
keygen_add_std_prefs, proc_parameter_file): Add --default-keyserver-url to
specify a keyserver URL at key generation time, and "Keyserver:" keyword
for doing the same through a batch file.
|
| |
| |
| |
| |
| | |
in what you accept, etc).
|
| |
| |
| |
| |
| | |
clearsigned messages are not reversible.
|
| |
| |
| |
| |
| |
| | |
on an autoconverted public key. The check should only happen on the
sk size. Noted by Dirk Traulsen.
|
| |
| |
| |
| |
| |
| |
| |
| | |
(not a copy) of the stub secret key for the secret key we just
generated on the card. (generate_card_subkeypair): Use it here so
that the signing key on the card can use the card to generate the 0x19
backsig on the primary key. Noted by Janko Heilgeist and Jonas Oberg.
|
| |
| |
| |
| |
| |
| |
| | |
This prevents a memory allocation attack with a very large user ID. A
very large packet length could even cause the allocation (a u32) to wrap
around to a small number. Noted by Evgeny Legerov on full-disclosure.
|
| | |
|
| |
| |
| |
| |
| | |
arbitrarily long temporary directory paths.
|
| |
| |
| |
| |
| |
| |
| | |
1024 when --enable-dsa2 is set). The size of q is set automatically based
on the key size. (ask_keysize, generate_keypair): Ask for DSA size when
--enable-dsa2 is set.
|
| | |
|
| |
| |
| |
| |
| | |
that is over 256 bytes long. Noted by Israel G. Lugo.
|
| |
| |
| |
| |
| | |
when generating samplekeys.asc.
|
| |
| |
| |
| |
| |
| |
| |
| | |
called with them closed. This is to protect our keyring/trustdb files
from corruption if they get attached to one of the standard fds. Print a
warning if possible that this has happened, and fail completely if we
cannot reopen (should never happen). (main): Call it here.
|
| |
| |
| |
| |
| | |
so the compiler doesn't rearrange things and eliminate variables.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(build_sig_subpkt_from_sig), getkey.c (fixup_uidnode,
merge_selfsigs_main, merge_selfsigs_subkey), keygen.c
(keygen_add_key_expire): Fix meaning of key expiration and sig
expiration subpackets - zero means "never expire" according to 2440,
not "expire instantly".
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* configure.ac: Remove check for noexecstack and invoke
CL_AS_NOEXECSTACK instead.
m4/
2006-05-22 Marcus Brinkmann <[email protected]>
* noexecstack.m4: New file.
|
| |
| |
| |
| |
| |
| | |
problem when auto-key-locate returns a list of keys, not all of which are
usable (revoked, expired, etc). Noted by Simon Josefsson.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* configure.ac: Remove --enable-old-keyserver-helpers. Comment out
--enable-m-guard for now.
|
| |
| |
| |
| |
| | |
but no --keyserver set.
|
| |
| |
| |
| |
| |
| | |
to add "_uri" to certain gpgkeys_xxx helpers when the meaning is
different if a path is provided (i.e. ldap).
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
this is done via curl or fake-curl.
* ksutil.h, ksutil.c, gpgkeys_hkp.c, gpgkeys_curl.c: Minor #include tweaks
as FAKE_CURL is no longer meaningful.
|
| |
| |
| |
| |
| | |
a place not in the regular include search path.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to disable.
* pkclist.c (algo_available): If --enable-dsa2 is set, we're allowed to
truncate hashes to fit DSA keys.
* sign.c (match_dsa_hash): New. Return the best match hash for a given q
size. (do_sign, hash_for, sign_file): When signing with a DSA key, if it
has q==160, assume it is an old DSA key and don't allow truncation unless
--enable-dsa2 is also set. q!=160 always allows truncation since they
must be DSA2 keys. (make_keysig_packet): If the user doesn't specify a
--cert-digest-algo, use match_dsa_hash to pick the best hash for key
signatures.
|
| |
| |
| |
| |
| | |
size doesn't end between byte boundaries.
|
| |
| |
| |
| |
| | |
Not yet used (q==160).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SHA-224.
* sign.c (write_plaintext_packet), encode.c (encode_simple): Factor
common literal packet setup code from here, to...
* main.h, plaintext.c (setup_plaintext_name): Here. New. Make sure the
literal packet filename field is UTF-8 encoded.
* options.h, gpg.c (main): Make sure --set-filename is UTF-8 encoded
and note when filenames are already UTF-8.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
have no need to backsign.
|
| |
| |
| |
| |
| | |
--compress-algo should be avoided.
|
| |
| |
| |
| |
| | |
characters lose part of their ASCII representation.
|
| | |
|