]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Sun, 23 May 2010 17:42:14 +0000 (19:42 +0200)]
Corrected nicely hidden bug that caused accesses to uninitialized variables
if the gcry_mpi_print() functions were pessimists and returned more size than
actually needed for the print.
Nikos Mavrogiannopoulos [Sun, 23 May 2010 17:23:31 +0000 (19:23 +0200)]
Added some sanity checks.
Nikos Mavrogiannopoulos [Sun, 23 May 2010 17:01:00 +0000 (19:01 +0200)]
Documentation updates. Separated big gnutls.texi to chapter to allow easier
maintainance.
Nikos Mavrogiannopoulos [Sun, 23 May 2010 12:05:32 +0000 (14:05 +0200)]
Added support to copy certificates and private keys to tokens.
New functions:
gnutls_pkcs11_copy_x509_crt()
gnutls_pkcs11_copy_x509_privkey()
gnutls_pkcs11_delete_url()
Certtool was updated to allow copying certificates and private keys
to tokens. Deleting an object has issues (segfault) but it seems to be related
with libopensc and its pkcs11 API.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 18:46:36 +0000 (20:46 +0200)]
Added gnutls_pubkey_verify_hash(), gnutls_pubkey_get_verify_algorithm().
Nikos Mavrogiannopoulos [Sat, 22 May 2010 18:15:22 +0000 (20:15 +0200)]
Added gnutls_pubkey_import_pkcs11(), gnutls_pubkey_import_rsa_raw(),
gnutls_pubkey_import_dsa_raw(), gnutls_pkcs11_obj_export().
Nikos Mavrogiannopoulos [Sat, 22 May 2010 13:31:18 +0000 (15:31 +0200)]
Tried to document recent changes.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 13:13:20 +0000 (15:13 +0200)]
Added gnutls_pubkey_t abstract type to handle public keys. It can currently
import/export public keys from existing certificate types as well as from PKCS #11
URL. This allows generating a certificate or certificate request from a given public key
(currently one could only generate them from a given private key).
PKCS#11 API augmented to allow reading arbitrary objects instead of just certificates.
Certtool updated to list those objects.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 08:34:00 +0000 (10:34 +0200)]
Added gnutls_pkcs11_token_get_flags() to distinguish between hardware and soft tokens.
Nikos Mavrogiannopoulos [Fri, 21 May 2010 15:00:01 +0000 (17:00 +0200)]
Added support for libnettle backend. This uses gmp for big number operations.
It is not currently completed. It lacks RSA blinding as well as optimizations.
Nikos Mavrogiannopoulos [Tue, 18 May 2010 21:41:22 +0000 (23:41 +0200)]
Corrected bug in DSA signature generation.
Nikos Mavrogiannopoulos [Tue, 18 May 2010 21:18:07 +0000 (23:18 +0200)]
Added operations to sign CRLs, certificates and requests with an abstract key and thus with a PKCS #11 key as well.
Nikos Mavrogiannopoulos [Tue, 18 May 2010 20:26:13 +0000 (22:26 +0200)]
privkey.h -> abstract.h
Nikos Mavrogiannopoulos [Tue, 18 May 2010 20:17:34 +0000 (22:17 +0200)]
The gnutls-cli --x509cafile can now be a PKCS #11 URL. It can read gnome-keyring's
certificates and use them in the trusted list.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 09:44:27 +0000 (11:44 +0200)]
Corrections in openpgp private key usage.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 09:13:21 +0000 (11:13 +0200)]
Updated self tests and examples to avoid using deprecated functions such as
gnutls_certificate_server_set_retrieve_function and the sign callback.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 08:56:13 +0000 (10:56 +0200)]
Added documentation for most of the new functions.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 07:42:35 +0000 (09:42 +0200)]
Documented that it was initially based on neon pkcs11 and got ideas from pkcs11-helper library.
Nikos Mavrogiannopoulos [Sat, 15 May 2010 21:43:30 +0000 (23:43 +0200)]
Corrections to properly handle token removal and insert.
Nikos Mavrogiannopoulos [Sat, 15 May 2010 20:00:22 +0000 (22:00 +0200)]
Added gnutls_pkcs11_privkey_t and gnutls_privkey_t types. Those are
an abstract private key type that can be used to sign/encrypt any private key
of pkcs11,x509 or openpgp types. Added support for PKCS11 in gnutls-cli/gnutls-serv.
Nikos Mavrogiannopoulos [Mon, 10 May 2010 21:35:33 +0000 (23:35 +0200)]
Added several helper functions, to allow printing of tokens.
Nikos Mavrogiannopoulos [Mon, 10 May 2010 14:26:24 +0000 (16:26 +0200)]
Added ability to export certificates from PKCS #11 tokens.
Added ability to list trusted certificates, or only certificates
with a corresponding private key or just all.
Nikos Mavrogiannopoulos [Sun, 9 May 2010 15:20:40 +0000 (17:20 +0200)]
Added initial PKCS #11 support. Certtool can now print lists of certificates
available in system.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 18:46:36 +0000 (20:46 +0200)]
Added gnutls_pubkey_verify_hash(), gnutls_pubkey_get_verify_algorithm().
Nikos Mavrogiannopoulos [Sat, 22 May 2010 18:15:22 +0000 (20:15 +0200)]
Added gnutls_pubkey_import_pkcs11(), gnutls_pubkey_import_rsa_raw(),
gnutls_pubkey_import_dsa_raw(), gnutls_pkcs11_obj_export().
Nikos Mavrogiannopoulos [Sat, 22 May 2010 13:37:09 +0000 (15:37 +0200)]
Ignore files that should be ignored.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 13:31:18 +0000 (15:31 +0200)]
Tried to document recent changes.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 13:13:20 +0000 (15:13 +0200)]
Added gnutls_pubkey_t abstract type to handle public keys. It can currently
import/export public keys from existing certificate types as well as from PKCS #11
URL. This allows generating a certificate or certificate request from a given public key
(currently one could only generate them from a given private key).
PKCS#11 API augmented to allow reading arbitrary objects instead of just certificates.
Certtool updated to list those objects.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 08:34:00 +0000 (10:34 +0200)]
Added gnutls_pkcs11_token_get_flags() to distinguish between hardware and soft tokens.
Nikos Mavrogiannopoulos [Sat, 22 May 2010 08:06:50 +0000 (10:06 +0200)]
Export all symbols from C++ library. This library doesn't contain any
internal symbols anyway and there is no reason to mess with the C++ ABI
that hasn't got the problems of C.
Nikos Mavrogiannopoulos [Fri, 21 May 2010 15:00:01 +0000 (17:00 +0200)]
Added support for libnettle backend. This uses gmp for big number operations.
It is not currently completed. It lacks RSA blinding as well as optimizations.
Nikos Mavrogiannopoulos [Tue, 18 May 2010 21:45:08 +0000 (23:45 +0200)]
Documented that the --file options in gnutls-cli and gnutls-serv can accept a PKCS #11 URL.
Nikos Mavrogiannopoulos [Tue, 18 May 2010 21:41:22 +0000 (23:41 +0200)]
Corrected bug in DSA signature generation.
Nikos Mavrogiannopoulos [Tue, 18 May 2010 21:18:07 +0000 (23:18 +0200)]
Added operations to sign CRLs, certificates and requests with an abstract key and thus with a PKCS #11 key as well.
Nikos Mavrogiannopoulos [Tue, 18 May 2010 20:26:13 +0000 (22:26 +0200)]
privkey.h -> abstract.h
Nikos Mavrogiannopoulos [Tue, 18 May 2010 20:17:34 +0000 (22:17 +0200)]
The gnutls-cli --x509cafile can now be a PKCS #11 URL. It can read gnome-keyring's
certificates and use them in the trusted list.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 12:08:27 +0000 (14:08 +0200)]
Documented that gnutls_global_init calls gnutls_pkcs11_init.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 11:54:05 +0000 (13:54 +0200)]
Only send termination request to avoid stalling on servers that do not reply.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 11:53:03 +0000 (13:53 +0200)]
Corrected issue on the %SSL3_RECORD_VERSION priority string. It now
works even when resuming a session.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 10:06:33 +0000 (12:06 +0200)]
Added initial example.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 09:44:27 +0000 (11:44 +0200)]
Corrections in openpgp private key usage.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 09:13:21 +0000 (11:13 +0200)]
Updated self tests and examples to avoid using deprecated functions such as
gnutls_certificate_server_set_retrieve_function and the sign callback.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 09:04:23 +0000 (11:04 +0200)]
Use the new callback function.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 08:56:13 +0000 (10:56 +0200)]
Added documentation for most of the new functions.
Nikos Mavrogiannopoulos [Sun, 16 May 2010 07:42:35 +0000 (09:42 +0200)]
Documented that it was initially based on neon pkcs11 and got ideas from pkcs11-helper library.
Nikos Mavrogiannopoulos [Sat, 15 May 2010 21:43:30 +0000 (23:43 +0200)]
Corrections to properly handle token removal and insert.
Nikos Mavrogiannopoulos [Sat, 15 May 2010 20:10:42 +0000 (22:10 +0200)]
Deprecated the sign callback.
Nikos Mavrogiannopoulos [Sat, 15 May 2010 20:00:22 +0000 (22:00 +0200)]
Added gnutls_pkcs11_privkey_t and gnutls_privkey_t types. Those are
an abstract private key type that can be used to sign/encrypt any private key
of pkcs11,x509 or openpgp types. Added support for PKCS11 in gnutls-cli/gnutls-serv.
Nikos Mavrogiannopoulos [Sat, 15 May 2010 10:10:09 +0000 (12:10 +0200)]
ignore unrelated to gnutls files.
Nikos Mavrogiannopoulos [Mon, 10 May 2010 21:35:33 +0000 (23:35 +0200)]
Added several helper functions, to allow printing of tokens.
Nikos Mavrogiannopoulos [Mon, 10 May 2010 14:26:24 +0000 (16:26 +0200)]
Added ability to export certificates from PKCS #11 tokens.
Added ability to list trusted certificates, or only certificates
with a corresponding private key or just all.
Nikos Mavrogiannopoulos [Sun, 9 May 2010 15:20:40 +0000 (17:20 +0200)]
Added initial PKCS #11 support. Certtool can now print lists of certificates
available in system.
Nikos Mavrogiannopoulos [Sun, 7 Mar 2010 09:23:21 +0000 (10:23 +0100)]
Optimized the check_if_same().
Nikos Mavrogiannopoulos [Wed, 24 Feb 2010 22:32:27 +0000 (23:32 +0100)]
Added a forgoten by god OID for RSA. Warn using the actual OID
on unknown public key algorithms.
Jonathan Bastien-Filiatrault [Thu, 10 Dec 2009 03:03:04 +0000 (22:03 -0500)]
Adapt session ticket support to mbuffer API.
Jonathan Bastien-Filiatrault [Sun, 16 Aug 2009 18:09:38 +0000 (14:09 -0400)]
Use mbuffers for handshake synthesis.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 21:09:59 +0000 (17:09 -0400)]
Make _gnutls_handshake_io_send_int accept a mbuffer_st.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 20:56:19 +0000 (16:56 -0400)]
Simplify handshake send buffer logic.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 20:49:21 +0000 (16:49 -0400)]
Fix interrupted write braino.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 18:37:23 +0000 (14:37 -0400)]
Avoid pointer warning.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 18:36:42 +0000 (14:36 -0400)]
Remove now useless _gnutls_mbuffer_enqueue{,copy} functions.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 18:32:38 +0000 (14:32 -0400)]
Allocate data buffer with mbuffer_st structure as suggested by Nikos.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 18:07:15 +0000 (14:07 -0400)]
Prepare for mbuffer allocation by the caller.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 17:40:26 +0000 (13:40 -0400)]
GNUify some missed GNUification.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 17:32:04 +0000 (13:32 -0400)]
Harmonize read and write function names.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 17:19:39 +0000 (13:19 -0400)]
Now that LEVEL and LEVEL_EQ are fixed, use less lines.
Jonathan Bastien-Filiatrault [Sat, 15 Aug 2009 17:17:25 +0000 (13:17 -0400)]
Make LEVEL and LEVEL_EQ macros safer.
Once again, I got bit by this pretty hard.
Jonathan Bastien-Filiatrault [Sun, 9 Aug 2009 20:08:25 +0000 (16:08 -0400)]
Use a datum for ciphered data in _gnutls_send_int.
Jonathan Bastien-Filiatrault [Sun, 9 Aug 2009 19:50:26 +0000 (15:50 -0400)]
Remove the prototype for the non-existant function _gnutls_io_write_buffered2.
Jonathan Bastien-Filiatrault [Sun, 9 Aug 2009 19:48:38 +0000 (15:48 -0400)]
Cleanup of the remaining internals.record_send_buffer mess.
Jonathan Bastien-Filiatrault [Sun, 9 Aug 2009 18:54:25 +0000 (14:54 -0400)]
Remove yet another !@#$% instance of redundant hexadecimal dumping.
Jonathan Bastien-Filiatrault [Sun, 9 Aug 2009 18:46:14 +0000 (14:46 -0400)]
Modify slightly the contract of _gnutls_io_write_buffered as suggested
by Nikos Mavrogiannopoulos.
Jonathan Bastien-Filiatrault [Sun, 9 Aug 2009 18:30:54 +0000 (14:30 -0400)]
Pass datums to mbuffers by address instead of by value.
Nikos Mavrogiannopoulos [Sat, 8 Aug 2009 06:06:57 +0000 (09:06 +0300)]
Corrected case where handshake data were received during a session. It now stores them for future use by a gnutls_handshake(). Reported by Peter Hendrickson <pdh@wiredyne.com>.
Jonathan Bastien-Filiatrault [Fri, 7 Aug 2009 00:42:42 +0000 (20:42 -0400)]
Simplify _gnutls_io_write_buffered and _gnutls_io_write_flush with mbuffers.
Jonathan Bastien-Filiatrault [Fri, 7 Aug 2009 00:41:50 +0000 (20:41 -0400)]
Change type of internals.record_send_buffer to a mbuffer.
Jonathan Bastien-Filiatrault [Fri, 7 Aug 2009 00:36:35 +0000 (20:36 -0400)]
Extract a simple_write function from _gnutls_io_write_buffered.
Jonathan Bastien-Filiatrault [Fri, 7 Aug 2009 00:32:49 +0000 (20:32 -0400)]
Add dump_bytes function.
Jonathan Bastien-Filiatrault [Thu, 6 Aug 2009 20:37:15 +0000 (16:37 -0400)]
Add gnutls_mbuffers.{c,h} with some basic mbuffer operations.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 17:41:57 +0000 (13:41 -0400)]
Do not rely on version ordering; use switch..case instead.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 16:30:01 +0000 (12:30 -0400)]
Remove hardcoded version checks in auth_cert.c.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 16:20:25 +0000 (12:20 -0400)]
Remove hardcoded version check in gnutls_state.c.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 16:16:33 +0000 (12:16 -0400)]
Remove hardcoded version checks in gnutls_cipher.c.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 16:00:52 +0000 (12:00 -0400)]
Remove hardcoded version checks in gnutls_sig.c.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 15:54:08 +0000 (11:54 -0400)]
Remove hardcoded version checks in gnutls_handshake.c.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 16:29:18 +0000 (12:29 -0400)]
Add version check function for selectable signature/hash certificate algorithms.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 16:15:01 +0000 (12:15 -0400)]
Add version check functions for non-minimal padding.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 16:06:02 +0000 (12:06 -0400)]
Add version check function for explicit IV.
Jonathan Bastien-Filiatrault [Sat, 1 Aug 2009 15:45:55 +0000 (11:45 -0400)]
Add version check functions for selectable PRF and extension handling.
Nikos Mavrogiannopoulos [Tue, 1 Jun 2010 14:02:34 +0000 (16:02 +0200)]
Splitted safe renegotiation capabilities to
%SAFE_RENEGOTIATION: will enable safe renegotiation. This is the most
secure and recommended option for clients. However this will prevent from
connecting to legacy servers.
%PARTIAL_RENEGOTIATION: Prevents renegotiation with clients and servers not
supporting the safe renegotiation extension. (this is the default)
%UNSAFE_RENEGOTIATION: Permits (re-)handshakes even unsafe ones.
Simon Josefsson [Mon, 31 May 2010 16:32:44 +0000 (18:32 +0200)]
Minor fix.
Simon Josefsson [Mon, 31 May 2010 15:48:09 +0000 (17:48 +0200)]
Update gnulib files.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 00:04:19 +0000 (02:04 +0200)]
Documented the defaults.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 07:41:52 +0000 (09:41 +0200)]
Added INITIAL_SAFE_RENEGOTIATION and other small updates.
Simon Josefsson [Fri, 28 May 2010 07:21:12 +0000 (09:21 +0200)]
Update.
Simon Josefsson [Fri, 28 May 2010 07:09:41 +0000 (09:09 +0200)]
Add.
Simon Josefsson [Fri, 28 May 2010 06:47:14 +0000 (08:47 +0200)]
Update gnulib files, use valgrind-tests module, fix syntax-check problems.
Simon Josefsson [Fri, 28 May 2010 06:45:42 +0000 (08:45 +0200)]
Doc fix.
Nikos Mavrogiannopoulos [Tue, 25 May 2010 12:22:35 +0000 (14:22 +0200)]
Use correct hashing algorithms for DSA with q over 160 bits.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 21:45:56 +0000 (23:45 +0200)]
Better checks in loops.