dermesser / yup-oauth2

An oauth2 client implementation providing the Device, Installed, Service Account, and several more flows.
https://docs.rs/yup-oauth2/
Apache License 2.0
219 stars 114 forks source link

do not set rustls default provider #234

Closed serprex closed 3 months ago

serprex commented 3 months ago

only applications should be setting default from main: https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html#using-the-per-process-default-cryptoprovider

serprex commented 3 months ago

it could make sense to prefer default rather than pushing ring, but until ring isn't included unconditionally this library can't be used in FIPS140 contexts anyways where it matters