Support package policy to require Sigstore provenance attestation - #9552
Draft
mosuem wants to merge 1 commit into
Draft
Support package policy to require Sigstore provenance attestation#9552mosuem wants to merge 1 commit into
mosuem wants to merge 1 commit into
Conversation
mosuem
force-pushed
the
require-attestation-policy
branch
from
August 21, 2026 16:17
7597d52 to
5879647
Compare
mosuem
force-pushed
the
require-attestation-policy
branch
2 times, most recently
from
August 24, 2026 08:32
7cbfc06 to
d8ae71c
Compare
mosuem
force-pushed
the
require-attestation-policy
branch
from
August 24, 2026 08:49
d8ae71c to
ced421d
Compare
mosuem
marked this pull request as draft
August 28, 2026 12:50
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.
Adds an administrative policy setting to require Sigstore provenance attestations for package publishing:
isAttestationRequiredtoggle toPackageAutomatedPublishingand package admin page.PackageBackend.publishUploadedBlob, rejects package publication ifisAttestationRequiredis enabled and no valid attestation bundle is supplied (PackageRejectedException).pkg/_pub_shared/lib/data/package_api.dart.automated_publishing_test.dartandupload_test.dart.