Doc for fix elpa signature

This commit is contained in:
Jesús
2020-07-20 19:20:52 -05:00
parent cb7b574da7
commit 7733624f8d
3 changed files with 16 additions and 2 deletions

View File

@@ -75,6 +75,18 @@ gpg: usando RSA clave C433554766D3DDC64221BFAA066DAFCB81E42C40
gpg: Imposible comprobar la firma: No public key
```
Fixed with:
### Method 0
gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40
### Method 1
Disable temp signature key
$ sed -i "s|(setq package-check-signature 'allow-unsigned)|(setq package-check-signature nil)|g" "$HOME/.emacs.d/init.el"
M-x package-install RET gnu-elpa-keyring-update RET
and enable signature key
$ sed -i "s|(setq package-check-signature nil)|(setq package-check-signature 'allow-unsigned)|g" "$HOME/.emacs.d/init.el"