RFC7250 (RPK) support
authorTodd Short <tshort@akamai.com>
Wed, 27 Jan 2021 19:23:33 +0000 (14:23 -0500)
committerTodd Short <todd.short@me.com>
Tue, 28 Mar 2023 17:49:54 +0000 (13:49 -0400)
commit3c95ef22df55cb2d9dc64ce1f3be6e5a8ee63206
tree0f7fcff4ec4735c778595db4f4a85bce70715d8b
parent5ab3f71a33cb0140fc29ae9244cd4f8331c2f3a5
RFC7250 (RPK) support

Add support for the RFC7250 certificate-type extensions.
Alows the use of only private keys for connection (i.e. certs not needed).

Add APIs
Add unit tests
Add documentation
Add s_client/s_server support

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18185)
49 files changed:
CHANGES.md
NEWS.md
apps/lib/s_cb.c
apps/s_client.c
apps/s_server.c
crypto/err/openssl.txt
crypto/x509/x509_txt.c
crypto/x509/x509_vfy.c
doc/build.info
doc/man1/openssl-s_client.pod.in
doc/man1/openssl-s_server.pod.in
doc/man3/SSL_CTX_dane_enable.pod
doc/man3/SSL_get0_peer_rpk.pod [new file with mode: 0644]
doc/man3/SSL_set1_server_cert_type.pod [new file with mode: 0644]
doc/man3/X509_STORE_CTX_get_error.pod
doc/man3/X509_STORE_CTX_new.pod
doc/man3/X509_verify.pod
doc/man3/X509_verify_cert.pod
doc/man3/d2i_SSL_SESSION.pod
include/crypto/x509.h
include/openssl/ssl.h.in
include/openssl/sslerr.h
include/openssl/tls1.h
include/openssl/x509_vfy.h.in
ssl/ssl_asn1.c
ssl/ssl_cert.c
ssl/ssl_err.c
ssl/ssl_lib.c
ssl/ssl_local.h
ssl/ssl_sess.c
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_cust.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_clnt.c
ssl/statem/statem_lib.c
ssl/statem/statem_local.h
ssl/statem/statem_srvr.c
ssl/t1_lib.c
ssl/t1_trce.c
test/build.info
test/ext_internal_test.c
test/recipes/70-test_certtypeext.t [new file with mode: 0644]
test/recipes/90-test_rpk.t [new file with mode: 0644]
test/rpktest.c [new file with mode: 0644]
test/sslapitest.c
util/libcrypto.num
util/libssl.num
util/perl/TLSProxy/Message.pm