I manually added a repository, this one to be specific. Its key expired, showing me output like this during apt update:
Signing key on XXXX is bad: The primary key is not live because: Expired on nnnn-nn-nnTnn:nn:nnZ
Searching the ‘net, I immediately find a ton of articles refering to apt-key, a utility that used to be included in apt up until bookworm,
but no more in trixie.
Some articles were significantly newer than this change, and one even contained “apt-key deprecated” in the headline, yet continued to use it to solve the problem. So much for random Linux blogs.
Anyhow this article has a timely solution, and all I do here is to shorten it a little.
The repo includes Release.gpg and Release.key. Long story short, Release.gpg did not work for me. Instead I did this:
wget -O- https://download.opensuse.org/repositories/home:/justkidding/Debian_13/Release.key | gpg --dearmor > /etc/keyrings/justkidding-archive-keyring.gpg
In the end file justkidding-archive-keyring.gpg should return something like this:
justkidding-archive-keyring.gpg: OpenPGP Public Key Version 4, Created Thu Dec 19 01:06:59 2019, RSA (Encrypt or Sign, 2048 bits); User ID; Signature; OpenPGP Certificate
Now the sources file also needs to be edited, in my case:
cat /etc/apt/sources.list.d/home-justkidding.list
deb [signed-by=/etc/apt/keyrings/justkidding-archive-keyring.gpg] https://download.opensuse.org/repositories/home:/justkidding/Debian_13/ /
(The source article claims that filenames are important but apparently not)
Now and only now did apt update stop complaining.