Skip to main content
Topic: i added a herecura repo and messed up the key now nothing passes the check (Read 407 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

i added a herecura repo and messed up the key now nothing passes the check

i tried to install opera  it asked for a key so rather than importing it, which has never worked for me before (but i see now it can) so i opened a seperate terminal to gpg --receive-key whatever the number was  and gpg --lsign whatever the number was

now nothing i download from herecura repo will pass the check.  how do i fix the key or delete them and start over?



```

 opera-beta-86.0....    83.2 MiB  21.6 MiB/s 00:04 [######################] 100%
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
error: opera-beta: signature from "Ike Devolder <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/opera-beta-86.0.4363.15-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

```


```

sudo pacman-key --init && sudo pacman-key --populate artix
==> Appending keys from artix.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2022-06-08

```

```

sudo pacman-key --refresh-keys


gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: keyserver refresh failed: No data
==> ERROR: Could not update key: 27910437F88C3893
gpg: key E1E3CF0539448BFF: "Ike Devolder <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

```

```
gpg --receive-key E1E3CF0539448BFF
gpg: key E1E3CF0539448BFF: "Ike Devolder <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

```

```
gpg --lsign E1E3CF0539448BFF

pub  ed25519/E1E3CF0539448BFF
     created: 2021-10-30  expires: 2023-10-30  usage: SC 
     trust: unknown       validity: unknown
sub  cv25519/07544C0B80032C92
     created: 2021-10-30  expires: 2023-10-30  usage: E  
[ unknown] (1). Ike Devolder <[email protected]>

gpg: no default secret key: No secret key

Key not changed so no update needed.
```


```
:: Proceed with installation? [Y/n]
:: Retrieving packages...
 opera-beta-86.0.4363.15-...    83.2 MiB  23.2 MiB/s 00:04 [################################] 100%
(1/1) checking keys in keyring                             [################################] 100%
(1/1) checking package integrity                           [################################] 100%
error: opera-beta: signature from "Ike Devolder <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/opera-beta-86.0.4363.15-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

```






Re: i added a herecura repo and messed up the key now nothing passes the check

Reply #1
found it!

sudo pacman-key --lsign-key E1E3CF0539448BFF