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
https://wiki.debian.org/DebianRepository/Format#Signed-By says:
> **Signed-By**
> An optional field containing a comma separated list of
> OpenPGP key fingerprints to be used for validating
> the next Release file. The fingerprints must consist
> only of hex digits and may not contain spaces.
> The fingerprint specifies either the key the Release file
> must be signed with or the key the signature key must be
> a subkey of. The later match can be disabled by appending
> an exclamation mark to the fingerprint.
>
> If the field is present, a client should only accept future updates
> to the repository that are signed with keys listed in the field.
> The field should be ignored if the Valid-Until field is not present
> or if it is expired.
For both the CLI tools and JSON, the field is taken as a string verbatim.
When specified, we must also provide `Valid-Until` field,
and i'm not sure there is an 'infinity' value for it,
so 100 years will have to do?
Fixes#1497
Copy file name to clipboardExpand all lines: cmd/publish_repo.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ Example:
51
51
cmd.Flag.String("codename", "", "codename to publish (defaults to distribution)")
52
52
cmd.Flag.Bool("force-overwrite", false, "overwrite files in package pool in case of mismatch")
53
53
cmd.Flag.Bool("acquire-by-hash", false, "provide index files by hash")
54
+
cmd.Flag.String("signed-by", "", "an optional field containing a comma separated list of OpenPGP key fingerprints to be used for validating the next Release file")
54
55
cmd.Flag.Bool("multi-dist", false, "enable multiple packages with the same filename in different distributions")
cmd.Flag.String("codename", "", "codename to publish (defaults to distribution)")
248
252
cmd.Flag.Bool("force-overwrite", false, "overwrite files in package pool in case of mismatch")
249
253
cmd.Flag.Bool("acquire-by-hash", false, "provide index files by hash")
254
+
cmd.Flag.String("signed-by", "", "an optional field containing a comma separated list of OpenPGP key fingerprints to be used for validating the next Release file")
250
255
cmd.Flag.Bool("multi-dist", false, "enable multiple packages with the same filename in different distributions")
cmd.Flag.String("component", "", "component names to update (for multi-component publishing, separate components with commas)")
164
168
cmd.Flag.Bool("force-overwrite", false, "overwrite files in package pool in case of mismatch")
169
+
cmd.Flag.String("signed-by", "", "an optional field containing a comma separated list of OpenPGP key fingerprints to be used for validating the next Release file")
165
170
cmd.Flag.Bool("skip-cleanup", false, "don't remove unreferenced files in prefix/component")
166
171
cmd.Flag.Bool("multi-dist", false, "enable multiple packages with the same filename in different distributions")
cmd.Flag.Bool("force-overwrite", false, "overwrite files in package pool in case of mismatch")
132
+
cmd.Flag.String("signed-by", "", "an optional field containing a comma separated list of OpenPGP key fingerprints to be used for validating the next Release file")
128
133
cmd.Flag.Bool("skip-cleanup", false, "don't remove unreferenced files in prefix/component")
129
134
cmd.Flag.Bool("multi-dist", false, "enable multiple packages with the same filename in different distributions")
0 commit comments