gnu: emacs-password-store: 2.1.4-1.918992c [security fix].
Includes a fix to no longer store clear passwords in a temporary file, see commit 7aa17d099577730d2d65332896b74d5865b22abf for details. * gnu/packages/emacs-xyz.scm (emacs-password-store): Update to 2.1.4-1.918992c. [propagated-inputs]: Remove emacs-f, add emacs-auth-source-pass.
This commit is contained in:
parent
4a8b529ce1
commit
fd2751f89f
1 changed files with 38 additions and 32 deletions
|
@ -15041,39 +15041,45 @@ close, copy, cut, paste, undo, redo.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-password-store
|
(define-public emacs-password-store
|
||||||
(package
|
(let ((commit "918992c19231b33b3d4a3288a7288a620e608cb4")
|
||||||
(name "emacs-password-store")
|
(revision "1"))
|
||||||
(version "1.7.3")
|
(package
|
||||||
(source (origin
|
(name "emacs-password-store")
|
||||||
(method url-fetch)
|
;; The emacs package version does not match the password-store version,
|
||||||
(uri
|
;; even though it is part of the same repository. When updating, look
|
||||||
(string-append "https://git.zx2c4.com/password-store/snapshot/"
|
;; at the version declared in password-store.el.
|
||||||
"password-store-" version ".tar.xz"))
|
(version (git-version "2.1.4" revision commit))
|
||||||
(sha256
|
(source (origin
|
||||||
(base32
|
(method git-fetch)
|
||||||
"1x53k5dn3cdmvy8m4fqdld4hji5n676ksl0ql4armkmsds26av1b"))))
|
(uri (git-reference
|
||||||
(build-system emacs-build-system)
|
(url "git://git.zx2c4.com/password-store")
|
||||||
(arguments
|
(commit commit)))
|
||||||
`(#:phases
|
(sha256
|
||||||
(modify-phases %standard-phases
|
(base32
|
||||||
(add-after 'unpack 'extract-el-file
|
"0ni62f4pq96g0i0q66bch1dl9k4zqwhg7xaf746k3gbbqxcdh3vi"))
|
||||||
(lambda _
|
(file-name (git-file-name name version))))
|
||||||
(copy-file "contrib/emacs/password-store.el" "password-store.el")
|
(build-system emacs-build-system)
|
||||||
(delete-file-recursively "contrib")
|
(arguments
|
||||||
(delete-file-recursively "man")
|
`(#:phases
|
||||||
(delete-file-recursively "src")
|
(modify-phases %standard-phases
|
||||||
(delete-file-recursively "tests"))))))
|
(add-after 'unpack 'extract-el-file
|
||||||
(propagated-inputs
|
(lambda _
|
||||||
`(("emacs-f" ,emacs-f)
|
(copy-file "contrib/emacs/password-store.el" "password-store.el")
|
||||||
("emacs-s" ,emacs-s)
|
(delete-file-recursively "contrib")
|
||||||
("emacs-with-editor" ,emacs-with-editor)
|
(delete-file-recursively "man")
|
||||||
("password-store" ,password-store)))
|
(delete-file-recursively "src")
|
||||||
(home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs")
|
(delete-file-recursively "tests"))))))
|
||||||
(synopsis "Password store (pass) support for Emacs")
|
(propagated-inputs
|
||||||
(description
|
`(("emacs-auth-source-pass" ,emacs-auth-source-pass)
|
||||||
"This package provides functions for working with pass (\"the
|
("emacs-s" ,emacs-s)
|
||||||
|
("emacs-with-editor" ,emacs-with-editor)
|
||||||
|
("password-store" ,password-store)))
|
||||||
|
(home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs")
|
||||||
|
(synopsis "Password store (pass) support for Emacs")
|
||||||
|
(description
|
||||||
|
"This package provides functions for working with pass (\"the
|
||||||
standard Unix password manager\").")
|
standard Unix password manager\").")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+))))
|
||||||
|
|
||||||
(define-public emacs-auth-source-pass
|
(define-public emacs-auth-source-pass
|
||||||
(let ((commit "847a1f54ed48856b4dfaaa184583ef2c84173edf")
|
(let ((commit "847a1f54ed48856b4dfaaa184583ef2c84173edf")
|
||||||
|
|
Reference in a new issue