-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yup-oauth2 10 #89
yup-oauth2 10 #89
Conversation
hyper v1 removed HttpConnector, now exists in hyper-utils
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I will merge and publish this weekend. Thanks for contributing. |
I had to define a default crypto provider. There might be a better way to set the default provider for cryptography, but for now, without this call, the following message is produced by rustls:
If you have a better approach, please let me know. I plan to release a new version of the crate this Monday or Tuesday. Thanks! See cf3cd5c |
@lquerel https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html#using-the-per-process-default-cryptoprovider libraries shouldn't set the default provider. yup-oauth2 is using ring crypto provider, but better is for libraries to have ring/aws-lc-rs as features like in pgwire: sunng87/pgwire#179 I'll look to adjust yup-oauth2 to have ring/aws-lc-rs features, & then gcp-bigquery-client can apply that same feature to its yup-oauth2 dependency. But that'll be yup-oauth 11, so for yup-oauth 10 we can explicitly use ring provider PR on yup-oauth2 to not set default provider either: dermesser/yup-oauth2#234 |
found dermesser/yup-oauth2#232 which does what I'd like with ring/aws-lc-rs features |
@serprex I find that asking applications to call
|
I agree. yup-oauth2 will stop requiring setting default provider in next release There are 3 versions we're dealing with:
|
oh, re question, I'll review pr, for pgwire ring is in default features, it someone wants aws-lc-rs they disable defaults edit: same for yup-oauth2 pr, has probably easiest to wait on next yup-oauth2 release before releasing new gcp-bigquery-client |
@serprex I agree, I will wait for the next release of yup-oauth2 to deliver a new version of gcp-bigquery-client. It will be simpler and cleaner. |
hyper v1 removed HttpConnector, now exists in hyper-utils