]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
15 years agoRenamed gnutls_privkey_sign_data() to gnutls_privkey_sign_data2() to match the
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.

15 years agoExtra sanity check.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 12:15:01 +0000 (13:15 +0100)] 
Extra sanity check.

15 years agoUse snprintf() to print an integer.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 12:14:49 +0000 (13:14 +0100)] 
Use snprintf() to print an integer.

15 years agoUse snprintf() to print IPs. There was a check just before that, but be safe, just...
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.

15 years agoUse SRP for password authentication.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:45:42 +0000 (05:45 +0100)] 
Use SRP for password authentication.

15 years agoDo not include deprecated functions to library documentation.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:41:30 +0000 (05:41 +0100)] 
Do not include deprecated functions to library documentation.

15 years agognutls_x509_privkey_verify_data() was deprecated.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:31:02 +0000 (05:31 +0100)] 
gnutls_x509_privkey_verify_data() was deprecated.

15 years agoDocumented key usage of pubkey.
Nikos Mavrogiannopoulos [Sun, 19 Dec 2010 04:09:59 +0000 (05:09 +0100)] 
Documented key usage of pubkey.

15 years agoSet public key bits on all import functions. Issue reported by Murray Kucheawy.
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.

15 years agognutls_pkcs11_privkey_sign_data(), gnutls_pkcs11_privkey_sign_hash2() and
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.

15 years agoRemoved the newly added functions:
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.

15 years agoDo not be strict on RSA hash algorithm selection for signatures.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:42:02 +0000 (12:42 +0100)] 
Do not be strict on RSA hash algorithm selection for signatures.

15 years agoRemoved unneeded definitions, and more careful deinitializations in parse_der_cert_mem().
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().

15 years agoupdated certificates to account for extra null byte added in negative numbers.
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.

15 years agoAccount for GNUTLS_E_PK_SIG_VERIFY_FAILED.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:14:50 +0000 (12:14 +0100)] 
Account for GNUTLS_E_PK_SIG_VERIFY_FAILED.

15 years agoCorrected bug in gnutls_privkey_sign_data().
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:11:47 +0000 (12:11 +0100)] 
Corrected bug in gnutls_privkey_sign_data().

15 years agosome fixes in pk_prepare_hash().
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 11:09:34 +0000 (12:09 +0100)] 
some fixes in pk_prepare_hash().

15 years agoThe verification functions now return a GNUTLS_E_PK_SIG_VERIFY_FAILED on signature...
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.

15 years agoThe default input format for p11tool is PEM.
Nikos Mavrogiannopoulos [Sat, 18 Dec 2010 10:54:55 +0000 (11:54 +0100)] 
The default input format for p11tool is PEM.

15 years agoimporting a pubkey from raw params will set the bits field correctly.
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.

15 years agoDocumented the addtion of gnutls_pubkey_import_privkey() and gnutls_pubkey_verify_data()
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()

15 years agoAdded gnutls_pubkey_verify_data and test vectors.
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 21:16:19 +0000 (22:16 +0100)] 
Added gnutls_pubkey_verify_data and test vectors.

15 years agoIndented code. Use same indentation but with -nut to avoid usage of tabs. In several...
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.

15 years ago_gnutls_privkey_get_public_mpis() handles openpgp keys.
Nikos Mavrogiannopoulos [Thu, 16 Dec 2010 16:24:48 +0000 (17:24 +0100)] 
_gnutls_privkey_get_public_mpis() handles openpgp keys.

15 years agoAdded gnutls_pubkey_import_privkey(), that will copy the public key from a gnutls_pri...
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.

15 years agoDo not export the non-existant symbols gnutls_pkcs11_privkey_sign_hash and gnutls_pri...
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.

15 years agodocumented new functions
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:42:19 +0000 (22:42 +0100)] 
documented new functions

15 years agoAdded new functions.
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:39:33 +0000 (22:39 +0100)] 
Added new functions.

