]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Tue, 21 Dec 2010 20:39:05 +0000 (21:39 +0100)]
Renamed gnutls_privkey_sign_data() to gnutls_privkey_sign_data2() to match the
similar function gnutls_x509_privkey_sign_data2().
gnutls_x509_privkey_sign_data() was deprecated.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 12:15:01 +0000 (13:15 +0100)]
Extra sanity check.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 12:14:49 +0000 (13:14 +0100)]
Use snprintf() to print an integer.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 12:08:47 +0000 (13:08 +0100)]
Use snprintf() to print IPs. There was a check just before that, but be safe, just in case.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:45:42 +0000 (05:45 +0100)]
Use SRP for password authentication.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:41:30 +0000 (05:41 +0100)]
Do not include deprecated functions to library documentation.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:31:02 +0000 (05:31 +0100)]
gnutls_x509_privkey_verify_data() was deprecated.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:09:59 +0000 (05:09 +0100)]
Documented key usage of pubkey.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:06:43 +0000 (05:06 +0100)]
Set public key bits on all import functions. Issue reported by Murray Kucheawy.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 03:57:05 +0000 (04:57 +0100)]
gnutls_pkcs11_privkey_sign_data(), gnutls_pkcs11_privkey_sign_hash2() and
gnutls_pkcs11_privkey_decrypt_data() were removed. The abstract.h functions
should be used instead.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 01:42:34 +0000 (02:42 +0100)]
Removed the newly added functions:
gnutls_openpgp_privkey_sign_hash2(),
gnutls_openpgp_privkey_sign_data2(),
gnutls_openpgp_crt_verify_hash()
That way the operations in abstract.h should be used
to get the same functionality, and API will be kept simple
and easier to maintain. The corresponding gnutls_x509_* are
kept for backwards compatibility.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:42:02 +0000 (12:42 +0100)]
Do not be strict on RSA hash algorithm selection for signatures.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:37:51 +0000 (12:37 +0100)]
Removed unneeded definitions, and more careful deinitializations in parse_der_cert_mem().
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:26:09 +0000 (12:26 +0100)]
updated certificates to account for extra null byte added in negative numbers.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:14:50 +0000 (12:14 +0100)]
Account for GNUTLS_E_PK_SIG_VERIFY_FAILED.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:11:47 +0000 (12:11 +0100)]
Corrected bug in gnutls_privkey_sign_data().
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:09:34 +0000 (12:09 +0100)]
some fixes in pk_prepare_hash().
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:00:01 +0000 (12:00 +0100)]
The verification functions now return a GNUTLS_E_PK_SIG_VERIFY_FAILED on signature verification error.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 10:54:55 +0000 (11:54 +0100)]
The default input format for p11tool is PEM.
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 21:22:39 +0000 (22:22 +0100)]
importing a pubkey from raw params will set the bits field correctly.
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 21:18:25 +0000 (22:18 +0100)]
Documented the addtion of gnutls_pubkey_import_privkey() and gnutls_pubkey_verify_data()
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 21:16:19 +0000 (22:16 +0100)]
Added gnutls_pubkey_verify_data and test vectors.
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 16:30:42 +0000 (17:30 +0100)]
Indented code. Use same indentation but with -nut to avoid usage of tabs. In several editors tabs can be configured not to be 8 spaces and this produces artifacts with the current indentation that is a mixture of tabs and spaces.
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 16:24:48 +0000 (17:24 +0100)]
_gnutls_privkey_get_public_mpis() handles openpgp keys.
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 16:06:45 +0000 (17:06 +0100)]
Added gnutls_pubkey_import_privkey(), that will copy the public key from a gnutls_privkey_t structure.
Nikos Mavrogiannopoulos [Wed, 15 Dec 2010 13:19:14 +0000 (14:19 +0100)]
Do not export the non-existant symbols gnutls_pkcs11_privkey_sign_hash and gnutls_privkey_sign_hash.
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:42:19 +0000 (22:42 +0100)]
documented new functions
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:39:33 +0000 (22:39 +0100)]
Added new functions.
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:39:18 +0000 (22:39 +0100)]
Added new functions.
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:29:40 +0000 (22:29 +0100)]
de-deprecated gnutls_x509_crt_verify_hash()
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:27:43 +0000 (22:27 +0100)]
Added gnutls_openpgp_crt_verify_hash().
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:01:51 +0000 (22:01 +0100)]
added gnutls_privkey_sign_hash2()
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 20:53:08 +0000 (21:53 +0100)]
Simplified preparation of signing code.
Nikos Mavrogiannopoulos [Sun, 12 Dec 2010 08:40:29 +0000 (09:40 +0100)]
deprecated x509/sign.h and moved functionality of it in gnutls_sig.h.
Nikos Mavrogiannopoulos [Sun, 12 Dec 2010 08:26:34 +0000 (09:26 +0100)]
pk_hash_data() will fail unless DSA or RSA are specified.
Nikos Mavrogiannopoulos [Sun, 12 Dec 2010 08:25:27 +0000 (09:25 +0100)]
better comments
Nikos Mavrogiannopoulos [Sun, 12 Dec 2010 08:25:13 +0000 (09:25 +0100)]
reorganization of the privkey_ functions().
Nikos Mavrogiannopoulos [Sat, 11 Dec 2010 17:58:27 +0000 (18:58 +0100)]
Introduced gnutls_*_privkey_sign_hash2() that is a high level function to produce signatures.
Nikos Mavrogiannopoulos [Sat, 11 Dec 2010 17:22:13 +0000 (18:22 +0100)]
Separated the sign_data functions to a hashing phase, a preparing phase, and the actual signing.
Nikos Mavrogiannopoulos [Sat, 11 Dec 2010 16:35:46 +0000 (17:35 +0100)]
documented deprecated functions.
Nikos Mavrogiannopoulos [Thu, 9 Dec 2010 08:15:16 +0000 (09:15 +0100)]
All the sign hash functions were deprecated.
Nikos Mavrogiannopoulos [Thu, 9 Dec 2010 08:10:33 +0000 (09:10 +0100)]
gnutls_x509_privkey_sign_hash() is dangerous and was deprecated. Added some text explaining why some functions were deprecated.
Nikos Mavrogiannopoulos [Wed, 8 Dec 2010 22:37:45 +0000 (23:37 +0100)]
documented previous update.
Nikos Mavrogiannopoulos [Wed, 8 Dec 2010 22:32:14 +0000 (23:32 +0100)]
export_raw() functions now add leading zero in mpis.
Simon Josefsson [Tue, 7 Dec 2010 19:45:26 +0000 (20:45 +0100)]
Add.
Simon Josefsson [Tue, 7 Dec 2010 19:42:45 +0000 (20:42 +0100)]
C++ fixes, tiny patch from "Brendan Doherty" <brendand@gentrack.com>.
Simon Josefsson [Tue, 7 Dec 2010 12:25:58 +0000 (13:25 +0100)]
Update gnulib files.
Simon Josefsson [Tue, 7 Dec 2010 12:12:50 +0000 (13:12 +0100)]
Bump versions.
Simon Josefsson [Tue, 7 Dec 2010 08:15:11 +0000 (09:15 +0100)]
Generated.
Simon Josefsson [Tue, 7 Dec 2010 07:44:51 +0000 (08:44 +0100)]
Bump versions.
Simon Josefsson [Mon, 6 Dec 2010 16:47:48 +0000 (17:47 +0100)]
Generated.
Simon Josefsson [Mon, 6 Dec 2010 16:43:22 +0000 (17:43 +0100)]
Don't fail on 'make distcheck'.
Simon Josefsson [Mon, 6 Dec 2010 16:36:31 +0000 (17:36 +0100)]
Version 2.11.6.
Simon Josefsson [Mon, 6 Dec 2010 16:28:58 +0000 (17:28 +0100)]
Indent.
Nikos Mavrogiannopoulos [Mon, 6 Dec 2010 16:27:34 +0000 (17:27 +0100)]
documented SSL 3.0 record version change.
Nikos Mavrogiannopoulos [Mon, 6 Dec 2010 16:20:16 +0000 (17:20 +0100)]
SSL3_RECORD_VERSION priority option is now the default. That is in order to not confuse non TLS 1.2 compliant implementations that don't like a TLS 1.2 record.
Nikos Mavrogiannopoulos [Mon, 6 Dec 2010 16:12:44 +0000 (17:12 +0100)]
simplified escape and unescape.
Nikos Mavrogiannopoulos [Sun, 5 Dec 2010 20:18:58 +0000 (21:18 +0100)]
Added Michael.
Simon Josefsson [Mon, 6 Dec 2010 15:47:25 +0000 (16:47 +0100)]
Indent code.
Simon Josefsson [Mon, 6 Dec 2010 15:45:30 +0000 (16:45 +0100)]
Update gnulib files.
Simon Josefsson [Mon, 6 Dec 2010 15:44:42 +0000 (16:44 +0100)]
Remove.
Simon Josefsson [Mon, 6 Dec 2010 15:42:34 +0000 (16:42 +0100)]
Update.
Simon Josefsson [Mon, 6 Dec 2010 15:24:34 +0000 (16:24 +0100)]
Fix syntax-check nits.
Simon Josefsson [Mon, 6 Dec 2010 15:22:17 +0000 (16:22 +0100)]
Ignore more.
Simon Josefsson [Mon, 6 Dec 2010 15:20:45 +0000 (16:20 +0100)]
Update gnulib files.
Nikos Mavrogiannopoulos [Sun, 5 Dec 2010 16:06:24 +0000 (17:06 +0100)]
Temporarily remove gendh test. It takes extremely long time under valgrind.
Nikos Mavrogiannopoulos [Sun, 5 Dec 2010 15:33:01 +0000 (16:33 +0100)]
Use ASN1_NULL when writing parameters for RSA signatures. This makes us comply with RFC3279. Reported by Michael Rommel.
Nikos Mavrogiannopoulos [Sun, 5 Dec 2010 09:21:55 +0000 (10:21 +0100)]
Corrected buffer overflow in gnutls-serv by Tomas Mraz.
The gnutls-serv uses fixed allocated buffer for the response which can
be pretty long if a client certificate is presented to it and the http
header is large. This causes buffer overflow and heap corruption which
then leads to random segfaults or aborts.
It was reported originally here:
https://bugzilla.redhat.com/show_bug.cgi?id=659259
The attached patch changes sprintf calls in peer_print_info() to
snprintf so the buffer is never overflowed.
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:49:35 +0000 (22:49 +0100)]
increased revision
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:42:25 +0000 (22:42 +0100)]
Added p11tool.h
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:35:44 +0000 (22:35 +0100)]
released 2.11.5
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:34:24 +0000 (22:34 +0100)]
escaped chars.
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 20:12:15 +0000 (21:12 +0100)]
Updated extension writing code. Still not clear enough.
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 19:45:57 +0000 (20:45 +0100)]
PKCS #11 fixes
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 19:42:15 +0000 (20:42 +0100)]
Corrected pkcs11 example URLs
Nikos Mavrogiannopoulos [Tue, 30 Nov 2010 20:34:31 +0000 (21:34 +0100)]
Prefix mechanism number with 0x.
Nikos Mavrogiannopoulos [Tue, 30 Nov 2010 17:47:16 +0000 (18:47 +0100)]
Added camellia and SHA224.
Nikos Mavrogiannopoulos [Sat, 27 Nov 2010 14:38:46 +0000 (15:38 +0100)]
Use rusage if present.
Moved check to correct config and included resource.h header.
Nikos Mavrogiannopoulos [Sat, 27 Nov 2010 14:31:38 +0000 (15:31 +0100)]
More details on the text
Nikos Mavrogiannopoulos [Sat, 27 Nov 2010 14:27:58 +0000 (15:27 +0100)]
Corrected copyright statement
Nikos Mavrogiannopoulos [Sat, 27 Nov 2010 10:51:23 +0000 (11:51 +0100)]
Corrected copyright header. Added Niels.
Nikos Mavrogiannopoulos [Fri, 26 Nov 2010 11:46:16 +0000 (12:46 +0100)]
Reverted default behavior for verification and introduced GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT.
Thus by default V1 trusted CAs are allowed, unless the new flag is specified.
Simon Josefsson [Thu, 25 Nov 2010 18:52:20 +0000 (19:52 +0100)]
Typo.
Simon Josefsson [Thu, 25 Nov 2010 18:51:22 +0000 (19:51 +0100)]
Remove, it is generated.
Simon Josefsson [Thu, 25 Nov 2010 18:50:54 +0000 (19:50 +0100)]
No space at eol.
Simon Josefsson [Thu, 25 Nov 2010 18:48:56 +0000 (19:48 +0100)]
Fix syntax-check warning.
Simon Josefsson [Thu, 25 Nov 2010 18:48:44 +0000 (19:48 +0100)]
Ignore tests/suite for syntax-checks, not our code.
Simon Josefsson [Thu, 25 Nov 2010 17:31:16 +0000 (18:31 +0100)]
Recommend git format-patch rather than git diff.
Jeffrey Walton [Wed, 24 Nov 2010 16:37:02 +0000 (17:37 +0100)]
Attached is a proposed modification to the README file, including recent comments by Simon.
Simon Josefsson [Tue, 23 Nov 2010 21:06:34 +0000 (22:06 +0100)]
Fix dependencies, fixes parallel builds.
Tiny patch from Graham Gower <graham.gower@gmail.com>.
Simon Josefsson [Fri, 19 Nov 2010 16:04:42 +0000 (17:04 +0100)]
Remove file.
Simon Josefsson [Fri, 19 Nov 2010 16:04:11 +0000 (17:04 +0100)]
Generated.
Nikos Mavrogiannopoulos [Fri, 19 Nov 2010 15:30:20 +0000 (16:30 +0100)]
Create Makefile in tests/suite/
Nikos Mavrogiannopoulos [Fri, 19 Nov 2010 15:21:22 +0000 (16:21 +0100)]
Deprecate the netconf password and use a key only.
Nikos Mavrogiannopoulos [Fri, 19 Nov 2010 15:21:02 +0000 (16:21 +0100)]
correctly set psk params.
Nikos Mavrogiannopoulos [Tue, 16 Nov 2010 14:44:46 +0000 (15:44 +0100)]
added info
Nikos Mavrogiannopoulos [Tue, 16 Nov 2010 14:41:47 +0000 (15:41 +0100)]
Correctly write DSA public key in ASN.1 (add leading zero). Reported by Jeffrey Walton.
Nikos Mavrogiannopoulos [Tue, 16 Nov 2010 14:38:47 +0000 (15:38 +0100)]
cleanups
Nikos Mavrogiannopoulos [Tue, 16 Nov 2010 14:23:46 +0000 (15:23 +0100)]
Deprecated the key derivation method from netconf. The published
RFC does not include this method and it is not known whether it has
been used at all in practice. No need to support it.
Nikos Mavrogiannopoulos [Tue, 16 Nov 2010 14:17:43 +0000 (15:17 +0100)]
Added SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL priority strings.