summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-08-02 20:09:10 +0000
committerGitHub <noreply@github.com>2022-08-02 20:09:10 +0000
commit49ae6cfed67dbc38408c85b3be52af69fa8f031d (patch)
tree3bd355609715d56a0f4126179c0876cfece3aa4d /pkg/domain/entities
parent87f892e5b56c2fab2f394f8cc79794ccce03f510 (diff)
parent5c95c0920f32b61021395ec2700884d136240de7 (diff)
downloadpodman-49ae6cfed67dbc38408c85b3be52af69fa8f031d.tar.gz
podman-49ae6cfed67dbc38408c85b3be52af69fa8f031d.tar.bz2
podman-49ae6cfed67dbc38408c85b3be52af69fa8f031d.zip
Merge pull request #15142 from mtrmac/sigstore-sign-4.2
[v4.2] Sigstore sign
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/images.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index b8b346005..dad2dc6cc 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -205,6 +205,16 @@ type ImagePushOptions struct {
// SignBy adds a signature at the destination using the specified key.
// Ignored for remote calls.
SignBy string
+ // SignPassphrase, if non-empty, specifies a passphrase to use when signing
+ // with the key ID from SignBy.
+ SignPassphrase string
+ // SignBySigstorePrivateKeyFile, if non-empty, asks for a signature to be added
+ // during the copy, using a sigstore private key file at the provided path.
+ // Ignored for remote calls.
+ SignBySigstorePrivateKeyFile string
+ // SignSigstorePrivateKeyPassphrase is the passphrase to use when signing with
+ // SignBySigstorePrivateKeyFile.
+ SignSigstorePrivateKeyPassphrase []byte
// SkipTLSVerify to skip HTTPS and certificate verification.
SkipTLSVerify types.OptionalBool
// Progress to get progress notifications