diff --git a/sigstore/sign.py b/sigstore/sign.py index 856b18116..1257eecac 100644 --- a/sigstore/sign.py +++ b/sigstore/sign.py @@ -423,9 +423,7 @@ def to_bundle(self) -> Bundle: if isinstance(self.content, MessageSignature): bundle.message_signature = self.content - elif isinstance(self.content, Envelope): - bundle.dsse_envelope = self.content else: - raise ValueError + bundle.dsse_envelope = self.content return bundle