<feed xmlns='http://www.w3.org/2005/Atom'>
<title>password-store/contrib/emacs, branch master</title>
<subtitle>Fork of https://git.zx2c4.com/password-store/about/ with support for pass-otp in the dmenu script
</subtitle>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/'/>
<entry>
<title>emacs: Fix an infloop on Windows enviroments</title>
<updated>2022-03-06T22:30:56+00:00</updated>
<author>
<name>Tino Calancha</name>
<email>tino.calancha@gmail.com</email>
</author>
<published>2022-03-06T22:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=c4d8a1d815e79ddd89a85d3e36a41d29f0475771'/>
<id>c4d8a1d815e79ddd89a85d3e36a41d29f0475771</id>
<content type='text'>
The infloop has been observed in calls to `pasword-store--run'
for pass v1.7.4 in a Windows/WSL2 enviroment.

When this happens, the sentinel in `password-store--run-1'
doesn't call the callback.

* contrib/emacs/password-store.el (password-store--run-1):
Prefer `process-status' over the string comparison to check the
process status.

Problem reported by Kai Tetzlaff &lt;pwstore@tetzco.de&gt;:
https://lists.zx2c4.com/pipermail/password-store/2022-February/004583.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The infloop has been observed in calls to `pasword-store--run'
for pass v1.7.4 in a Windows/WSL2 enviroment.

When this happens, the sentinel in `password-store--run-1'
doesn't call the callback.

* contrib/emacs/password-store.el (password-store--run-1):
Prefer `process-status' over the string comparison to check the
process status.

Problem reported by Kai Tetzlaff &lt;pwstore@tetzco.de&gt;:
https://lists.zx2c4.com/pipermail/password-store/2022-February/004583.html
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: Drop dependency on f library</title>
<updated>2020-03-28T12:14:28+00:00</updated>
<author>
<name>Philip K</name>
<email>philip@warpmail.net</email>
</author>
<published>2020-03-28T12:14:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=98193d3bbb3538eda457d0db4ccccbcc4b04ce3d'/>
<id>98193d3bbb3538eda457d0db4ccccbcc4b04ce3d</id>
<content type='text'>
The "f" library is a rather thin translation layer for already
existing Emacs functions.  Most functions directly map to an already
existing function (eg. "f-no-ext" and "file-name-sans-extension").  For
this reason, removing "f" comes at no cost while reducing the number
of dependencies one has to count on and the user has to install.

Co-authored-by: Tino Calancha &lt;tino.calancha@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "f" library is a rather thin translation layer for already
existing Emacs functions.  Most functions directly map to an already
existing function (eg. "f-no-ext" and "file-name-sans-extension").  For
this reason, removing "f" comes at no cost while reducing the number
of dependencies one has to count on and the user has to install.

Co-authored-by: Tino Calancha &lt;tino.calancha@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: Update docstring of password-store-clear</title>
<updated>2019-09-29T16:27:29+00:00</updated>
<author>
<name>Tino Calancha</name>
<email>tino.calancha@gmail.com</email>
</author>
<published>2019-09-29T16:27:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=b830119762416fa8706e479e9b01f2453d6f6ad6'/>
<id>b830119762416fa8706e479e9b01f2453d6f6ad6</id>
<content type='text'>
Clarify that the optional argument is only used in the `message' call.
Bump version to v2.1.3.
* contrib/emacs/password-store.el (password-store-clear): Update docstring.
* contrib/emacs/CHANGELOG.md: Document this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clarify that the optional argument is only used in the `message' call.
Bump version to v2.1.3.
* contrib/emacs/password-store.el (password-store-clear): Update docstring.
* contrib/emacs/CHANGELOG.md: Document this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: Make parameter optional in password-store-clear</title>
<updated>2019-09-16T20:27:49+00:00</updated>
<author>
<name>Sergey Trofimov</name>
<email>sarg@sarg.org.ru</email>
</author>
<published>2019-09-16T20:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=e74a1c738f7cda65c7a308e30e8d122f853d6f70'/>
<id>e74a1c738f7cda65c7a308e30e8d122f853d6f70</id>
<content type='text'>
This change preserves backward compatibility with previous
version of the function.
Bump version to v2.1.2.

* contrib/emacs/password-store.el (password-store-clear):
Make argument FIELD optional.

* contrib/emacs/CHANGELOG.md: Announce this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change preserves backward compatibility with previous
version of the function.
Bump version to v2.1.2.

* contrib/emacs/password-store.el (password-store-clear):
Make argument FIELD optional.

* contrib/emacs/CHANGELOG.md: Announce this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: Check that auth-source-pass-filename is bound before use it</title>
<updated>2019-08-29T10:54:23+00:00</updated>
<author>
<name>Tino Calancha</name>
<email>tino.calancha@gmail.com</email>
</author>
<published>2019-08-29T10:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=b87e91f984f45615b6459ff3829baa9130b8ef75'/>
<id>b87e91f984f45615b6459ff3829baa9130b8ef75</id>
<content type='text'>
For auth-source-pass versions &lt; 5.0.0, auth-source-pass-filename
is not defined; thus, we must check that this variable exists before
use it.

