helmo created an issue. See original summary.

helmo’s picture

Status: Active » Needs review
Related issues: +#2816901: Debian PGP key has expired
1.59 KB

After searching for an example I took to create this patch.

This needs more though and testing though.
Adding aegir-archive-keyring as a dependency will stop some auto-upgrading systems.

helmo’s picture

Status: Needs review » Needs work
1.31 KB

Maybe depends should be suggests...

Setting up aegir-archive-keyring (3.11) ...
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package aegir-archive-keyring)
Warning: 'apt-key update' is deprecated and should not be used anymore!
Note: In your distribution this command is a no-op and can therefore be removed safely.

Based on feedback from anarcat I removed the .postinst part of the patch. and Renamed the key.

But installing this doesn't actually install the key to etc/apt/trusted.gpg.d ???

helmo’s picture

27.79 KB
helmo’s picture

Status: Needs work » Needs review
2.03 KB

Anarcat helped in irc .. this should to it. Combined with a sources.list version like deb [signed-by=/usr/share/keyrings/aegir-archive-keyring.gpg] stable main

helmo’s picture

helmo’s picture

I've committed this now to the provision git repo.
This should make it possible to test it using our unstable .deb repo.

Steps to test:

helmo’s picture

Status: Needs review » Fixed

I've now merge the two mentioned pull requests so is now updated.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.