summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bumped versionsgnutls_3_6_10Nikos Mavrogiannopoulos2019-09-293-4/+4
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Merge branch 'tmp-asm-update-32' into 'master'Nikos Mavrogiannopoulos2019-09-284-7/+28
|\ | | | | | | | | | | | | Regenerate asm files with -fPIC Closes #818 See merge request gnutls/gnutls!1081
| * .gitlab-ci.yml: run pic-check on i686-linux-gnu to catch wrong assemblyNikos Mavrogiannopoulos2019-09-281-0/+1
| | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * Regenerate asm files with -fPICAndreas Metzler2019-09-283-7/+27
| | | | | | | | | | | | | | | | | | CRYPTOGAMS' perl-scripts can produce different output if -fPIC is passed as option. Set -fPIC for the same files as openssl does. Closes #818 Signed-off-by: Andreas Metzler <ametzler@bebt.de>
* | Merge branch 'tmp-no-pkcs8-text' into 'master'Nikos Mavrogiannopoulos2019-09-284-3/+34
|\ \ | |/ |/| | | | | | | | | certtool: ensure that PKCS#8 file does not contain key description Closes #840 See merge request gnutls/gnutls!1076
| * certtool: ensure that PKCS#8 file does not contain key descriptionNikos Mavrogiannopoulos2019-09-284-3/+34
|/ | | | | | Resolves: #840 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Merge branch 'gost-split-1' into 'master'Dmitry Eremin-Solenikov2019-09-2810-1/+363
|\ | | | | | | | | GOST-CNT split, part 1 See merge request gnutls/gnutls!1072
| * NEWS: document previous changes [ci skip]Dmitry Eremin-Solenikov2019-09-281-1/+7
| | | | | | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * crypto-selftests: add CNT and IMIT self testsDmitry Eremin-Solenikov2019-09-281-0/+31
| | | | | | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * nettle: provide GOST 28147-89 IMIT MAC supportDmitry Eremin-Solenikov2019-09-286-0/+172
| | | | | | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * nettle: provide GOST 28147-89 CNT mode supportDmitry Eremin-Solenikov2019-09-286-0/+153
| | | | | | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* | Merge branch 'gost-attrs' into 'master'Dmitry Eremin-Solenikov2019-09-286-2/+214
|\ \ | | | | | | | | | | | | x509: add support for Russian extensions defined for qualified certificate See merge request gnutls/gnutls!1075
| * | x509: add support for Russian extensions defined for qualified certificateDmitry Eremin-Solenikov2019-09-286-2/+214
| | | | | | | | | | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* | | Merge branch 'kx-neg-verbose' into 'master'Nikos Mavrogiannopoulos2019-09-281-0/+13
|\ \ \ | | | | | | | | | | | | | | | | tests: add verbose logging to server-kx-neg tests See merge request gnutls/gnutls!1078
| * | | tests: add verbose logging to server-kx-neg testsDmitry Eremin-Solenikov2019-09-281-0/+13
| | |/ | |/| | | | | | | | | | | | | Add support for verbose logging to tls*-server-kx-neg tests. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* | | Merge branch 'tmp-ocsp-fixes' into 'master'Nikos Mavrogiannopoulos2019-09-287-3/+317
|\ \ \ | |/ / |/| | | | | | | | | | | | | | ocsp: test suite and doc improvements Closes #836 See merge request gnutls/gnutls!1066
| * | Updates in OCSP status response related documentationNikos Mavrogiannopoulos2019-09-211-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gnutls_certificate_set_ocsp_status_request_file2: corrected documentation This corrects the documented return code in gnutls_certificate_set_ocsp_status_request_file2 and the applicability of gnutls_ocsp_status_request_is_checked. Resolves: #836 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * | tests: added server side OCSP checkNikos Mavrogiannopoulos2019-09-202-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | This checks whether gnutls_ocsp_status_request_is_checked() is functional on server-side verification. Relates: #829 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * | tests: added server-side verification testNikos Mavrogiannopoulos2019-09-202-1/+161
| | | | | | | | | | | | | | | | | | | | | This tests gnutls_certificate_verify_peers2() operation in server side. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * | gnutls_ocsp_status_request_is_checked: added tests in client sideNikos Mavrogiannopoulos2019-09-203-0/+39
| | | | | | | | | | | | | | | | | | This ensures that this function has functional tests. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* | | Merge branch 'tmp-supported-versions' into 'master'Daiki Ueno2019-09-273-21/+44
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ext/supported_versions: reorder client precedence if necessary Closes #837 See merge request gnutls/gnutls!1074
| * | | ext/supported_versions: reorder client precedence if necessaryDaiki Ueno2019-09-273-21/+44
| | |/ | |/| | | | | | | | | | | | | | | | | | | If the client advertises TLS < 1.2 before TLS 1.3 and the server is configured with TLS 1.3 enabled, the server should select TLS 1.3; otherwise the client will disconnect when seeing downgrade sentinel. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* | | Merge branch 'tmp-fix-session-get2' into 'master'Nikos Mavrogiannopoulos2019-09-268-19/+183
|\ \ \ | |/ / |/| | | | | | | | | | | | | | gnutls_session_get_data2: fix operation without a timeout callback Closes #823 See merge request gnutls/gnutls!1068
| * | gnutls_session_get_data2: fix operation without a timeout callbackNikos Mavrogiannopoulos2019-09-268-18/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When TLS1.3 was introduced, gnutls_session_get_data2 was modified to assume that the callbacks set included the timeout one which was not previously necessary except for some special cases. This corrects that issue and makes sure that gnutls_session_get_data2() does not fail (but not necessarily succeed), if that timeout callback is not set. Resolves: #823 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | _gnutls_io_check_recv: added newline to error messageNikos Mavrogiannopoulos2019-09-251-1/+1
|/ / | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | Merge branch 'tmp-update-nettle-compat' into 'master'Nikos Mavrogiannopoulos2019-09-234-26/+16
|\ \ | | | | | | | | | | | | | | | | | | fix nettle 3.5 issues/warnings Closes #835 See merge request gnutls/gnutls!1067
| * | tests: cipher-alignment: ensure cipher registrationNikos Mavrogiannopoulos2019-09-231-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | That is, ensure that the registered cipher is called at least once in the program. That is, to make this test fail if the registration API ever become deprecated/no-op. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | tests: mini-alignment moved to modern nettle APINikos Mavrogiannopoulos2019-09-232-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | That is, it no longer uses the deprecated API, and it is also removed to cipher-alignment for clarity. Resolves: #835 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | nettle: use nettle_get_secpp* consistentlyNikos Mavrogiannopoulos2019-09-232-11/+1
|/ / | | | | | | | | | | | | | | | | We already depend on nettle 3.4.1 which provides that symbol, ensure that we use it consistently. Relates: #835 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | Merge branch 'tmp-pkcs11-mock' into 'master'Nikos Mavrogiannopoulos2019-09-202-20/+31
|\ \ | |/ |/| | | | | pkcs11-mock: updated license based on upstream project [ci skip] See merge request gnutls/gnutls!1065
| * pkcs11-mock: updated license based on upstream project [ci skip]Nikos Mavrogiannopoulos2019-09-202-20/+31
| | | | | | | | | | | | | | | | | | Based on the relicense of the original project: https://github.com/Pkcs11Interop/pkcs11-mock Applied in commit: 8751256956e414c1b0a30414831f5083afbf64bf Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | Merge branch 'wip-guile-3.0' into 'master'Daiki Ueno2019-09-163-7/+7
|\ \ | |/ |/| | | | | Add support for Guile 3.0 See merge request gnutls/gnutls!1020
| * guile: Add support for Guile 3.0.Ludovic Courtès2019-09-162-5/+5
| | | | | | | | | | | | | | | | | | * configure.ac: Add 3.0 to 'GUILE_PKG', as well as the previously-supported versions. * doc/gnutls-guile.texi (Guile Preparations): Update list of supported versions. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * doc: Run guile with '-q'.Ludovic Courtès2019-09-161-2/+2
|/ | | | | | | | This makes sure we don't load the user's ~/.guile. * doc/Makefile.am (GUILE_FOR_BUILD): Pass '-q'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* Merge branch 'wip-guile-include-m4-macros' into 'master'Daiki Ueno2019-09-163-1/+405
|\ | | | | | | | | maint: Include Guile's M4 macros. See merge request gnutls/gnutls!1061
| * .gitlab-ci.yml: bump configure cache versiontmp-guile-include-m4-macrosDaiki Ueno2019-09-111-1/+1
| | | | | | | | Signed-off-by: Daiki Ueno <dueno@redhat.com>
| * .gitlab-ci.yml: export guile related envvars for doc-dist.FedoraDaiki Ueno2019-09-111-1/+9
| | | | | | | | Signed-off-by: Daiki Ueno <dueno@redhat.com>
| * .gitlab-ci.yml: minimal.Fedora.x86_64: Pass '--disable-guile' the 2nd time ↵Ludovic Courtès2019-09-051-0/+1
| | | | | | | | | | | | as well. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * .gitlab-ci.yml: doc-dist.Fedora: Pass "GUILE", "GUILD", and "guile_snarf" to ↵Ludovic Courtès2019-09-051-1/+1
| | | | | | | | | | | | 'configure'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * maint: Include Guile's M4 macros.Ludovic Courtès2019-09-052-0/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures 'GUILE_PKG' & co. behaves as we want. Previously we had problem in CI when using 'guile.m4' coming from potentially old distro packages, as discussed in issue !1020: https://gitlab.com/gnutls/gnutls/merge_requests/1020#note_194443890 * m4/guile.m4: New file, from Guile's 'stable-2.2' branch, commit 9846178c69445142ef0b9432417453d2d4de6635. * .x-sc_prohibit_test_minus_ao: New file. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | Merge branch 'tmp-interop-old-gnutls' into 'master'Nikos Mavrogiannopoulos2019-09-1311-23/+265
|\ \ | | | | | | | | | | | | | | | | | | Do not forbid excess random padding in TLS1.x CBC ciphersuites Closes #811 See merge request gnutls/gnutls!1054
| * | tlsfuzzer: enable atypical padding checkNikos Mavrogiannopoulos2019-09-134-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The atypical padding check is complementary to the existing GnuTLS 2.12.x interop test. This commit also upgrades to the latest version, and adds new TLS1.3 tests as well. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | tests: check interoperability testing with gnutls 2.12.x and SHA256Nikos Mavrogiannopoulos2019-09-061-2/+14
| | | | | | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | _gnutls_epoch_set_keys: do not forbid random padding in TLS1.x CBC ciphersuitesNikos Mavrogiannopoulos2019-09-063-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since some point in 3.6.x we updated the calculation of maximum record size, however that did not include the possibility of random record padding available for CBC ciphersuites which exceeds the maximum. This commit allows for larger sizes for these ciphersuites to account for random padding as applied by gnutls 2.12.x. Resolves: #811 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * | tests: added interoperability test with gnutls 2.12.xNikos Mavrogiannopoulos2019-09-014-1/+206
| |/ | | | | | | | | | | This enables this test in debian build. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* | Merge branch 'tmp-decr-len' into 'master'Daiki Ueno2019-09-1227-83/+64
|\ \ | | | | | | | | | | | | gnutls_int.h: make DECR_LEN neutral to signedness See merge request gnutls/gnutls!1056
| * | lib/*: remove unnecessary cast to ssize_ttmp-decr-lenDaiki Ueno2019-09-1226-78/+58
| | | | | | | | | | | | Signed-off-by: Daiki Ueno <dueno@redhat.com>
| * | gnutls_int.h: make DECR_LEN neutral to signednessDaiki Ueno2019-09-121-5/+6
|/ / | | | | | | | | | | | | | | | | DECR_LEN was previously implemented in a way that it first decrements the given length and then checks whether the result is negative. This requires the caller to properly coerce the length argument to a signed integer, before invoking the macro. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* | Merge branch 'fix-priority-setting' into 'master'Dmitry Eremin-Solenikov2019-09-061-1/+1
|\ \ | | | | | | | | | | | | priority: fix loop which removes systemwide disabled KX algos See merge request gnutls/gnutls!1064
| * | priority: fix loop which removes systemwide disabled KX algosDmitry Eremin-Solenikov2019-09-051-1/+1
| | | | | | | | | | | | | | | | | | Fix c&p error in KX-removal loop. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>