Hello,
There is actually a new more-preferred way of doing this. It is slightly
more work, but it directly connects the GPG key to the repository with
which it is being used.
1. Download the key and de-armor it (i.e. convert from ASCII to binary):
```
wget -O-
https://deb.kamailio.org/kamailiodebkey.gpg | gpg --dearmor | sudo
tee /etc/apt/keyrings/kamailio.gpg
```
2. When adding the repository, tell apt that this is the key that should be
used for it:
```
deb [signed-by=/etc/apt/keyrings/kamailio.gpg]
http://deb.kamailio.org/kamailio57 CODE_NAME main
```
This has actually been supported for many years, but it is becoming a lot
more common now because it prevents a stolen key from one repository from
being used to sign fake packages in another repository.
Moshe
On Mon, Jan 29, 2024 at 9:34 AM Tom Lynn via sr-users <
sr-users(a)lists.kamailio.org> wrote:
Thanks, I'll check it out!
On Mon, Jan 29, 2024, 1:39 AM Who AmI <myfriendjohn1(a)gmail.com> wrote:
Hi TL,
I use the below which may help:
wget -O-
https://deb.kamailio.org/kamailiodebkey.gpg | sudo tee
/etc/apt/trusted.gpg.d/kamailio.asc
This adds the key but not via apt-key, then just add your repo to
sources.list.d like previously.
Thanks,
John.
On Mon, 29 Jan 2024 at 05:05, tom--- via sr-users <
sr-users(a)lists.kamailio.org> wrote:
When I look at the debian repositories maintained
by the project, there
are instructions to import the public key of the repository for apt using
this command:
wget -O
http://deb.kamailio.org/kamailiodebkey.gpg | sudo apt-key add -
which results in:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d
instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
Is there an alternate method that can be posted in the repository that
will get better results?
Thank you,
TL
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
__________________________________________________________
Kamailio - Users
Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe: