~xnox/launchpad:only-sha256

Last commit made on 2023-10-04
Get this branch:
git clone -b only-sha256 https://git.launchpad.net/~xnox/launchpad
Only Dimitri John Ledkov can upload to this branch. If you are Dimitri John Ledkov please log in for upload directions.

Branch merges

Branch information

Name:
only-sha256
Repository:
lp:~xnox/launchpad

Recent commits

29f772d... by Dimitri John Ledkov

archivepublisher: consistently use only sha256 for apt archives

Unused hashes are redundant, and are now cauing interop problems with
overly strict programs and humans.

Summary of changes:

 * Remove md5, sha1 from Release, Packages, Sources metadata in
   primary & ppa publisher.

 * Change i18n Index from SHA1 to SHA256. Uncertain if actually used
   by clients.

 * Remove sha512 from Packages & Sources in primary publisher only, do
   not exist anywhere else. (Also see LP: #1536602). Also it is
   noticably slow even on most modern hardware for rudimentary
   repository sizes.

 * Ensure and enforce consistent publishing by both primary & ppa
   publisher, irrespective of host release.

Note that overall security is provided by rsa-pkcs1-v1_5 + sha512
signatures in current primary and ppa publishers, independent of the
hash changes in this commit.

Minimum required apt for Launchpad host deployment is 1.1 (Xenial) due
to `--no-sha512` option usage.

Minimum required apt for clients is 0.7.7 (Hardy), subject to
compatible signing.

This implementation is intentionally global for all suites in both
primary and ppa publishers.

Fixes LP: #1883271

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
e426545... by Colin Watson

doc: Add high-level signing service documentation

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/452548

c110c9d... by Colin Watson

doc: Add high-level signing service documentation

2fe7c45... by Guruprasad

Drop the readline mock in the test environment for bionic

We do not use or care about bionic any more.

Merged from https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/452432

cbce018... by Guruprasad

Remove bionic support from the development environment setup docs

a235534... by Guruprasad

Remove distro from setup.cfg since it is no longer used

a4e6fbe... by Guruprasad

Drop the readline mock in the test environment for bionic

We do not use or care about bionic any more.

0f5ffff... by Colin Watson

charm: Add launchpad-cron-control

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/450472

35a5a0f... by Ines Almeida

Merge db-stable 4ac07ecaba (Add pro_enable field to Snap table)

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/452381

bd6cfd0... by Ines Almeida

Add missing product permissions to TestProduct.test_get_permissions

Merged from https://code.launchpad.net/~ines-almeida/launchpad/+git/launchpad/+merge/452302