From 3a108277637fad89869d904eea963aeb8f45b20d Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Thu, 29 Aug 2019 05:18:06 +0200 Subject: Support extractions of secret fields other than password Allow users to retrieve any secret field stored in the files. Use auth-source-pass to retrieve the secret fields. Bump version to v2.1.0. * contrib/emacs/Cask: Replace dependency on `s' library with auth-source-pass dependency. * contrib/emacs/password-store.el (password-store-url-field): New option. (password-store-dir): Use `auth-source-pass-filename'. (password-store-read-field, password-store-get-field) (password-store-copy-field, password-store-parse-entry): New functions. (password-store-read-field): Use password-store-parse-entry. (password-store--save-field-in-kill-ring): New function extracted from `password-store-get'. (password-store-url): Use `password-store-get-field' and `password-store-url-field'. * contrib/emacs/README.md: Update documentation. * contrib/emacs/CHANGELOG.md: Announce changes. --- contrib/emacs/Cask | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/emacs/Cask') diff --git a/contrib/emacs/Cask b/contrib/emacs/Cask index 474611f..f46b166 100644 --- a/contrib/emacs/Cask +++ b/contrib/emacs/Cask @@ -5,8 +5,8 @@ (development (depends-on "f") - (depends-on "s") (depends-on "with-editor") (depends-on "ecukes") (depends-on "ert-runner") - (depends-on "el-mock")) + (depends-on "el-mock") + (depends-on "auth-source-pass")) -- cgit v1.2.3