Doc for fix elpa signature
This commit is contained in:
parent
cb7b574da7
commit
7733624f8d
14
README.md
14
README.md
@ -75,6 +75,18 @@ gpg: usando RSA clave C433554766D3DDC64221BFAA066DAFCB81E42C40
|
|||||||
gpg: Imposible comprobar la firma: No public key
|
gpg: Imposible comprobar la firma: No public key
|
||||||
```
|
```
|
||||||
|
|
||||||
Fixed with:
|
### Method 0
|
||||||
|
|
||||||
gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40
|
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"
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
'(anzu-search-threshold 1000)
|
'(anzu-search-threshold 1000)
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree smartparens sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy dotenv-mode doom-themes doom-modeline dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu))))
|
(gnu-elpa-keyring-update git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree smartparens sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy dotenv-mode doom-themes doom-modeline dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
2
init.el
2
init.el
@ -10,6 +10,8 @@
|
|||||||
;;; Time Mark
|
;;; Time Mark
|
||||||
(setq emacs-load-start-time (current-time))
|
(setq emacs-load-start-time (current-time))
|
||||||
|
|
||||||
|
(setq package-check-signature 'allow-unsigned)
|
||||||
|
|
||||||
;;; Welcome message
|
;;; Welcome message
|
||||||
(setq-default initial-scratch-message
|
(setq-default initial-scratch-message
|
||||||
(concat ";; Happy hacking, " user-login-name " - Emacs loves you!\n\n"))
|
(concat ";; Happy hacking, " user-login-name " - Emacs loves you!\n\n"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user