openresty / openresty.org

Code and data for the openresty.org site
https://openresty.org
1.26k stars 289 forks source link

apt keyring changed with Debian 12 #241

Open boppy opened 6 months ago

boppy commented 6 months ago

I recently updates to Debian 12. This message appears while doing an apt update:

W: http://openresty.org/package/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

There referenced man 8 apt-key suggests:

wget -O - https://openresty.org/package/pubkey.gpg | sudo tee /etc/apt/trusted.gpg.d/openresty.asc

I can very that this is working. 🟢

The reference is here: https://github.com/openresty/openresty.org/blob/master/v2/en/linux-packages.md?plain=1#L259

I don't know how far back this change to apt happened, so I would suggest a split for the Debian section in For Debian <= 11 and For Debian 12 or above (just as with ubuntu).