You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But since rustls 0.22.0peer_certificates no longer returns rustls::Certificate but it was replaced by CertificateDer from a new crate rustls_pki_types. CertificateDer does not allow access to the certificate data, so we cannot convert it to our ClientCert.
Do you have any idea how we can solve this, or do we need to raise an issue with rustls_pki_types?
The text was updated successfully, but these errors were encountered:
@hannesdejager maybe I'm overlooking something, but I'm looking into upgrading to rustls 0.22.
Here:
libunftp/src/server/controlchan/control_loop.rs
Line 251 in edd1b6e
we copy the certificate bytes and we need it later for matching the client certificate here:
libunftp/src/auth/authenticator.rs
Lines 104 to 113 in edd1b6e
But since rustls 0.22.0
peer_certificates
no longer returns rustls::Certificate but it was replaced by CertificateDer from a new crate rustls_pki_types. CertificateDer does not allow access to the certificate data, so we cannot convert it to our ClientCert.Do you have any idea how we can solve this, or do we need to raise an issue with rustls_pki_types?
The text was updated successfully, but these errors were encountered: