Files
aptly/system/t06_publish/PublishList5Test_gold
Roman Lebedev a4cc9211d6 InRelease file: support Signed-By field
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 https://github.com/aptly-dev/aptly/issues/1497
2025-12-30 06:06:48 +03:00

110 lines
2.1 KiB
Plaintext

[
{
"AcquireByHash": false,
"Architectures": [
"amd64",
"i386"
],
"ButAutomaticUpgrades": "",
"Codename": "",
"Distribution": "maverick",
"Label": "",
"MultiDist": false,
"NotAutomatic": "",
"Origin": "LP-PPA-gladky-anton-gnuplot",
"Path": "./maverick",
"Prefix": ".",
"SignedBy": "",
"SkipContents": false,
"SourceKind": "snapshot",
"Sources": [
{
"Component": "main",
"Name": "snap1"
}
],
"Storage": "",
"Suite": ""
},
{
"AcquireByHash": false,
"Architectures": [
"amd64"
],
"ButAutomaticUpgrades": "",
"Codename": "",
"Distribution": "wheezy",
"Label": "",
"MultiDist": false,
"NotAutomatic": "",
"Origin": "",
"Path": "ppa/smira/wheezy",
"Prefix": "ppa/smira",
"SignedBy": "",
"SkipContents": false,
"SourceKind": "snapshot",
"Sources": [
{
"Component": "contrib",
"Name": "snap2"
}
],
"Storage": "",
"Suite": ""
},
{
"AcquireByHash": false,
"Architectures": [
"amd64",
"i386"
],
"ButAutomaticUpgrades": "",
"Codename": "",
"Distribution": "maverick",
"Label": "",
"MultiDist": false,
"NotAutomatic": "",
"Origin": "origin1",
"Path": "ppa/tr1/maverick",
"Prefix": "ppa/tr1",
"SignedBy": "",
"SkipContents": false,
"SourceKind": "snapshot",
"Sources": [
{
"Component": "main",
"Name": "snap2"
}
],
"Storage": "",
"Suite": ""
},
{
"AcquireByHash": false,
"Architectures": [
"amd64",
"i386"
],
"ButAutomaticUpgrades": "",
"Codename": "",
"Distribution": "maverick",
"Label": "label1",
"MultiDist": false,
"NotAutomatic": "",
"Origin": "",
"Path": "ppa/tr2/maverick",
"Prefix": "ppa/tr2",
"SignedBy": "",
"SkipContents": false,
"SourceKind": "snapshot",
"Sources": [
{
"Component": "main",
"Name": "snap2"
}
],
"Storage": "",
"Suite": ""
}
]