History log of /openbsd/lib/libssl/ssl_cert.c (Results 1 – 25 of 108)
Revision Date Author Comments
# 689a9b7e 03-Feb-2024 beck <beck@openbsd.org>

Remove GOST and STREEBOG support from libssl.

This version of GOST is old and not anywhere close to compliant with
modern GOST standards. It is also very intrusive in libssl and
makes a mess everywh

Remove GOST and STREEBOG support from libssl.

This version of GOST is old and not anywhere close to compliant with
modern GOST standards. It is also very intrusive in libssl and
makes a mess everywhere. Efforts to entice a suitably minded anyone
to care about it have been unsuccessful.

At this point it is probably best to remove this, and if someone
ever showed up who truly needed a working version, it should be
a clean implementation from scratch, and have it use something
closer to the typical API in libcrypto so it would integrate less
painfully here.

This removes it from libssl in preparation for it's removal from
libcrypto with a future major bump

ok tb@

show more ...


# 71e04849 08-Jul-2023 beck <beck@openbsd.org>

Hide all public symbols in libssl

With the guentherizer 9000

ok tb@


# 57f93a0c 26-May-2023 tb <tb@openbsd.org>

Move verified_chain from SSL to SSL_HANDSHAKE

This is a better version of the fix for the missing pointer invalidation
but a bit larger, so errata got the minimal fix.

tested by jcs
ok jsing


# c9675a23 26-Nov-2022 tb <tb@openbsd.org>

Make internal header file names consistent

Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_l

Make internal header file names consistent

Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include <ssl_locl.h> was fixed manually.

discussed with jsing,
no objection bcook

show more ...


# 6f7f653b 02-Oct-2022 jsing <jsing@openbsd.org>

Get rid of SSL_CTX_INTERNAL and SSL_INTERNAL.

These are no longer necessary due to SSL_CTX and SSL now being fully
opaque. Merge SSL_CTX_INTERNAL back into SSL_CTX and SSL_INTERNAL back
into SSL.

P

Get rid of SSL_CTX_INTERNAL and SSL_INTERNAL.

These are no longer necessary due to SSL_CTX and SSL now being fully
opaque. Merge SSL_CTX_INTERNAL back into SSL_CTX and SSL_INTERNAL back
into SSL.

Prompted by tb@

show more ...


# bf22d29d 07-Jul-2022 tb <tb@openbsd.org>

Unifdef LIBRESSL_HAS_SECURITY_LEVEL and remove some workarounds
that are no longer needed now that libcrypto exposes the necessary
security-bits API.

ok jsing


# a7ac21ab 02-Jul-2022 jsing <jsing@openbsd.org>

Call certificate variables cert and certs, rather than x and sk

ok tb@


# dc2a950b 29-Jun-2022 tb <tb@openbsd.org>

Make ssl_cert_add{0,1}_chain_cert() take ssl/ctx

ok beck jsing


# 5dbcc7f0 29-Jun-2022 tb <tb@openbsd.org>

ssl_cert_set{0,1}_chain() take ssl/ctx

ok beck jsing


# ba90dbc1 29-Jun-2022 tb <tb@openbsd.org>

Refactor use_certificate_chain_* to take ssl/ctx instead of a cert

ok beck jsing


# eb88d233 29-Jun-2022 tb <tb@openbsd.org>

Make sure the verifier checks the security level in cert chains

ok beck jsing


# 257dedcc 28-Jun-2022 tb <tb@openbsd.org>

Copy the security level stuff in ssl_cert_dup()

ok beck jsing sthen


# 8096e1d5 28-Jun-2022 tb <tb@openbsd.org>

Set up the default callback in SSL_CERT

ok beck jsing sthen


# 02876cc3 05-Feb-2022 jsing <jsing@openbsd.org>

Bye bye S3I.

S3I has served us well, however now that libssl is fully opaque it is time
to say goodbye. Aside from removing the calloc/free/memset, the rest is
mechanical sed.

ok inoguchi@ tb@


# 04ef99ee 28-Jan-2022 inoguchi <inoguchi@openbsd.org>

Error check for sk_push in libssl

CID 118976 118979

ok tb@


# 7cf55da3 08-Jan-2022 jsing <jsing@openbsd.org>

Merge SESS_CERT into SSL_SESSION.

There is no reason for SESS_CERT to exist - remove it and merge its members
into SSL_SESSION for the time being. More clean up to follow.

ok inoguchi@ tb@


# ef36d1f9 08-Jan-2022 jsing <jsing@openbsd.org>

Rename CERT to SSL_CERT and CERT_PKEY to SSL_CERT_PKEY.

Nearly all structs in libssl start with an SSL_ suffix, rename CERT and
CERT_PKEY for consistency.

ok inoguchi@ tb@


# c0b85757 07-Jan-2022 jsing <jsing@openbsd.org>

Rename dh_tmp to dhe_params.

Support for non-ephemeral DH was removed a long time ago - as such, the
dh_tmp and dh_tmp_cb are used for DHE parameters. Rename them to reflect
reality.

ok inoguchi@ t

Rename dh_tmp to dhe_params.

Support for non-ephemeral DH was removed a long time ago - as such, the
dh_tmp and dh_tmp_cb are used for DHE parameters. Rename them to reflect
reality.

ok inoguchi@ tb@

show more ...


# 8534b126 07-Jan-2022 jsing <jsing@openbsd.org>

Stop attempting to duplicate the public and private key of dh_tmp.

Support for non-ephemeral DH was removed a very long time ago - the only
way that dh_tmp is set is via DHparams_dup(), hence the pu

Stop attempting to duplicate the public and private key of dh_tmp.

Support for non-ephemeral DH was removed a very long time ago - the only
way that dh_tmp is set is via DHparams_dup(), hence the public and private
keys are always going to be NULL.

ok inoguchi@ tb@

show more ...


# 892af70e 06-Jan-2022 jsing <jsing@openbsd.org>

Convert legacy TLS client to tls_key_share.

This requires adding DHE support to tls_key_share. In doing so,
tls_key_share_peer_public() has to lose the group argument and gains
an invalid_key argume

Convert legacy TLS client to tls_key_share.

This requires adding DHE support to tls_key_share. In doing so,
tls_key_share_peer_public() has to lose the group argument and gains
an invalid_key argument. The one place that actually needs the group
check is tlsext_keyshare_client_parse(), so add code to do this.

ok inoguchi@ tb@

show more ...


# 590ebd80 29-Nov-2021 tb <tb@openbsd.org>

Stop using BIO_s_file_inernal() in libssl.

BIO_s_file_internal() should never have leaked out of libcrypto,
but it did. As a first step of getting rid of it, stop using it
internally.

ok jsing


# 5c273ab3 26-Nov-2021 tb <tb@openbsd.org>

Stop reaching into EVP_PKEY in the rest of libssl.

ok inoguchi jsing


# 4a18b5ba 23-Oct-2021 beck <beck@openbsd.org>

Add SSL_get0_verified_chain - needed by some new stuff

symbol will be exposed with tb@'s forthcoming bump

ok tb@


# 526e2352 23-Oct-2021 tb <tb@openbsd.org>

Unhandroll X509_up_ref()

ok beck jsing


# 1d13974e 23-Oct-2021 tb <tb@openbsd.org>

Change ssl_verify_cert_chain() for compatibility with opaque
X509_STORE_CTX and use accessors instead of reaching directly
into the struct.

ok jsing


12345