NLnetLabs / krill

RPKI Certificate Authority and Publication Server written in Rust
https://nlnetlabs.nl/projects/routing/krill/
Mozilla Public License 2.0
280 stars 37 forks source link

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

Closed partim closed 3 weeks ago

partim commented 3 weeks ago

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.