You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, nil, fmt.Errorf("Only one of --sign-by and sign-by-sigstore-private-key can be used with sign-passphrase-file")
369
+
ifopts.signPassphraseFile!="" {
370
+
count:=0
371
+
ifopts.signByFingerprint!="" {
372
+
count++
373
+
}
374
+
ifopts.signBySequoiaFingerprint!="" {
375
+
count++
376
+
}
377
+
ifopts.signBySigstorePrivateKey!="" {
378
+
count++
379
+
}
380
+
ifcount>1 {
381
+
returnnil, nil, fmt.Errorf("Only one of --sign-by, --sign-by-sq-fingerprint and --sign-by-sigstore-private-key can be used with --sign-passphrase-file")
} // opts.signByFingerprint triggers a GPG-agent passphrase prompt, possibly using a more secure channel, so we usually shouldn’t prompt ourselves if no passphrase was explicitly provided.
398
+
// With opts.signBySequoiaFingerprint, we don’t prompt for a passphrase (for now??): We don’t know whether the key requires a passphrase.
Copy file name to clipboardExpand all lines: docs/skopeo-copy.1.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,9 +107,14 @@ See containers-sigstore-signing-params.yaml(5) for details about the file format
107
107
108
108
Add a sigstore signature using a private key at _path_ for an image name corresponding to _destination-image_
109
109
110
+
**--sign-by-sq-fingerprint**_fingerprint_
111
+
112
+
Add a “simple signing” signature using a Sequoia-PGP key with the specified _fingerprint_.
113
+
110
114
**--sign-passphrase-file**_path_
111
115
112
-
The passphare to use when signing with `--sign-by` or `--sign-by-sigstore-private-key`. Only the first line will be read. A passphrase stored in a file is of questionable security if other users can read this file. Do not use this option if at all avoidable.
116
+
The passphrase to use when signing with `--sign-by`, `--sign-by-sigstore-private-key` or `--sign-by-sq-fingerprint`.
117
+
Only the first line will be read. A passphrase stored in a file is of questionable security if other users can read this file. Do not use this option if at all avoidable.
Copy file name to clipboardExpand all lines: docs/skopeo-sync.1.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,9 +103,14 @@ See containers-sigstore-signing-params.yaml(5) for details about the file format
103
103
104
104
Add a sigstore signature using a private key at _path_ for an image name corresponding to _destination-image_
105
105
106
+
**--sign-by-sq-fingerprint**_fingerprint_
107
+
108
+
Add a “simple signing” signature using a Sequoia-PGP key with the specified _fingerprint_.
109
+
106
110
**--sign-passphrase-file**_path_
107
111
108
-
The passphare to use when signing with `--sign-by` or `--sign-by-sigstore-private-key`. Only the first line will be read. A passphrase stored in a file is of questionable security if other users can read this file. Do not use this option if at all avoidable.
112
+
The passphrase to use when signing with `--sign-by`, `--sign-by-sigstore-private-key` or `--sign-by-sq-fingerprint`.
113
+
Only the first line will be read. A passphrase stored in a file is of questionable security if other users can read this file. Do not use this option if at all avoidable.
109
114
110
115
**--src-creds**_username[:password]_ for accessing the source registry.
0 commit comments