Skip to content

fix: Fix CryptoKeyUsages::isSuperSetOf - #347

Merged
andreiltd merged 1 commit into
bytecodealliance:mainfrom
TartanLlama:sy/is-superset-of-fix
Oct 26, 2026
Merged

andreiltd merged 1 commit into
bytecodealliance:mainfrom
TartanLlama:sy/is-superset-of-fix

Conversation

@TartanLlama

Copy link
Copy Markdown
Contributor

Currently, CryptoKeyUsages::isSuperSetOf just checks if any of the bits from the given mask are present in the other mask, rather than checking that at least all the bits are set. This PR fixes this.

@andreiltd

Copy link
Copy Markdown
Member

Hey @TartanLlama I wanted to cut a release, is there anything else you want to land before I click the button?

@TartanLlama

Copy link
Copy Markdown
Contributor Author

@andreiltd all good, hit it!

@andreiltd
andreiltd merged commit ab43f2c into bytecodealliance:main Oct 26, 2026
7 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.

2 participants