]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
16 years agoCorrections in the new session packing code. Saving absolute positions in buffers...
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 16:11:18 +0000 (18:11 +0200)] 
Corrections in the new session packing code. Saving absolute positions in buffers is no
longer done. Now we store only and offset to allow reallocating the buffer and still
do the correct reference.

16 years agoFixes in new extensions code that relate to SSL 3.0.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 15:42:13 +0000 (17:42 +0200)] 
Fixes in new extensions code that relate to SSL 3.0.

16 years agoversion is 2.11.0
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 15:10:30 +0000 (17:10 +0200)] 
version is 2.11.0

16 years agoSome updates in the PKCS11 text.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 15:03:17 +0000 (17:03 +0200)] 
Some updates in the PKCS11 text.

16 years agoSome updates on renegotiation text
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:49:51 +0000 (16:49 +0200)] 
Some updates on renegotiation text

16 years agoRemoved links for discussion of the COMPAT topic. I don't think they should be in...
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:37:22 +0000 (16:37 +0200)] 
Removed links for discussion of the COMPAT topic. I don't think they should be in the documentation.

16 years agoCorrected example with %COMPAT.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:36:08 +0000 (16:36 +0200)] 
Corrected example with %COMPAT.

16 years agoAdded gnutls_sec_param_to_pk_bits() discussion.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:32:12 +0000 (16:32 +0200)] 
Added gnutls_sec_param_to_pk_bits() discussion.

16 years agocorrected text on AES
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:24:21 +0000 (16:24 +0200)] 
corrected text on AES

16 years agoOnly save PIN if login was successful.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:20:56 +0000 (16:20 +0200)] 
Only save PIN if login was successful.

16 years agoApplied patch by Andreas Metzler
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 13:37:47 +0000 (15:37 +0200)] 
Applied patch by Andreas Metzler

16 years agoAllow setting debug level via cmd.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 09:20:40 +0000 (11:20 +0200)] 
Allow setting debug level via cmd.

16 years agoExplicitely terminate cryptodev sessions.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 09:19:51 +0000 (11:19 +0200)] 
Explicitely terminate cryptodev sessions.

16 years agoRemoved the no longer needed "active" variable.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 08:18:07 +0000 (10:18 +0200)] 
Removed the no longer needed "active" variable.

16 years agodocumented some of the changes
Nikos Mavrogiannopoulos [Fri, 18 Jun 2010 21:39:02 +0000 (23:39 +0200)] 
documented some of the changes

16 years agoGreatly simplified the internal hash/hmac and cipher functions.
Nikos Mavrogiannopoulos [Fri, 18 Jun 2010 21:33:37 +0000 (23:33 +0200)] 
Greatly simplified the internal hash/hmac and cipher functions.

16 years agoAllow listing of private keys only. Certtool has now the --pkcs11-list-privkeya option.
Nikos Mavrogiannopoulos [Thu, 17 Jun 2010 23:15:50 +0000 (01:15 +0200)] 
Allow listing of private keys only. Certtool has now the --pkcs11-list-privkeya option.

16 years agoSend correct token name to callback.
Nikos Mavrogiannopoulos [Thu, 17 Jun 2010 23:09:12 +0000 (01:09 +0200)] 
Send correct token name to callback.

16 years agoAdded more gnutls errors to map closer to PKCS11 actual errors.
Nikos Mavrogiannopoulos [Thu, 17 Jun 2010 23:04:16 +0000 (01:04 +0200)] 
Added more gnutls errors to map closer to PKCS11 actual errors.

16 years agoAdded option to the PKCS11 PIN callback to save PIN if the token is being used
Nikos Mavrogiannopoulos [Thu, 17 Jun 2010 12:26:33 +0000 (14:26 +0200)] 
Added option to the PKCS11 PIN callback to save PIN if the token is being used
with a single pkcs11_privkey structure.

16 years agoFor Private key operations new sessions are opened when are needed. This makes the...
Nikos Mavrogiannopoulos [Thu, 17 Jun 2010 11:49:56 +0000 (13:49 +0200)] 
For Private key operations new sessions are opened when are needed. This makes the usage of the PKCS11 API thread safe. The only drawback is the requirement to enter PIN on every operation.