15 years agoAdded new functions.
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:39:18 +0000 (22:39 +0100)] 
Added new functions.

15 years agode-deprecated gnutls_x509_crt_verify_hash()
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:29:40 +0000 (22:29 +0100)] 
de-deprecated gnutls_x509_crt_verify_hash()

15 years agoAdded gnutls_openpgp_crt_verify_hash().
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:27:43 +0000 (22:27 +0100)] 
Added gnutls_openpgp_crt_verify_hash().

15 years agoadded gnutls_privkey_sign_hash2()
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 21:01:51 +0000 (22:01 +0100)] 
added gnutls_privkey_sign_hash2()

15 years agoSimplified preparation of signing code.
Nikos Mavrogiannopoulos [Mon, 13 Dec 2010 20:53:08 +0000 (21:53 +0100)] 
Simplified preparation of signing code.

15 years agodeprecated x509/sign.h and moved functionality of it in gnutls_sig.h.
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.

15 years agopk_hash_data() will fail unless DSA or RSA are specified.
Nikos Mavrogiannopoulos [Sun, 12 Dec 2010 08:26:34 +0000 (09:26 +0100)] 
pk_hash_data() will fail unless DSA or RSA are specified.

15 years agobetter comments
Nikos Mavrogiannopoulos [Sun, 12 Dec 2010 08:25:27 +0000 (09:25 +0100)] 
better comments

15 years agoreorganization of the privkey_ functions().
Nikos Mavrogiannopoulos [Sun, 12 Dec 2010 08:25:13 +0000 (09:25 +0100)] 
reorganization of the privkey_ functions().

15 years agoIntroduced gnutls_*_privkey_sign_hash2() that is a high level function to produce...
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.

15 years agoSeparated the sign_data functions to a hashing phase, a preparing phase, and the...
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.

15 years agodocumented deprecated functions.
Nikos Mavrogiannopoulos [Sat, 11 Dec 2010 16:35:46 +0000 (17:35 +0100)] 
documented deprecated functions.

15 years agoAll the sign hash functions were deprecated.
Nikos Mavrogiannopoulos [Thu, 9 Dec 2010 08:15:16 +0000 (09:15 +0100)] 
All the sign hash functions were deprecated.

15 years agognutls_x509_privkey_sign_hash() is dangerous and was deprecated. Added some text...
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.

15 years agodocumented previous update.
Nikos Mavrogiannopoulos [Wed, 8 Dec 2010 22:37:45 +0000 (23:37 +0100)] 
documented previous update.

15 years agoexport_raw() functions now add leading zero in mpis.
Nikos Mavrogiannopoulos [Wed, 8 Dec 2010 22:32:14 +0000 (23:32 +0100)] 
export_raw() functions now add leading zero in mpis.

15 years agoAdd.
Simon Josefsson [Tue, 7 Dec 2010 19:45:26 +0000 (20:45 +0100)] 
Add.

15 years agoC++ fixes, tiny patch from "Brendan Doherty" <brendand@gentrack.com>.
Simon Josefsson [Tue, 7 Dec 2010 19:42:45 +0000 (20:42 +0100)] 
C++ fixes, tiny patch from "Brendan Doherty" <brendand@gentrack.com>.

15 years agoUpdate gnulib files.
Simon Josefsson [Tue, 7 Dec 2010 12:25:58 +0000 (13:25 +0100)] 
Update gnulib files.

15 years agoBump versions.
Simon Josefsson [Tue, 7 Dec 2010 12:12:50 +0000 (13:12 +0100)] 
Bump versions.

15 years agoGenerated. gnutls_2_11_6
Simon Josefsson [Tue, 7 Dec 2010 08:15:11 +0000 (09:15 +0100)] 
Generated.

15 years agoBump versions.
Simon Josefsson [Tue, 7 Dec 2010 07:44:51 +0000 (08:44 +0100)] 
Bump versions.

15 years agoGenerated. gnutls_2_11_5
Simon Josefsson [Mon, 6 Dec 2010 16:47:48 +0000 (17:47 +0100)] 
Generated.

