]> git.ipfire.org Git - thirdparty/gnutls.git/commit
priority: support allowlisting in configuration file
authorDaiki Ueno <ueno@gnu.org>
Thu, 6 May 2021 10:41:40 +0000 (12:41 +0200)
committerDaiki Ueno <ueno@gnu.org>
Mon, 29 Nov 2021 12:21:53 +0000 (13:21 +0100)
commit0ecce7191dfd78387f2994253d37ed1df50d563d
treefb1d66e9329cdad3ef617c02b96c77aca1c8dd3e
parentee3af8d6e863bd958cbe7468f9cbe09d803f4e92
priority: support allowlisting in configuration file

This adds a new mode of interpreting the [overrides] section.  If
"override-mode" is set to "allowlisting" in the [global] section, all
the algorithms (hashes, signature algorithms, curves, and versions)
are initially marked as insecure/disabled.  Then the user can enable
them by specifying allowlisting keywords such as "secure-hash" in the
[overrides] section.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
Co-authored-by: Alexander Sosedkin <asosedkin@redhat.com>
22 files changed:
NEWS
devel/libgnutls.abignore
devel/symbols.last
doc/Makefile.am
doc/cha-config.texi
doc/manpages/Makefile.am
lib/algorithms.h
lib/algorithms/ecc.c
lib/algorithms/groups.c
lib/algorithms/mac.c
lib/algorithms/protocols.c
lib/algorithms/sign.c
lib/gnutls_int.h
lib/includes/gnutls/gnutls.h.in
lib/libgnutls.map
lib/priority.c
tests/Makefile.am
tests/system-override-curves-allowlist.sh [new file with mode: 0755]
tests/system-override-hash-allowlist.sh [new file with mode: 0755]
tests/system-override-sig-allowlist.sh [new file with mode: 0755]
tests/system-override-special-allowlist.sh [new file with mode: 0755]
tests/system-override-versions-allowlist.sh [new file with mode: 0755]