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