[pbs-devel] [PATCH proxmox-backup v2 1/3] config: add cipher-suites to NodeConfig
Dietmar Maurer
dietmar at proxmox.com
Wed Jan 5 09:23:15 CET 2022
Please can we have a more elaborate error message here?
Or even better, use a schema verify function to do the checks?
> + let mut dummy_acceptor = SslAcceptor::mozilla_intermediate_v5(SslMethod::tls()).unwrap();
> + if let Some(cipher_suites) = self.cipher_suites_tls3.as_deref() {
> + dummy_acceptor.set_ciphersuites(cipher_suites)?;
> + }
> + if let Some(cipher_suites) = self.cipher_suites_tls2.as_deref() {
> + dummy_acceptor.set_cipher_list(cipher_suites)?;
> + }
More information about the pbs-devel
mailing list