15 years agoDon't fail on 'make distcheck'.
Simon Josefsson [Mon, 6 Dec 2010 16:43:22 +0000 (17:43 +0100)] 
Don't fail on 'make distcheck'.

15 years agoVersion 2.11.6.
Simon Josefsson [Mon, 6 Dec 2010 16:36:31 +0000 (17:36 +0100)] 
Version 2.11.6.

15 years agoIndent.
Simon Josefsson [Mon, 6 Dec 2010 16:28:58 +0000 (17:28 +0100)] 
Indent.

15 years agodocumented SSL 3.0 record version change.
Nikos Mavrogiannopoulos [Mon, 6 Dec 2010 16:27:34 +0000 (17:27 +0100)] 
documented SSL 3.0 record version change.

15 years agoSSL3_RECORD_VERSION priority option is now the default. That is in order to not confu...
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.

15 years agosimplified escape and unescape.
Nikos Mavrogiannopoulos [Mon, 6 Dec 2010 16:12:44 +0000 (17:12 +0100)] 
simplified escape and unescape.

15 years agoAdded Michael.
Nikos Mavrogiannopoulos [Sun, 5 Dec 2010 20:18:58 +0000 (21:18 +0100)] 
Added Michael.

15 years agoIndent code.
Simon Josefsson [Mon, 6 Dec 2010 15:47:25 +0000 (16:47 +0100)] 
Indent code.

15 years agoUpdate gnulib files.
Simon Josefsson [Mon, 6 Dec 2010 15:45:30 +0000 (16:45 +0100)] 
Update gnulib files.

15 years agoRemove.
Simon Josefsson [Mon, 6 Dec 2010 15:44:42 +0000 (16:44 +0100)] 
Remove.

15 years agoUpdate.
Simon Josefsson [Mon, 6 Dec 2010 15:42:34 +0000 (16:42 +0100)] 
Update.

15 years agoFix syntax-check nits.
Simon Josefsson [Mon, 6 Dec 2010 15:24:34 +0000 (16:24 +0100)] 
Fix syntax-check nits.

15 years agoIgnore more.
Simon Josefsson [Mon, 6 Dec 2010 15:22:17 +0000 (16:22 +0100)] 
Ignore more.

15 years agoUpdate gnulib files.
Simon Josefsson [Mon, 6 Dec 2010 15:20:45 +0000 (16:20 +0100)] 
Update gnulib files.

15 years agoTemporarily remove gendh test. It takes extremely long time under valgrind.
Nikos Mavrogiannopoulos [Sun, 5 Dec 2010 16:06:24 +0000 (17:06 +0100)] 
Temporarily remove gendh test. It takes extremely long time under valgrind.

15 years agoUse ASN1_NULL when writing parameters for RSA signatures. This makes us comply with...
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.

15 years agoCorrected buffer overflow in gnutls-serv by Tomas Mraz.
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.

15 years agoincreased revision
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:49:35 +0000 (22:49 +0100)] 
increased revision

15 years agoAdded p11tool.h
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:42:25 +0000 (22:42 +0100)] 
Added p11tool.h

15 years agoreleased 2.11.5
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:35:44 +0000 (22:35 +0100)] 
released 2.11.5

15 years agoescaped chars.
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 21:34:24 +0000 (22:34 +0100)] 
escaped chars.

15 years agoUpdated extension writing code. Still not clear enough.
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 20:12:15 +0000 (21:12 +0100)] 
Updated extension writing code. Still not clear enough.

15 years agoPKCS #11 fixes
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 19:45:57 +0000 (20:45 +0100)] 
PKCS #11 fixes

15 years agoCorrected pkcs11 example URLs
Nikos Mavrogiannopoulos [Wed, 1 Dec 2010 19:42:15 +0000 (20:42 +0100)] 
Corrected pkcs11 example URLs

15 years agoPrefix mechanism number with 0x.
Nikos Mavrogiannopoulos [Tue, 30 Nov 2010 20:34:31 +0000 (21:34 +0100)] 
Prefix mechanism number with 0x.

15 years agoAdded camellia and SHA224.
Nikos Mavrogiannopoulos [Tue, 30 Nov 2010 17:47:16 +0000 (18:47 +0100)] 
Added camellia and SHA224.

15 years agoUse rusage if present.
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.

15 years agoMore details on the text
Nikos Mavrogiannopoulos [Sat, 27 Nov 2010 14:31:38 +0000 (15:31 +0100)] 
More details on the text

15 years agoCorrected copyright statement
Nikos Mavrogiannopoulos [Sat, 27 Nov 2010 14:27:58 +0000 (15:27 +0100)] 
Corrected copyright statement

15 years agoCorrected copyright header. Added Niels.
Nikos Mavrogiannopoulos [Sat, 27 Nov 2010 10:51:23 +0000 (11:51 +0100)] 
Corrected copyright header. Added Niels.

15 years agoReverted default behavior for verification and introduced GNUTLS_VERIFY_DO_NOT_ALLOW_...
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.

15 years agoTypo.
Simon Josefsson [Thu, 25 Nov 2010 18:52:20 +0000 (19:52 +0100)] 
Typo.

15 years agoRemove, it is generated.
Simon Josefsson [Thu, 25 Nov 2010 18:51:22 +0000 (19:51 +0100)] 
Remove, it is generated.

15 years agoNo space at eol.
Simon Josefsson [Thu, 25 Nov 2010 18:50:54 +0000 (19:50 +0100)] 
No space at eol.

15 years agoFix syntax-check warning.
Simon Josefsson [Thu, 25 Nov 2010 18:48:56 +0000 (19:48 +0100)] 
Fix syntax-check warning.

15 years agoIgnore tests/suite for syntax-checks, not our code.
Simon Josefsson [Thu, 25 Nov 2010 18:48:44 +0000 (19:48 +0100)] 
Ignore tests/suite for syntax-checks, not our code.

15 years agoRecommend git format-patch rather than git diff.
Simon Josefsson [Thu, 25 Nov 2010 17:31:16 +0000 (18:31 +0100)] 
Recommend git format-patch rather than git diff.

15 years agoAttached is a proposed modification to the README file, including recent comments...
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.

15 years agoFix dependencies, fixes parallel builds.
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>.

15 years agoRemove file.
Simon Josefsson [Fri, 19 Nov 2010 16:04:42 +0000 (17:04 +0100)] 
Remove file.

15 years agoGenerated.
Simon Josefsson [Fri, 19 Nov 2010 16:04:11 +0000 (17:04 +0100)] 
Generated.

15 years agoCreate Makefile in tests/suite/
Nikos Mavrogiannopoulos [Fri, 19 Nov 2010 15:30:20 +0000 (16:30 +0100)] 
Create Makefile in tests/suite/

15 years agoDeprecate the netconf password and use a key only.
Nikos Mavrogiannopoulos [Fri, 19 Nov 2010 15:21:22 +0000 (16:21 +0100)] 
Deprecate the netconf password and use a key only.

15 years agocorrectly set psk params.
Nikos Mavrogiannopoulos [Fri, 19 Nov 2010 15:21:02 +0000 (16:21 +0100)] 
correctly set psk params.

15 years agoadded info
Nikos Mavrogiannopoulos [Tue, 16 Nov 2010 14:44:46 +0000 (15:44 +0100)] 
added info

15 years agoCorrectly write DSA public key in ASN.1 (add leading zero). Reported by Jeffrey Walton.
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.

15 years agocleanups
Nikos Mavrogiannopoulos [Tue, 16 Nov 2010 14:38:47 +0000 (15:38 +0100)] 
cleanups

15 years agoDeprecated the key derivation method from netconf. The published
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.

15 years agoAdded SIGN-ALL, CTYPE-ALL, COMP-ALL, and VERS-TLS-ALL priority strings.
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.