obiba / agate

OBiBa's user ID provider.
GNU General Public License v3.0
4 stars 7 forks source link

Ubuntu 22.04 - repo - key expired #513

Closed jonathanmassehsj closed 1 year ago

jonathanmassehsj commented 1 year ago

Hi,

One of my collegue pointed out that the apt-key is expired.

I tried to redownload the latest key but it's still the same

image

image

Thank you for your help,

ymarcon commented 1 year ago

It should be ok now, could you verify? (you need to import the new key)

ymarcon commented 1 year ago

By the way, I have updated the deb instructions (no more deprecated apt-key):

curl -fsSL https://www.obiba.org/assets/obiba-pub.pem | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/obiba.gpg
kazoompa commented 1 year ago

If you wish to delete the expired key:

sudo apt-key list

Example result:

pub rsa3072 2018-01-14 [SC] [expired: 2021-07-21] [SC] [expired: 2021-07-21] [expired: 2021-07-21
  1505 8500 A023 5D97 F5D1 0063 B188 E2B6 95BD 4743
  uid [ expired] Automatic Signing Key 

Delete the expired key by using the last 8 digits without the space separating them (95BD 4743):

sudo apt-key del 95BD4743
thiagomdiniz commented 1 year ago

Hi, thanks for the support!

Now it's OK. Steps I performed:

View expired key:

sudo apt-key list

pub   rsa3072 2021-02-16 [SC] [expired: 2023-02-16]
      0E52 FB02 F890 D305 8B6C  964D 8576 AC15 7B0A 831B
uid           [ expired] Yannick Marcon <yannick.marcon@obiba.org>

Delete expired key:

sudo apt-key del 7B0A831B

Import new key:

curl -fsSL https://www.obiba.org/assets/obiba-pub.pem | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/obiba.gpg

I needed to update the APT list file. It was like this:

cat /etc/apt/sources.list.d/obiba.list 
deb [arch=amd64 signed-by=/usr/share/keyrings/obiba.gpg] https://obiba.jfrog.io/artifactory/debian-local all main

I left it like that:

cat /etc/apt/sources.list.d/obiba.list 
deb https://obiba.jfrog.io/artifactory/debian-local all main

And so apt-get update worked.

Thank you!!

ymarcon commented 1 year ago

Thanks for the report.