Skip to content
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

Adopt swift-certificates 0.6.0 #6528

Merged
merged 1 commit into from May 23, 2023
Merged

Conversation

dnadoba
Copy link
Member

@dnadoba dnadoba commented May 10, 2023

swift-certificates has released a new version with a couple breaking changes:

  • PolicySet is deprecated in favour of a new result builder DSL and returns an opaque VerifierPolicy. Verifier is now generic over the concrete VerifierPolicy and uses the @PolicyBuilder to constructs its policy.
  • Certificate.Extensions now gracefully fails extension serialization but now needs to return Result<Certificate.Extensions, any Error>.

This PR adopts these new changes.

@yim-lee
Copy link
Member

yim-lee commented May 11, 2023

apple/swift#65850

@swift-ci please smoke test

@yim-lee
Copy link
Member

yim-lee commented May 11, 2023

Need to bump swift-asn1 to 0.8.0 as well.

apple/swift#65850

@swift-ci please smoke test

@dnadoba dnadoba marked this pull request as ready for review May 15, 2023 09:36
@yim-lee yim-lee force-pushed the dn-certificates-0.6.0 branch 2 times, most recently from d426634 to b81417c Compare May 16, 2023 04:39
@yim-lee
Copy link
Member

yim-lee commented May 16, 2023

Change of mind. Will update swift-system separately.

apple/swift#65850
@swift-ci please smoke test

@yim-lee
Copy link
Member

yim-lee commented May 16, 2023

apple/swift#65850

@swift-ci please test Windows platform

1 similar comment
@yim-lee
Copy link
Member

yim-lee commented May 16, 2023

apple/swift#65850

@swift-ci please test Windows platform

@shahmishal shahmishal merged commit 3f4af6a into apple:main May 23, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants