]>
git.ipfire.org Git - thirdparty/gnutls.git/log
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.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 15:42:13 +0000 (17:42 +0200)]
Fixes in new extensions code that relate to SSL 3.0.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 15:10:30 +0000 (17:10 +0200)]
version is 2.11.0
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 15:03:17 +0000 (17:03 +0200)]
Some updates in the PKCS11 text.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:49:51 +0000 (16:49 +0200)]
Some updates on renegotiation text
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.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:36:08 +0000 (16:36 +0200)]
Corrected example with %COMPAT.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:32:12 +0000 (16:32 +0200)]
Added gnutls_sec_param_to_pk_bits() discussion.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:24:21 +0000 (16:24 +0200)]
corrected text on AES
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 14:20:56 +0000 (16:20 +0200)]
Only save PIN if login was successful.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 13:37:47 +0000 (15:37 +0200)]
Applied patch by Andreas Metzler
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 09:20:40 +0000 (11:20 +0200)]
Allow setting debug level via cmd.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 09:19:51 +0000 (11:19 +0200)]
Explicitely terminate cryptodev sessions.
Nikos Mavrogiannopoulos [Sat, 19 Jun 2010 08:18:07 +0000 (10:18 +0200)]
Removed the no longer needed "active" variable.
Nikos Mavrogiannopoulos [Fri, 18 Jun 2010 21:39:02 +0000 (23:39 +0200)]
documented some of the changes
Nikos Mavrogiannopoulos [Fri, 18 Jun 2010 21:33:37 +0000 (23:33 +0200)]
Greatly simplified the internal hash/hmac and cipher functions.
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.
Nikos Mavrogiannopoulos [Thu, 17 Jun 2010 23:09:12 +0000 (01:09 +0200)]
Send correct token name to callback.
Nikos Mavrogiannopoulos [Thu, 17 Jun 2010 23:04:16 +0000 (01:04 +0200)]
Added more gnutls errors to map closer to PKCS11 actual errors.
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.
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.
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.
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.
Nikos Mavrogiannopoulos [Mon, 14 Jun 2010 17:13:14 +0000 (19:13 +0200)]
Do not warn multiple times for the deprecation of --bits.
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.
Nikos Mavrogiannopoulos [Sun, 13 Jun 2010 21:07:18 +0000 (23:07 +0200)]
Removed unused functions.
Nikos Mavrogiannopoulos [Sun, 13 Jun 2010 21:06:00 +0000 (23:06 +0200)]
Combined the max ticket length with the maximum extension data length.
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.
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.
Nikos Mavrogiannopoulos [Fri, 11 Jun 2010 12:46:16 +0000 (14:46 +0200)]
Properly handle fork() case.
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.
Nikos Mavrogiannopoulos [Wed, 9 Jun 2010 18:28:51 +0000 (20:28 +0200)]
corrected tests.
Nikos Mavrogiannopoulos [Wed, 9 Jun 2010 16:48:30 +0000 (18:48 +0200)]
Added new calls to pakchois to open an absolute filename.
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).
Nikos Mavrogiannopoulos [Fri, 4 Jun 2010 21:13:57 +0000 (23:13 +0200)]
More fixes for the rebase.
Nikos Mavrogiannopoulos [Fri, 4 Jun 2010 21:12:51 +0000 (23:12 +0200)]
Added Jonathan.
Nikos Mavrogiannopoulos [Fri, 4 Jun 2010 06:14:21 +0000 (08:14 +0200)]
Provider unref must be done after all sessions have been closed.
Nikos Mavrogiannopoulos [Thu, 3 Jun 2010 18:06:20 +0000 (20:06 +0200)]
Several fixes for the broken rebase.
Nikos Mavrogiannopoulos [Thu, 3 Jun 2010 17:57:49 +0000 (19:57 +0200)]
Merged with master.
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.
Nikos Mavrogiannopoulos [Wed, 2 Jun 2010 22:48:20 +0000 (00:48 +0200)]
Corrected prefered hash algorithm return value on RSA.
Nikos Mavrogiannopoulos [Wed, 2 Jun 2010 22:47:40 +0000 (00:47 +0200)]
Use GCRYCTL_ENABLE_QUICK_RANDOM when using libgcrypt.
Nikos Mavrogiannopoulos [Mon, 31 May 2010 15:18:55 +0000 (17:18 +0200)]
Ignore more files.
Nikos Mavrogiannopoulos [Mon, 31 May 2010 15:18:51 +0000 (17:18 +0200)]
Remove the correct file
Nikos Mavrogiannopoulos [Mon, 31 May 2010 15:17:45 +0000 (17:17 +0200)]
Added missing files.
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.
Nikos Mavrogiannopoulos [Mon, 31 May 2010 14:52:13 +0000 (16:52 +0200)]
Added gnutls_x509_crq_get_preferred_hash_algorithm().
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.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 22:17:14 +0000 (00:17 +0200)]
Several fixes after big rebase.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:54:53 +0000 (12:54 +0200)]
Test the DSA with SHA256 as well.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:53:54 +0000 (12:53 +0200)]
Print debugging information on error.
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.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:44:24 +0000 (12:44 +0200)]
use --sec-param to generate privkey.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:44:00 +0000 (12:44 +0200)]
reduced log level to a sane one
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:43:40 +0000 (12:43 +0200)]
Corrected for new output of --print-certificate-info
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:35:07 +0000 (12:35 +0200)]
Print information on failure.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:31:57 +0000 (12:31 +0200)]
Print exp1 and exp2 if they are available.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 10:12:26 +0000 (12:12 +0200)]
Only print output if something fails
Nikos Mavrogiannopoulos [Sun, 30 May 2010 09:27:44 +0000 (11:27 +0200)]
Some pakchois fixes.
Nikos Mavrogiannopoulos [Sun, 30 May 2010 09:27:15 +0000 (11:27 +0200)]
Fixup to compile with nettle
Nikos Mavrogiannopoulos [Sat, 29 May 2010 15:37:42 +0000 (17:37 +0200)]
Do not bother with MODPATH. We don't use it.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 15:29:22 +0000 (17:29 +0200)]
Added again _gnutls_dump_mpi() to assist in debugging.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 12:16:15 +0000 (14:16 +0200)]
Added debugging
Nikos Mavrogiannopoulos [Sat, 29 May 2010 12:15:59 +0000 (14:15 +0200)]
Allow DSA with other than SHA1 algorithms in TLS.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 12:15:12 +0000 (14:15 +0200)]
removed more stuff.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:25:45 +0000 (13:25 +0200)]
LocalKeyId and XmppAddr were incorporated.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:17:12 +0000 (13:17 +0200)]
No need for those OIDs any more.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:16:54 +0000 (13:16 +0200)]
Corrected to support new EV_ values.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:13:31 +0000 (13:13 +0200)]
avoid calling gcrypt directly.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 11:13:12 +0000 (13:13 +0200)]
exported gnutls_rnd().
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.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:43:24 +0000 (12:43 +0200)]
Added support for EV certificate attributes.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:22:56 +0000 (12:22 +0200)]
Fixed nettle detection and AES.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:22:52 +0000 (12:22 +0200)]
documentation updates
Nikos Mavrogiannopoulos [Sat, 29 May 2010 10:22:26 +0000 (12:22 +0200)]
Generate dh-params also used --sec-param.
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.
Nikos Mavrogiannopoulos [Sat, 29 May 2010 00:14:07 +0000 (02:14 +0200)]
Corrected certificate callback.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 21:06:28 +0000 (23:06 +0200)]
More AES stuff (still doesn't work).
Nikos Mavrogiannopoulos [Fri, 28 May 2010 21:06:25 +0000 (23:06 +0200)]
Correction in RSA encryption.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 19:25:18 +0000 (21:25 +0200)]
Fixed issue with AES.
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.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 18:37:58 +0000 (20:37 +0200)]
Added support for SHA224 and SHA256 in DSA.
Nikos Mavrogiannopoulos [Fri, 28 May 2010 15:31:10 +0000 (17:31 +0200)]
Always use included pakchois.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 22:00:48 +0000 (00:00 +0200)]
make sure all lines fit in page.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 21:58:35 +0000 (23:58 +0200)]
make example more compact by removing error checking.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 21:55:40 +0000 (23:55 +0200)]
Added bibliographic reference to PKCS #11.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 14:59:12 +0000 (16:59 +0200)]
Added sketch for PKCS #11 usage.
Nikos Mavrogiannopoulos [Wed, 26 May 2010 07:14:50 +0000 (09:14 +0200)]
Added 2048 bit DSA key
Nikos Mavrogiannopoulos [Wed, 26 May 2010 07:04:16 +0000 (09:04 +0200)]
Increased log level of several messages.
Nikos Mavrogiannopoulos [Tue, 25 May 2010 21:56:05 +0000 (23:56 +0200)]
Corrected coefficient and exp[12] values in key.
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).
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.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 17:24:46 +0000 (19:24 +0200)]
Removed debugging print.
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.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 14:58:27 +0000 (16:58 +0200)]
Added missing file.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 07:10:49 +0000 (09:10 +0200)]
Removed finished items.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 07:08:05 +0000 (09:08 +0200)]
Noted that there things to be done.
Nikos Mavrogiannopoulos [Mon, 24 May 2010 07:07:50 +0000 (09:07 +0200)]
Added documentation on abstract types.
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.
Nikos Mavrogiannopoulos [Sun, 23 May 2010 18:54:25 +0000 (20:54 +0200)]
More fixes.