diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-03-16 14:20:39 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-03-16 14:59:01 -0700 |
commit | e928f81c446cee84dcf57b7a5f6ce88453a74c7a (patch) | |
tree | c0fa1ff1bad98a0eabe3cedce00dff03ad68ff75 /etc/ssh/sshd_config | |
parent | 8d79339d2fc4eddd5eb2c930030d91133d777ecd (diff) |
fix: add allow-weak-key-signatures to /etc/pacman.d/gnupg/gpg.conf, to workaroud ALARM build key is sha1 and rejected by new gpg
With newer version of gpg, pacman will error `Error: Signature is
marginal trust` for Arch Linux ARM Build System key. It seems because
Arch Linux ARM Build System key is sha1 and rejected by new versions
of gpg. Need to reset all keys by:
```sh
sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
echo 'allow-weak-key-signatures' | sudo tee -a /etc/pacman.d/gnupg/gpg.conf > /dev/null
sudo pacman-key --populate
```
Note, need to add `allow-weak-key-signatures` in /etc/pacman.d/gnupg/gpg.conf
before `sudo pacman-key --populate`.
More See https://archlinuxarm.org/forum/viewtopic.php?f=9&t=16762
Diffstat (limited to 'etc/ssh/sshd_config')
0 files changed, 0 insertions, 0 deletions