]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 22:53:25 +0000 (23:53 +0100)]
testdane: improved error detection in sites
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 22:34:03 +0000 (23:34 +0100)]
tests: suite: eliminate many leaks in the tests and run them under valgrind
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 22:27:47 +0000 (23:27 +0100)]
certtool: eliminate leaks in _verify_x509_mem()
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 22:04:48 +0000 (23:04 +0100)]
tests: openpgp-certs: use valgrind
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 22:04:03 +0000 (23:04 +0100)]
openpgp: eliminate leaks in gnutls_openpgp_keyring_import()
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 21:48:47 +0000 (22:48 +0100)]
tests: eliminate leaks in mini-eagain2.c
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 21:48:25 +0000 (22:48 +0100)]
certtool: eliminate memory leaks in certificate generation
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 21:45:44 +0000 (22:45 +0100)]
tests: key-tests: use valgrind
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 21:45:13 +0000 (22:45 +0100)]
gnutls_x509_crt_set_pubkey: clarify usage
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 20:54:54 +0000 (21:54 +0100)]
pkcs12: correctly set salt size in gnutls_pkcs12_mac_info
Also eliminate leaks in PKCS #12 parsing.
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 20:54:09 +0000 (21:54 +0100)]
tests: run the PKCS #12 tests under valgrind
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 17:43:03 +0000 (18:43 +0100)]
certtool: make sure that pkcs12 structures are deinitialized
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 15:01:55 +0000 (16:01 +0100)]
tests: provable-privkey: fixed DSA test on FIPS140 enabled systems
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 14:51:17 +0000 (15:51 +0100)]
nettle: be more specific in seed size mismatches
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 14:43:20 +0000 (15:43 +0100)]
crypto-backend: ensure there are no leaks on deinitialization
Nikos Mavrogiannopoulos [Mon, 9 Nov 2015 13:29:48 +0000 (14:29 +0100)]
Require TLS 1.2 for all the ciphersuites which are defined for it only
This solves an interoperability issue with openssl. Reported by Viktor Dukhovni.
Nikos Mavrogiannopoulos [Sun, 8 Nov 2015 08:30:39 +0000 (09:30 +0100)]
p11tool: introduced --only-urls option
This option allows printing a compact listing containing only of URLs.
Nikos Mavrogiannopoulos [Sat, 7 Nov 2015 20:51:56 +0000 (21:51 +0100)]
Modified the CHACHA20 cipher to conform to draft-ietf-tls-chacha20-poly1305-02
Nikos Mavrogiannopoulos [Fri, 6 Nov 2015 14:02:51 +0000 (15:02 +0100)]
.gitlab-ci.yml: use static libasan
This prevents issues with tests which use LD_PRELOAD.
Nikos Mavrogiannopoulos [Fri, 6 Nov 2015 09:40:39 +0000 (10:40 +0100)]
.gitlab-ci.yml: disable non-suiteb curves on build on Fedora system
Nikos Mavrogiannopoulos [Thu, 5 Nov 2015 10:11:29 +0000 (11:11 +0100)]
tools: better ftp auth tls negotiation
Nikos Mavrogiannopoulos [Wed, 4 Nov 2015 08:49:47 +0000 (09:49 +0100)]
tests: added check for gnutls_priority_set_default
Nikos Mavrogiannopoulos [Tue, 3 Nov 2015 09:46:17 +0000 (10:46 +0100)]
tools: only check for status code in FTP starttls negotiation
Nikos Mavrogiannopoulos [Tue, 3 Nov 2015 09:45:44 +0000 (10:45 +0100)]
tools: print more info in starttls negotiation when --verbose is given
Nikos Mavrogiannopoulos [Tue, 3 Nov 2015 08:40:39 +0000 (09:40 +0100)]
gnutls.pc: don't use the libtool version of the link options
Reported by Dan Kegel.
Resolves #49
Nikos Mavrogiannopoulos [Sun, 1 Nov 2015 00:53:43 +0000 (01:53 +0100)]
tests: simplified mini-dtls-hello-verify-48
Nikos Mavrogiannopoulos [Fri, 30 Oct 2015 12:38:36 +0000 (13:38 +0100)]
tests: added check for blocking on invalid DTLS cookie
Relates to #48
Nikos Mavrogiannopoulos [Thu, 29 Oct 2015 08:28:59 +0000 (09:28 +0100)]
removed inacurate text
Nikos Mavrogiannopoulos [Fri, 23 Oct 2015 13:46:33 +0000 (15:46 +0200)]
doc update
Nikos Mavrogiannopoulos [Fri, 23 Oct 2015 13:44:27 +0000 (15:44 +0200)]
doc update
Nikos Mavrogiannopoulos [Fri, 23 Oct 2015 12:17:23 +0000 (14:17 +0200)]
doc update
Nikos Mavrogiannopoulos [Thu, 22 Oct 2015 11:04:32 +0000 (13:04 +0200)]
doc: document the sign function requirements in gnutls_privkey_import_ext
Nikos Mavrogiannopoulos [Wed, 21 Oct 2015 17:57:39 +0000 (19:57 +0200)]
Mention key protection through isolation in crypto backend section
Nikos Mavrogiannopoulos [Wed, 21 Oct 2015 17:48:22 +0000 (19:48 +0200)]
doc: updated supplemental data documentation
Nikos Mavrogiannopoulos [Wed, 21 Oct 2015 07:13:56 +0000 (09:13 +0200)]
tests: testdane will not check hosts which are unreachable
Andreas Metzler [Tue, 20 Oct 2015 17:02:25 +0000 (19:02 +0200)]
Documentation update
The new simple verification functions were backported to 3.4.6, correct
"Since:" to reflect this.
Nikos Mavrogiannopoulos [Tue, 20 Oct 2015 07:40:56 +0000 (09:40 +0200)]
doc: documented future level
Nikos Mavrogiannopoulos [Tue, 20 Oct 2015 07:24:36 +0000 (09:24 +0200)]
pkcs11.h: relocated gnutls_pkcs11_copy_pubkey to allow discovery by buggy doc scripts
Nikos Mavrogiannopoulos [Tue, 20 Oct 2015 07:16:20 +0000 (09:16 +0200)]
bumped version to distinguish from 3.4 branch
Nikos Mavrogiannopoulos [Tue, 20 Oct 2015 07:03:25 +0000 (09:03 +0200)]
ext master secret: extension is marked as mandatory
This forces the extension to be sent even where resuming sessions.
Resolves #45
Nikos Mavrogiannopoulos [Tue, 20 Oct 2015 06:44:04 +0000 (08:44 +0200)]
tests: Check whether a resumed session contains the ext master secret extension
Relates #45
Nikos Mavrogiannopoulos [Sat, 17 Oct 2015 07:22:28 +0000 (09:22 +0200)]
alpn: avoid warning on signed/unsigned
Nikos Mavrogiannopoulos [Sat, 17 Oct 2015 07:20:52 +0000 (09:20 +0200)]
README: updated CI link
Nikos Mavrogiannopoulos [Sat, 17 Oct 2015 07:12:09 +0000 (09:12 +0200)]
doc: set a path which includes new binaries when running autogen
That makes sure that autogen will discover the binaries to obtain the
--help output.
Nikos Mavrogiannopoulos [Sat, 17 Oct 2015 06:57:02 +0000 (08:57 +0200)]
gnutls-cli-debug: updated doc
Nikos Mavrogiannopoulos [Fri, 16 Oct 2015 20:58:54 +0000 (22:58 +0200)]
tools: when the starttls-proto is specified automatically detect the port if not given
Nikos Mavrogiannopoulos [Fri, 16 Oct 2015 13:05:09 +0000 (15:05 +0200)]
tests: verify that public keys are properly written
Also disable parts of the suite that softhsm2 cannot properly work with,
to allow running parts of the suite even with broken softhsm.
Nikos Mavrogiannopoulos [Fri, 16 Oct 2015 13:39:05 +0000 (15:39 +0200)]
cleanup in gnutls_pubkey_import_rsa_raw
Nikos Mavrogiannopoulos [Fri, 16 Oct 2015 13:33:21 +0000 (15:33 +0200)]
pkcs11_read_pubkey: make input type more clear
Nikos Mavrogiannopoulos [Fri, 16 Oct 2015 12:13:47 +0000 (14:13 +0200)]
p11tool: Allow writing a PKCS #11 pubkey object
Nikos Mavrogiannopoulos [Fri, 16 Oct 2015 11:16:36 +0000 (13:16 +0200)]
tools: allow importing a pubkey from a certificate
Nikos Mavrogiannopoulos [Fri, 16 Oct 2015 11:03:57 +0000 (13:03 +0200)]
pkcs11: introduced gnutls_pkcs11_copy_pubkey
That allows copying a public key to a PKCS #11 module.
Nikos Mavrogiannopoulos [Thu, 15 Oct 2015 19:23:44 +0000 (21:23 +0200)]
.gitlab-ci.yml: combined the slow build with the separate build dir
Nikos Mavrogiannopoulos [Thu, 15 Oct 2015 19:16:52 +0000 (21:16 +0200)]
Disable the NULL cipher on runtime when FIPS140 mode is enabled instead of statically
That way the NULL cipher can be used when not in FIPS140 mode.
Nikos Mavrogiannopoulos [Thu, 15 Oct 2015 19:09:06 +0000 (21:09 +0200)]
re-enable NULL ciphersuites
They were accidentally disabled by
b237b37d4d17ee4f98629aae9d72aec87f434cb8
Nikos Mavrogiannopoulos [Thu, 15 Oct 2015 16:35:44 +0000 (18:35 +0200)]
tests: check whether the RSA-EXPORT and ARCFOUR-40 legacy strings are accepted
Nikos Mavrogiannopoulos [Thu, 15 Oct 2015 16:20:38 +0000 (18:20 +0200)]
Tolerate priority strings with names of legacy ciphers and key exchanges
That enables better backwards compatibility with old applications
which disable or enable algorithms which no longer are supported.
Relates #44
Nikos Mavrogiannopoulos [Thu, 15 Oct 2015 14:21:43 +0000 (16:21 +0200)]
pkcs11: write CKA_ISSUER and CKA_SERIAL_NUMBER when writing on a certificate
That allows NSS to read and use the written certificate.
Relates #43
Nikos Mavrogiannopoulos [Tue, 13 Oct 2015 02:01:04 +0000 (04:01 +0200)]
tests: enhanced sec-params check to account for future sec-param
Nikos Mavrogiannopoulos [Mon, 12 Oct 2015 20:11:16 +0000 (22:11 +0200)]
certtool: recognize the future sec-param
Nikos Mavrogiannopoulos [Mon, 12 Oct 2015 20:10:25 +0000 (22:10 +0200)]
Introduced the security parameter future (256) and switched ultra to 192 bits
For ultra, this was its documented strength, and now follows RFC3766 recommendations
for sizes.
Nikos Mavrogiannopoulos [Mon, 12 Oct 2015 19:54:09 +0000 (21:54 +0200)]
certtool: be more specific on the help message for --sec-param when --bits are given
Nikos Mavrogiannopoulos [Mon, 12 Oct 2015 12:54:04 +0000 (14:54 +0200)]
doc update
Nikos Mavrogiannopoulos [Mon, 12 Oct 2015 12:15:28 +0000 (14:15 +0200)]
tests: added test case for record timeout values
Nikos Mavrogiannopoulos [Mon, 12 Oct 2015 11:52:03 +0000 (13:52 +0200)]
Introduced GNUTLS_INDEFINITE_TIMEOUT
This allows to specify an indefinite timeout to gnutls_record_set_timeout().
In addition this flag is accepted by gnutls_handshake_set_timeout() and
cancels out a previously set timeout.
Resolves #41
Nikos Mavrogiannopoulos [Wed, 7 Oct 2015 08:38:25 +0000 (10:38 +0200)]
tests: better detection of softhsm library
Nikos Mavrogiannopoulos [Mon, 5 Oct 2015 12:31:53 +0000 (14:31 +0200)]
added text on _gnutls_dh_compute_key
Nikos Mavrogiannopoulos [Mon, 5 Oct 2015 15:11:37 +0000 (17:11 +0200)]
gnutls_record_recv: simplified text on GNUTLS_E_REHANDSHAKE
Nikos Mavrogiannopoulos [Tue, 22 Sep 2015 12:31:00 +0000 (14:31 +0200)]
certtool: print 16-bytes of hex values per line
Also avoid a colon on the end of the line.
Nikos Mavrogiannopoulos [Tue, 22 Sep 2015 06:31:04 +0000 (08:31 +0200)]
fips140: set the key via a configure argument
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 10:37:51 +0000 (12:37 +0200)]
tests: disable cipher-test on windows platform; they don't seem to work
Nikos Mavrogiannopoulos [Mon, 21 Sep 2015 12:47:41 +0000 (14:47 +0200)]
README.md: added build instructions for Fedora/RHEL
Nikos Mavrogiannopoulos [Mon, 21 Sep 2015 12:25:12 +0000 (14:25 +0200)]
priorities: sort algorithms by security strength unless performance is requested
That is prioritize 256-bit ciphers over 128-bit ciphers. This would protect
secrecy of current data even after a PQ future.
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 10:12:18 +0000 (12:12 +0200)]
.gitlab-ci.yml: reduce the number of CPUs used in slow on make check
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 09:36:48 +0000 (11:36 +0200)]
use time_t for internal type to avoid warnings on signed/unsigned comparison
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 09:30:39 +0000 (11:30 +0200)]
DSA FIPS186-4 key generation: print the required seed length on mismatch
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 09:22:04 +0000 (11:22 +0200)]
certtool: added more friendly error on seed_size mismatch
That prints more useful information when generating provable private keys.
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 09:14:29 +0000 (11:14 +0200)]
tests: use the corrected seed for default provable private key
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 04:52:13 +0000 (06:52 +0200)]
doc update
Nikos Mavrogiannopoulos [Sat, 19 Sep 2015 04:50:45 +0000 (06:50 +0200)]
certtool: switched the default level to HIGH for key generation
That requires 3072 bits for RSA and DSA keys.
Nikos Mavrogiannopoulos [Fri, 18 Sep 2015 21:49:46 +0000 (23:49 +0200)]
tools: added xmpp into the starttls-proto options
Nikos Mavrogiannopoulos [Fri, 18 Sep 2015 13:57:14 +0000 (15:57 +0200)]
tools: added ldap into the starttls-proto options
Nikos Mavrogiannopoulos [Thu, 17 Sep 2015 12:52:27 +0000 (14:52 +0200)]
system.c: simplify gnutls_system_recv_timeout
Nikos Mavrogiannopoulos [Thu, 17 Sep 2015 11:15:54 +0000 (13:15 +0200)]
gnutls-cli-debug: use RFC7627 instead of draft-ietf-tls-session-hash
Nikos Mavrogiannopoulos [Thu, 17 Sep 2015 08:45:30 +0000 (10:45 +0200)]
updated documentation on gnutls_vdata_types_t based on DKG's suggestions
Nikos Mavrogiannopoulos [Thu, 17 Sep 2015 08:10:47 +0000 (10:10 +0200)]
doc update
Daniel Kahn Gillmor [Wed, 16 Sep 2015 23:59:12 +0000 (19:59 -0400)]
improve docs for gnutls_certificate_verify_peers*()
The gnutls_certificate_verify_peers{,2,3}() functions all return
GNUTLS_E_SUCCESS (0) even in situations when the peer's certificate
was not verified. This is explained in the first paragraphs
("i.e. failure to trust a certificate does not imply a negative return
value"), but the Returns: line isn't comparably clear.
Nikos Mavrogiannopoulos [Mon, 14 Sep 2015 19:36:24 +0000 (21:36 +0200)]
certtool: increased seed size to allow for DSA seeds
Nikos Mavrogiannopoulos [Mon, 14 Sep 2015 19:32:05 +0000 (21:32 +0200)]
_gnutls_hex2bin: avoid overrun in the provided buffer
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 17:29:41 +0000 (19:29 +0200)]
certtool: don't output PKCS #8 on key-info option
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 11:57:26 +0000 (13:57 +0200)]
better error checking in seed decoding
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 11:52:30 +0000 (13:52 +0200)]
gnutls_x509_privkey_verify_seed: fail on keys without seed information
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 11:39:13 +0000 (13:39 +0200)]
certtool: on provable keys always print the legacy format
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 11:27:12 +0000 (13:27 +0200)]
Use separate PEM headers for provable private keys
Also introduce GNUTLS_PRIVKEY_FLAG_EXPORT_COMPAT to allow exporting
provable private keys in the old compatibility format.
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 09:06:39 +0000 (11:06 +0200)]
doc update
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 09:06:00 +0000 (11:06 +0200)]
certtool: provable key generation was moved to a separate flag that can be combined with --generate-privkey
Also enhanced the test suite with DSA provable key generation/verification.
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 08:57:39 +0000 (10:57 +0200)]
Allow verifying and generating provable DSA keys
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 07:51:25 +0000 (09:51 +0200)]
tests: added checks for provable key generation and verification
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 07:36:46 +0000 (09:36 +0200)]
certtool: added provable key verification
Nikos Mavrogiannopoulos [Sun, 13 Sep 2015 07:32:32 +0000 (09:32 +0200)]
Made the new key generation API flexible to allow extensions in the future