What: From the Debian Repository Format Specification (https://wiki.debian.org/DebianRepository/Format):
"Servers shall provide the InRelease file, and might provide a Release files and its signed counterparts with at least the following keys:
- Suite and/or Codename
Still having a unsigned Release file and MD5Sum is currently highly recommended."
Why: We currently use Debian repositories with a large number of automated clients. We've confirmed with a solutions architect that it's possible for Debian index files to be out of sync for brief periods (a few ms - read 'non atomic update'). This means that a debian Release.gpg signature file might be out of sync with the Release index file for brief periods, causing clients to display errors due to inconsistent metadata, such as:
- 'GPG error: https://artifactory.foo.com trusty Release: The following signatures were invalid: BADSIG <FINGERPRINT HERE> Foo Team (Foo's Repo Key) <firstname.lastname@example.org>
- 'WARNING: untrusted versions of the following packages will be installed!'
The Debian way of solving this problem is to include the release index, with inline gpg signature (i.e. InRelease file) to eliminate the possibility that Release (Index) and Release.gpg (Index Signature) do not match.