Repository navigation
Conversation
AuthorizeRequest gains two operations, add_trusted_certificate and delete_trusted_certificate, so that an access control plugin can decide a change to the engine's list of trusted certificates. Each mirrors the engine RPC it authorizes: the oneof certificate holds what to trust or to remove per host OS, with the arms darwin and darwin_ad_hoc_binary. Windows and Linux have no arm yet. The messages carry what a person needs to approve the change. A certificate is described by DarwinSigningCertificate: its SHA-256 fingerprint, the subject's common name, organization and organizational unit, and its expiry. An add lists the applications to trust, each with the patterns of the secrets it may get. A delete lists the identifiers of the applications to remove, or none to remove the certificate. A binary signed ad hoc is named by its code directory hash and its identifier. Hashes are hex strings, as in SigningIdentity. The handler does not decode the new operations yet and still rejects them as "missing or unsupported operation". Signed-off-by: Johannes Großmann <grossmann.johannes@t-online.de>
joe0BAB
marked this pull request as ready for review
December 6, 2026 12:49
docker-agent
reviewed
Dec 6, 2026
docker-agent
left a comment
Contributor
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AuthorizeRequest gains two operations, add_trusted_certificate and delete_trusted_certificate, so that an access control plugin can decide a change to the engine's list of trusted certificates. Each mirrors the engine RPC it authorizes: the oneof certificate holds what to trust or to remove per host OS, with the arms darwin and darwin_ad_hoc_binary. Windows and Linux have no arm yet.
The messages carry what a person needs to approve the change. A certificate is described by DarwinSigningCertificate: its SHA-256 fingerprint, the subject's common name, organization and organizational unit, and its expiry. An add lists the applications to trust, each with the patterns of the secrets it may get. A delete lists the identifiers of the applications to remove, or none to remove the certificate. A binary signed ad hoc is named by its code directory hash and its identifier. Hashes are hex strings, as in SigningIdentity.
The handler does not decode the new operations yet and still rejects them as "missing or unsupported operation".