16 years agognutls-cli: Make --starttls work again.
Simon Josefsson [Tue, 15 Jun 2010 09:09:16 +0000 (11:09 +0200)] 
gnutls-cli: Make --starttls work again.

Problem introduced in patch to use read() instead of fgets() committed
on 2010-01-27.

16 years agoAllow SHA224 hash in certtool. Added tests for SHA-256 and SHA-224 for DSA.
Nikos Mavrogiannopoulos [Mon, 14 Jun 2010 17:40:33 +0000 (19:40 +0200)] 
Allow SHA224 hash in certtool. Added tests for SHA-256 and SHA-224 for DSA.

16 years agoDo not warn multiple times for the deprecation of --bits.
Nikos Mavrogiannopoulos [Mon, 14 Jun 2010 17:13:14 +0000 (19:13 +0200)] 
Do not warn multiple times for the deprecation of --bits.

16 years agoAppending data in mbuffers is now cheaper by avoiding realloc, at the cost
Nikos Mavrogiannopoulos [Mon, 14 Jun 2010 17:08:41 +0000 (19:08 +0200)] 
Appending data in mbuffers is now cheaper by avoiding realloc, at the cost
of requiring to specify a maximum mbuffer size at creation.

16 years agoRemoved unused functions.
Nikos Mavrogiannopoulos [Sun, 13 Jun 2010 21:07:18 +0000 (23:07 +0200)] 
Removed unused functions.

16 years agoCombined the max ticket length with the maximum extension data length.
Nikos Mavrogiannopoulos [Sun, 13 Jun 2010 21:06:00 +0000 (23:06 +0200)] 
Combined the max ticket length with the maximum extension data length.

16 years agoSimplified and made more safe the packing of data for session storage. Extensions use
Nikos Mavrogiannopoulos [Fri, 11 Jun 2010 18:17:33 +0000 (20:17 +0200)] 
Simplified and made more safe the packing of data for session storage. Extensions use
the internal API to store/retrieve during resumption.

Removed OPRFI since it was never standardized and was never actually included in gnutls
since it was in inactive ifdef. This was instead of rewriting it to use the new API.

16 years agoThe gnutls_string code was simplified and integrated with the buffer to avoid
Nikos Mavrogiannopoulos [Fri, 11 Jun 2010 13:01:00 +0000 (15:01 +0200)] 
The gnutls_string code was simplified and integrated with the buffer to avoid
having two named for the same thing.

16 years agoProperly handle fork() case.
Nikos Mavrogiannopoulos [Fri, 11 Jun 2010 12:46:16 +0000 (14:46 +0200)] 
Properly handle fork() case.

16 years agoRegister the md5 handler if gcrypt is in fips mode once gnutls_global_init_extra...
Nikos Mavrogiannopoulos [Wed, 9 Jun 2010 18:35:20 +0000 (20:35 +0200)] 
Register the md5 handler if gcrypt is in fips mode once gnutls_global_init_extra() is called.

16 years agocorrected tests.
Nikos Mavrogiannopoulos [Wed, 9 Jun 2010 18:28:51 +0000 (20:28 +0200)] 
corrected tests.

16 years agoAdded new calls to pakchois to open an absolute filename.
Nikos Mavrogiannopoulos [Wed, 9 Jun 2010 16:48:30 +0000 (18:48 +0200)] 
Added new calls to pakchois to open an absolute filename.

16 years agoRemoved several comments that pointed to Alon's implementation comments. We use inlin...
Nikos Mavrogiannopoulos [Mon, 7 Jun 2010 17:51:42 +0000 (19:51 +0200)] 
Removed several comments that pointed to Alon's implementation comments. We use inline C comments to generate documentation (not doxygen).

16 years agoMore fixes for the rebase.
Nikos Mavrogiannopoulos [Fri, 4 Jun 2010 21:13:57 +0000 (23:13 +0200)] 
More fixes for the rebase.

