mirror of
https://github.com/narrrl/proton-sdk-rs.git
synced 2026-12-03 20:51:50 +01:00
- ProtonClientConfiguration::with_trusted_modulus_key trusts a modulus signed by another key besides Proton's; sign-in, public link access and public link creation all check against it. generate_proofs_trusting and generate_verifier_trusting take the extra keys, and the existing functions keep trusting Proton's key alone. - ProtonClientConfiguration::with_extra_root_certificate adds PEM roots on top of the bundled web PKI roots, for servers behind a private CA. A document with no certificate fails the client build instead of trusting nothing. - ApiHttpClient::config exposes the configuration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>