branch: externals/gnu-elpa-keyring-update
commit 33a297c7c21e1a729365eb3c59b4a4116bf8e4b1
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>
* gnu-elpa-keyring-update.el: Improve `Commentary:`
(gnu-elpa-keyring-update): Fix typo.
---
gnu-elpa-keyring-update.el | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/gnu-elpa-keyring-update.el b/gnu-elpa-keyring-update.el
index 0a130bc..e590ac5 100644
--- a/gnu-elpa-keyring-update.el
+++ b/gnu-elpa-keyring-update.el
@@ -32,12 +32,20 @@
;; installing packages.
;;
;; If your keys are already too old, causing signature verification errors when
-;; installing packages, then in order to install this package you will
-;; ironically need to temporarily disable signature verification (see variable
-;; `package-check-signature') or to manually modify the expiration date of
-;; the old key, e.g. with:
+;; installing packages, then in order to install this package you can do the
+;; following:
;;
-;; gpg --homedir ~/.emacs.d/elpa/gnupg --quick-set-expire 474F05837FBDEF9B 1y
+;; - Fetch the new key manually, e.g. with something like:
+;;
+;; gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40
+;;
+;; - Modify the expiration date of the old key, e.g. with something like:
+;;
+;; gpg --homedir ~/.emacs.d/elpa/gnupg \
+;; --quick-set-expire 474F05837FBDEF9B 1y
+;;
+;; - temporarily disable signature verification (see variable
+;; `package-check-signature').
;;; Code:
@@ -76,7 +84,7 @@
(if (not (file-directory-p gnupghome-dir))
(error "No keyring to update!")
(package-import-keyring (gnu-elpa-keyring-update--keyring))
- (write-region "" nil (expand-file-name "gnu-elpa.timestamp" hd)
+ (write-region "" nil (expand-file-name "gnu-elpa.timestamp"
gnupghome-dir)
nil 'silent))))
;;;###autoload (eval-after-load 'package