#1112081 extrepo: Grafana repo gpg key in extrepo is expired Aug 23

#1112081#5
Date:
2025-08-26 05:18:42 UTC
From:
To:
Dear Maintainer,

I did `extrepo enable grafana` and `apt update` and got an expiry error on the GPG key. Could you plese update the key (https://apt.grafana.com/gpg.key)

This machine I'm on was upgraded to Trixie yesterday. I had extrepo for terraform and tofu previously, but today was the first attempt to use it for Grafana - should be a 'fresh' setup.



The error from apt update:

```
Err:4 https://apt.grafana.com stable InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on B53AE77BADB630A683046005963FA27710458545 is bad:            The primary key is not live   because: Expired on 2025-08-23T16:33:45Z
```



The key in the extrepo keys/ dir expired Aug 23:

```
$ gpg /var/lib/extrepo/keys/grafana.asc
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
pub   rsa2048 2017-01-24 [SC]
      4E40DDF6D76E284A4A6780E48C8C34C524098CB6
uid           Grafana <info@grafana.com>
sub   rsa2048 2017-01-24 [E]
pub   rsa3072 2023-01-06 [SC] [expired: 2025-01-05]
      0E22EB88E39E12277A7760AE9E439B102CF3C0C6
uid           Grafana Labs <engineering@grafana.com>
sub   rsa3072 2023-01-06 [E] [expired: 2025-01-05]
pub   rsa3072 2023-08-24 [SC] [expired: 2025-08-23]
      B53AE77BADB630A683046005963FA27710458545
uid           Grafana Labs <engineering@grafana.com>
sub   rsa3072 2023-08-24 [E] [expired: 2025-08-23]
```



The key pulled from the Grafana apt repo is current, expiring in 2027:

```
$ wget https://apt.grafana.com/gpg.key
--2025-08-26 15:09:53--  https://apt.grafana.com/gpg.key
Resolving apt.grafana.com (apt.grafana.com)... 151.101.194.217, 151.101.66.217, 151.101.2.217, ...
--- snip long boring lines ---
2025-08-26 15:09:53 (24.5 MB/s) - ‘gpg.key’ saved [2460/2460]

$ gpg gpg.key
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
pub   rsa3072 2023-08-24 [SC] [expires: 2027-08-22]
      B53AE77BADB630A683046005963FA27710458545
uid           Grafana Labs <engineering@grafana.com>
sub   rsa3072 2023-08-24 [E] [expires: 2027-08-22]
```

Cheers,

Paul