16 years agoAdded Jonathan.
Nikos Mavrogiannopoulos [Fri, 4 Jun 2010 21:12:51 +0000 (23:12 +0200)] 
Added Jonathan.

16 years agoProvider unref must be done after all sessions have been closed.
Nikos Mavrogiannopoulos [Fri, 4 Jun 2010 06:14:21 +0000 (08:14 +0200)] 
Provider unref must be done after all sessions have been closed.

16 years agoSeveral fixes for the broken rebase.
Nikos Mavrogiannopoulos [Thu, 3 Jun 2010 18:06:20 +0000 (20:06 +0200)] 
Several fixes for the broken rebase.

16 years agoMerged with master.
Nikos Mavrogiannopoulos [Thu, 3 Jun 2010 17:57:49 +0000 (19:57 +0200)] 
Merged with master.

16 years agoSome other changes to mbuffers to make gnutls (a bit more) agnostic on their internal...
Nikos Mavrogiannopoulos [Wed, 2 Jun 2010 22:59:39 +0000 (00:59 +0200)] 
Some other changes to mbuffers to make gnutls (a bit more) agnostic on their internal structure.

16 years agoCorrected prefered hash algorithm return value on RSA.
Nikos Mavrogiannopoulos [Wed, 2 Jun 2010 22:48:20 +0000 (00:48 +0200)] 
Corrected prefered hash algorithm return value on RSA.

16 years agoUse GCRYCTL_ENABLE_QUICK_RANDOM when using libgcrypt.
Nikos Mavrogiannopoulos [Wed, 2 Jun 2010 22:47:40 +0000 (00:47 +0200)] 
Use GCRYCTL_ENABLE_QUICK_RANDOM when using libgcrypt.

16 years agoIgnore more files.
Nikos Mavrogiannopoulos [Mon, 31 May 2010 15:18:55 +0000 (17:18 +0200)] 
Ignore more files.

16 years agoRemove the correct file
Nikos Mavrogiannopoulos [Mon, 31 May 2010 15:18:51 +0000 (17:18 +0200)] 
Remove the correct file

16 years agoAdded missing files.
Nikos Mavrogiannopoulos [Mon, 31 May 2010 15:17:45 +0000 (17:17 +0200)] 
Added missing files.

16 years agoThe get_preferred_hash_algorithm() functions have now an extra argument to indicate
Nikos Mavrogiannopoulos [Mon, 31 May 2010 15:13:49 +0000 (17:13 +0200)] 
The get_preferred_hash_algorithm() functions have now an extra argument to indicate
whether it is mandatory to use this algorithm.

16 years agoAdded gnutls_x509_crq_get_preferred_hash_algorithm().
Nikos Mavrogiannopoulos [Mon, 31 May 2010 14:52:13 +0000 (16:52 +0200)] 
Added gnutls_x509_crq_get_preferred_hash_algorithm().

16 years agoAdded gnutls_pubkey_get_preferred_hash_algorithm() and gnutls_x509_crt_get_preferred_...
Nikos Mavrogiannopoulos [Sun, 30 May 2010 22:52:27 +0000 (00:52 +0200)] 
Added gnutls_pubkey_get_preferred_hash_algorithm() and gnutls_x509_crt_get_preferred_hash_algorithm()
to allow determining the hash algorithm to use during signing. This is needed in the case of DSA
that uses specific versions of SHA depending on the size of the parameters.

16 years agoSeveral fixes after big rebase.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 22:17:14 +0000 (00:17 +0200)] 
Several fixes after big rebase.

16 years agoTest the DSA with SHA256 as well.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:54:53 +0000 (12:54 +0200)] 
Test the DSA with SHA256 as well.

16 years agoPrint debugging information on error.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:53:54 +0000 (12:53 +0200)] 
Print debugging information on error.

16 years agoNettle library can now parse the PGP integers. Except for SHA-224/384/512
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:45:08 +0000 (12:45 +0200)] 
Nettle library can now parse the PGP integers. Except for SHA-224/384/512
nettle seems to be fully working now.

16 years agouse --sec-param to generate privkey.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:44:24 +0000 (12:44 +0200)] 
use --sec-param to generate privkey.

16 years agoreduced log level to a sane one
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:44:00 +0000 (12:44 +0200)] 
reduced log level to a sane one

16 years agoCorrected for new output of --print-certificate-info
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:43:40 +0000 (12:43 +0200)] 
Corrected for new output of --print-certificate-info

16 years agoPrint information on failure.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:35:07 +0000 (12:35 +0200)] 
Print information on failure.

16 years agoPrint exp1 and exp2 if they are available.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:31:57 +0000 (12:31 +0200)] 
Print exp1 and exp2 if they are available.

16 years agoOnly print output if something fails
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:12:26 +0000 (12:12 +0200)] 
Only print output if something fails

16 years agoSome pakchois fixes.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 09:27:44 +0000 (11:27 +0200)] 
Some pakchois fixes.

16 years agoFixup to compile with nettle
Nikos Mavrogiannopoulos [Sun, 30 May 2010 09:27:15 +0000 (11:27 +0200)] 
Fixup to compile with nettle

16 years agoDo not bother with MODPATH. We don't use it.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 15:37:42 +0000 (17:37 +0200)] 
Do not bother with MODPATH. We don't use it.

16 years agoAdded again _gnutls_dump_mpi() to assist in debugging.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 15:29:22 +0000 (17:29 +0200)] 
Added again _gnutls_dump_mpi() to assist in debugging.

16 years agoAdded debugging
Nikos Mavrogiannopoulos [Sat, 29 May 2010 12:16:15 +0000 (14:16 +0200)] 
Added debugging

16 years agoAllow DSA with other than SHA1 algorithms in TLS.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 12:15:59 +0000 (14:15 +0200)] 
Allow DSA with other than SHA1 algorithms in TLS.

16 years agoremoved more stuff.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 12:15:12 +0000 (14:15 +0200)] 
removed more stuff.

16 years agoLocalKeyId and XmppAddr were incorporated.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:25:45 +0000 (13:25 +0200)] 
LocalKeyId and XmppAddr were incorporated.

16 years agoNo need for those OIDs any more.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:17:12 +0000 (13:17 +0200)] 
No need for those OIDs any more.

16 years agoCorrected to support new EV_ values.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:16:54 +0000 (13:16 +0200)] 
Corrected to support new EV_ values.

16 years agoavoid calling gcrypt directly.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:13:31 +0000 (13:13 +0200)] 
avoid calling gcrypt directly.

16 years agoexported gnutls_rnd().
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:13:12 +0000 (13:13 +0200)] 
exported gnutls_rnd().

16 years agoThe recognition of DN elements is now self contained. It does not need entries in...
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:00:34 +0000 (13:00 +0200)] 
The recognition of DN elements is now self contained. It does not need entries in pkix.asn.

16 years agoAdded support for EV certificate attributes.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:43:24 +0000 (12:43 +0200)] 
Added support for EV certificate attributes.

16 years agoFixed nettle detection and AES.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:22:56 +0000 (12:22 +0200)] 
Fixed nettle detection and AES.

16 years agodocumentation updates
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:22:52 +0000 (12:22 +0200)] 
documentation updates

16 years agoGenerate dh-params also used --sec-param.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:22:26 +0000 (12:22 +0200)] 
Generate dh-params also used --sec-param.

16 years agoDocument that the generator is the generator of the subgroup and not the group.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 09:37:29 +0000 (11:37 +0200)] 
Document that the generator is the generator of the subgroup and not the group.

16 years agoCorrected certificate callback.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 00:14:07 +0000 (02:14 +0200)] 
Corrected certificate callback.

16 years agoMore AES stuff (still doesn't work).
Nikos Mavrogiannopoulos [Fri, 28 May 2010 21:06:28 +0000 (23:06 +0200)] 
More AES stuff (still doesn't work).

16 years agoCorrection in RSA encryption.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 21:06:25 +0000 (23:06 +0200)] 
Correction in RSA encryption.

16 years agoFixed issue with AES.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 19:25:18 +0000 (21:25 +0200)] 
Fixed issue with AES.

