Skip to content

fix provider loading take two#10390

Merged
alex merged 1 commit intopyca:mainfrom
reaperhulk:manual-load
Feb 15, 2024
Merged

fix provider loading take two#10390
alex merged 1 commit intopyca:mainfrom
reaperhulk:manual-load

Conversation

@reaperhulk
Copy link
Copy Markdown
Member

we previously hoisted this into rust, but we used the try_load feature which supposedly retains fallbacks. Something about that doesn't behave the way we expect though and the machinery in providers is sufficiently complex that we are just going to load the default provider explicitly.

this matches our behavior pre-rust.

hopefully fixes #10389

alex
alex previously approved these changes Feb 13, 2024
@alex alex enabled auto-merge (squash) February 13, 2024 22:43
we previously hoisted this into rust, but we used the try_load feature
which supposedly retains fallbacks. Something about that doesn't behave
the way we expect though and the machinery in providers is sufficiently
complex that we are just going to load the default provider explicitly.

this matches our behavior pre-rust.
@alex alex merged commit 64b9095 into pyca:main Feb 15, 2024
@reaperhulk reaperhulk deleted the manual-load branch February 16, 2024 02:52
reaperhulk added a commit to reaperhulk/cryptography that referenced this pull request Feb 16, 2024
we previously hoisted this into rust, but we used the try_load feature
which supposedly retains fallbacks. Something about that doesn't behave
the way we expect though and the machinery in providers is sufficiently
complex that we are just going to load the default provider explicitly.

this matches our behavior pre-rust.
alex pushed a commit that referenced this pull request Feb 16, 2024
we previously hoisted this into rust, but we used the try_load feature
which supposedly retains fallbacks. Something about that doesn't behave
the way we expect though and the machinery in providers is sufficiently
complex that we are just going to load the default provider explicitly.

this matches our behavior pre-rust.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Loading EC key with 42.0.2 fails first time, then succeeds every time after

2 participants