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

[0.13] Don’t try to revoke child keys for non-existing resource classes. #1207

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

partim
Copy link
Member

@partim partim commented Jun 17, 2024

This PR adds a check whether the resource class exists before applying a “child revoke key” command. This fixes a crash where revoking a parent removed a resource class which then lead to children revoking keys for that now non-existing resource class. The change will cause to simply send an OK response to such requests.

This is the 0.13 version of this PR.

@partim partim requested a review from a team June 17, 2024 13:18
@partim partim changed the title Don’t try to revoke child keys for non-existing resource classes. [0.13] Don’t try to revoke child keys for non-existing resource classes. Jun 17, 2024
@partim partim merged commit 96ce18e into series-0.13 Jun 17, 2024
18 checks passed
@partim partim deleted the revoke-for-non-existing-classes branch June 17, 2024 15:52
partim added a commit that referenced this pull request Jun 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bug fixes

* Updated the locked version of the h2 crate to 0.3.26 to fix
  [RUSTSEC-2024-0332]. ([#1206])
* Don’t apply “child revoke key” command if the resource class does not
  exist. ([#1207])
partim added a commit that referenced this pull request Jun 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bug fixes

* Updated the locked version of the h2 crate to 0.3.26 to fix
  [RUSTSEC-2024-0332]. ([#1206])
* Don’t apply “child revoke key” command if the resource class does not
  exist. ([#1207])
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

1 participant