mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-05 18:45:01 +01:00
committed by
Atomic Bot
parent
d551996d49
commit
1cd5ba96b7
@@ -279,7 +279,7 @@ class Trust(Atomic):
|
||||
if self.prompt_trust(sigstore_labels):
|
||||
pubkey_path = self.install_pubkey(sigstore_labels['pubkey-id'], sigstore_labels['pubkey-url'])
|
||||
explicit_sigstoretype = "web"
|
||||
if sigstore_labels['sigstore-type']:
|
||||
if "sigstore-type" in sigstore_labels:
|
||||
explicit_sigstoretype = sigstore_labels['sigstore-type']
|
||||
self.add(registry=scope, trust_type="signedBy", sigstoretype=explicit_sigstoretype, keytype="GPGKeys", pubkeys=[pubkey_path], sigstore=sigstore_labels['sigstore-url'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user