* contrib/emacs/password-store.el (password-store-dir): Call
bound-and-true-p on auth-source-pass-filename.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For auth-source-pass versions &lt; 5.0.0, auth-source-pass-filename
is not defined; thus, we must check that this variable exists before
use it.

* contrib/emacs/password-store.el (password-store-dir): Call
bound-and-true-p on auth-source-pass-filename.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support extractions of secret fields other than password</title>
<updated>2019-08-29T03:18:06+00:00</updated>
<author>
<name>Tino Calancha</name>
<email>tino.calancha@gmail.com</email>
</author>
<published>2019-08-29T03:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=3a108277637fad89869d904eea963aeb8f45b20d'/>
<id>3a108277637fad89869d904eea963aeb8f45b20d</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: Improve password-store-insert message on success/failure</title>
<updated>2019-08-27T09:23:06+00:00</updated>
<author>
<name>Tino Calancha</name>
<email>tino.calancha@gmail.com</email>
</author>
<published>2019-08-27T09:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=b760f374c48ca1f98ab289e202af5306da79dc70'/>
<id>b760f374c48ca1f98ab289e202af5306da79dc70</id>
<content type='text'>
Before, the following message was shown:
"Enter contents of ENTRY and press Ctrl+D when finished:\n\n"

Since the command is not interactive, it is better to show users
specific messages on success/failure.

* contrib/emacs/password-store.el (password-store-insert):
Improve message shown on success/failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before, the following message was shown:
"Enter contents of ENTRY and press Ctrl+D when finished:\n\n"

Since the command is not interactive, it is better to show users
specific messages on success/failure.

* contrib/emacs/password-store.el (password-store-insert):
Improve message shown on success/failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Re add password-store-timeout for backward compatibility</title>
<updated>2019-08-26T05:42:32+00:00</updated>
<author>
<name>Tino Calancha</name>
<email>tino.calancha@gmail.com</email>
</author>
<published>2019-08-26T05:42:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=7c1b7e5fea36e656a95267fe3e256573504f3ada'/>
<id>7c1b7e5fea36e656a95267fe3e256573504f3ada</id>
<content type='text'>
Some libraries rely on this function, e.g. password-store-otp library.

* contrib/emacs/password-store.el (password-store-timeout):
Re include this function; now it just returns
password-store-time-before-clipboard-restore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some libraries rely on this function, e.g. password-store-otp library.

* contrib/emacs/password-store.el (password-store-timeout):
Re include this function; now it just returns
password-store-time-before-clipboard-restore.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: Prefer to use Emacs builtin customization machinery</title>
<updated>2019-08-26T01:04:02+00:00</updated>
<author>
<name>Tino Calancha</name>
<email>tino.calancha@gmail.com</email>
</author>
<published>2019-08-22T15:03:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=cd1c0754ae01b923be193b00a0318fffcc524947'/>
<id>cd1c0754ae01b923be193b00a0318fffcc524947</id>
<content type='text'>
Using a customizable variable is the preferred way to set
a parameter within Emacs;  replace password-store-timeout with
the new option password-store-time-before-clipboard-restore.

The default value for this variable uses the environment var
PASSWORD_STORE_CLIP_TIME when set; this is the same behavior
as before.

Add Maintainer header.
* contrib/emacs/password-store.el (password-store-password-length):
Increased default value from 8 to 25, i.e. same default as
in the shell script.

(password-store-time-before-clipboard-restore): New option.
(password-store-timeout): Delete it.
Use the new option instead; all callers updated.

* contrib/emacs/CHANGELOG.md: Announce the features.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using a customizable variable is the preferred way to set
a parameter within Emacs;  replace password-store-timeout with
the new option password-store-time-before-clipboard-restore.

The default value for this variable uses the environment var
PASSWORD_STORE_CLIP_TIME when set; this is the same behavior
as before.

Add Maintainer header.
* contrib/emacs/password-store.el (password-store-password-length):
Increased default value from 8 to 25, i.e. same default as
in the shell script.

(password-store-time-before-clipboard-restore): New option.
(password-store-timeout): Delete it.
Use the new option instead; all callers updated.

* contrib/emacs/CHANGELOG.md: Announce the features.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: require matching password for completion</title>
<updated>2019-08-04T20:04:46+00:00</updated>
<author>
<name>ibizaman</name>
<email>ibizapeanut@gmail.com</email>
</author>
<published>2019-06-28T17:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=e93e03705fb5b81f3af85f04c07ad0ee2190b6aa'/>
<id>e93e03705fb5b81f3af85f04c07ad0ee2190b6aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