16 years agoAdded gnutls_sec_param_to_pk_bits() et al. to allow select bit
Nikos Mavrogiannopoulos [Fri, 28 May 2010 19:08:44 +0000 (21:08 +0200)] 
Added gnutls_sec_param_to_pk_bits() et al. to allow select bit
sizes for private keys using a human understandable scale.

16 years agoAdded support for SHA224 and SHA256 in DSA.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 18:37:58 +0000 (20:37 +0200)] 
Added support for SHA224 and SHA256 in DSA.

16 years agoAlways use included pakchois.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 15:31:10 +0000 (17:31 +0200)] 
Always use included pakchois.

16 years agomake sure all lines fit in page.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 22:00:48 +0000 (00:00 +0200)] 
make sure all lines fit in page.

16 years agomake example more compact by removing error checking.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 21:58:35 +0000 (23:58 +0200)] 
make example more compact by removing error checking.

16 years agoAdded bibliographic reference to PKCS #11.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 21:55:40 +0000 (23:55 +0200)] 
Added bibliographic reference to PKCS #11.

16 years agoAdded sketch for PKCS #11 usage.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 14:59:12 +0000 (16:59 +0200)] 
Added sketch for PKCS #11 usage.

16 years agoAdded 2048 bit DSA key
Nikos Mavrogiannopoulos [Wed, 26 May 2010 07:14:50 +0000 (09:14 +0200)] 
Added 2048 bit DSA key

16 years agoIncreased log level of several messages.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 07:04:16 +0000 (09:04 +0200)] 
Increased log level of several messages.

16 years agoCorrected coefficient and exp[12] values in key.
Nikos Mavrogiannopoulos [Tue, 25 May 2010 21:56:05 +0000 (23:56 +0200)] 
Corrected coefficient and exp[12] values in key.

16 years agoAdded blinding in RSA. Correct broken private keys on import. Nettle
Nikos Mavrogiannopoulos [Tue, 25 May 2010 21:53:25 +0000 (23:53 +0200)] 
Added blinding in RSA. Correct broken private keys on import. Nettle
uses more values than gcrypt does from RSA decryption and it seemed
that some values in our stored private keys were messy (generated by
very old gnutls).

16 years agoSimplified internal API. The only question that remains now is how to handle
Nikos Mavrogiannopoulos [Mon, 24 May 2010 17:37:57 +0000 (19:37 +0200)] 
Simplified internal API. The only question that remains now is how to handle
the gnutls_pkcs11_privkey_t. Currently it opens a session and maintains a handle
to the object. This will require locks to be added on operations. Alternatively
new sessions may be opened for each operation performed. This is guarranteed by
PKCS #11 to be thread safe but will of course require to ask for the PIN again.

16 years agoRemoved debugging print.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 17:24:46 +0000 (19:24 +0200)] 
Removed debugging print.

16 years agoAdded a modified pakchois library (to open arbitrary pkcs11 modules).
Nikos Mavrogiannopoulos [Mon, 24 May 2010 14:58:31 +0000 (16:58 +0200)] 
Added a modified pakchois library (to open arbitrary pkcs11 modules).
Current gnutls works only with this one.

16 years agoAdded missing file.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 14:58:27 +0000 (16:58 +0200)] 
Added missing file.

16 years agoRemoved finished items.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 07:10:49 +0000 (09:10 +0200)] 
Removed finished items.

16 years agoNoted that there things to be done.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 07:08:05 +0000 (09:08 +0200)] 
Noted that there things to be done.

16 years agoAdded documentation on abstract types.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 07:07:50 +0000 (09:07 +0200)] 
Added documentation on abstract types.

16 years agoCommon code for calculation of RSA exp1 and exp2. Also update the openpgp
Nikos Mavrogiannopoulos [Sun, 23 May 2010 19:19:48 +0000 (21:19 +0200)] 
Common code for calculation of RSA exp1 and exp2. Also update the openpgp
code to calculate those values.

16 years agoMore fixes.
Nikos Mavrogiannopoulos [Sun, 23 May 2010 18:54:25 +0000 (20:54 +0200)] 
More fixes.