<feed xmlns='http://www.w3.org/2005/Atom'>
<title>password-store, 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>Update README</title>
<updated>2022-07-01T06:37:22+00:00</updated>
<author>
<name>Marcin Chrzanowski</name>
<email>marcin.j.chrzanowski@gmail.com</email>
</author>
<published>2020-05-31T10:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=2617ed3dc587b16d0c748876ede76e03ae9d167b'/>
<id>2617ed3dc587b16d0c748876ede76e03ae9d167b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document OTP flags</title>
<updated>2022-07-01T06:37:20+00:00</updated>
<author>
<name>Marcin Chrzanowski</name>
<email>marcin.j.chrzanowski@gmail.com</email>
</author>
<published>2020-05-31T10:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=0aeec8cd7727883214158e910e340e00f493f168'/>
<id>0aeec8cd7727883214158e910e340e00f493f168</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't eat dmenu arguments</title>
<updated>2022-07-01T06:34:04+00:00</updated>
<author>
<name>Marcin Chrzanowski</name>
<email>marcin.j.chrzanowski@gmail.com</email>
</author>
<published>2020-05-31T10:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=c9a74565af12fa93b6e0b0bac1c5235033bed343'/>
<id>c9a74565af12fa93b6e0b0bac1c5235033bed343</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for pass-otp in passmenu</title>
<updated>2022-07-01T06:33:57+00:00</updated>
<author>
<name>Marcin Chrzanowski</name>
<email>marcin.j.chrzanowski@gmail.com</email>
</author>
<published>2020-05-31T10:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=667e72fe88e66fa734ba0b5b20fe2834df9f4c18'/>
<id>667e72fe88e66fa734ba0b5b20fe2834df9f4c18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Ensure compatibility with tree 2.0</title>
<updated>2022-01-17T16:55:06+00:00</updated>
<author>
<name>Marius Bakke</name>
<email>marius@gnu.org</email>
</author>
<published>2022-01-17T16:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=eea24967a002a2a81ae9b97a1fe972b5287f3a09'/>
<id>eea24967a002a2a81ae9b97a1fe972b5287f3a09</id>
<content type='text'>
Tree 2.0 and later will unconditionally ignore all options and write
JSON data on file descriptor 3 when available, which causes problems
for the test harness and other scripts that use FD 3.  Work around by
closing descriptor 3 for the 'tree' command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tree 2.0 and later will unconditionally ignore all options and write
JSON data on file descriptor 3 when available, which causes problems
for the test harness and other scripts that use FD 3.  Work around by
closing descriptor 3 for the 'tree' command.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unecessary reencryptions on MacOS</title>
<updated>2021-09-23T21:31:03+00:00</updated>
<author>
<name>Sam W</name>
<email>sam@wlcx.cc</email>
</author>
<published>2021-06-26T22:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=04cd3023f48cd203f6c0193e57a427226e8b431c'/>
<id>04cd3023f48cd203f6c0193e57a427226e8b431c</id>
<content type='text'>
POSIX sed doesn't support \+ in BREs which causes the regex that
extracts a file's current keys to return nothing, meaning that files
are unecessarily reencrypted.
This converts the regex in question to use ERE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
POSIX sed doesn't support \+ in BREs which causes the regex that
extracts a file's current keys to return nothing, meaning that files
are unecessarily reencrypted.
This converts the regex in question to use ERE.
</pre>
</div>
</content>
</entry>
<entry>
<title>Exclude `*/.extensions` from grep/reencrypt</title>
<updated>2021-09-23T21:28:59+00:00</updated>
<author>
<name>Axel Tripier</name>
<email>axel@tripier.fr</email>
</author>
<published>2021-07-02T17:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=fde8baea4c7886237ef5acc26a18a9ecbb97c432'/>
<id>fde8baea4c7886237ef5acc26a18a9ecbb97c432</id>
<content type='text'>
The `.extensions` directory can contain extensions code, for example as
git submodules, that have `.gpg` files as part of their code but that
are not files encrypted with the PGP keys of our password store.

One example is `pass-tomb`, that contains `.gpg` files in `tests/gnupg`,
but there are more, like `pass-update`, `pass-otp`, etc.

However those `.gpg` files in the `.extensions` directory are currently
processed by the `grep` and `reencrypt` functions of `pass`.

At best this can cause errors to be shown to the user when
grepping/reencrypting, and at worst it can cause files in the
`.extensions` directory to be decrypted and returned as part of a
search, or reencrypted with the incorrect PGP keys.

This patch tries to mitigate that issue by removing the `*/.extensions`
directories from the list of processed `.gpg` files for the
grep/reencrypt functions.

However this patch is not perfect as it does not take into account the
fact that the `.extensions` directory can be renamed to something else
using `PASSWORD_STORE_EXTENSIONS_DIR`. But knowing if this
`PASSWORD_STORE_EXTENSIONS_DIR` is inside the `PREFIX` or not and
formatting the path exclusion for `find` accordingly could require a
fair bit of additional logic that I am not sure how you want to
implement.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `.extensions` directory can contain extensions code, for example as
git submodules, that have `.gpg` files as part of their code but that
are not files encrypted with the PGP keys of our password store.

One example is `pass-tomb`, that contains `.gpg` files in `tests/gnupg`,
but there are more, like `pass-update`, `pass-otp`, etc.

However those `.gpg` files in the `.extensions` directory are currently
processed by the `grep` and `reencrypt` functions of `pass`.

At best this can cause errors to be shown to the user when
grepping/reencrypting, and at worst it can cause files in the
`.extensions` directory to be decrypted and returned as part of a
search, or reencrypted with the incorrect PGP keys.

This patch tries to mitigate that issue by removing the `*/.extensions`
directories from the list of processed `.gpg` files for the
grep/reencrypt functions.

However this patch is not perfect as it does not take into account the
fact that the `.extensions` directory can be renamed to something else
using `PASSWORD_STORE_EXTENSIONS_DIR`. But knowing if this
`PASSWORD_STORE_EXTENSIONS_DIR` is inside the `PREFIX` or not and
formatting the path exclusion for `find` accordingly could require a
fair bit of additional logic that I am not sure how you want to
implement.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing local variable declaration</title>
<updated>2021-09-23T21:27:29+00:00</updated>
<author>
<name>Axel Tripier</name>
<email>axel@tripier.fr</email>
</author>
<published>2021-07-02T16:56:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=ba454e41f67d22e0baa4388e130d9e0c03813bc3'/>
<id>ba454e41f67d22e0baa4388e130d9e0c03813bc3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace 'which' with POSIX equivalent 'command -v'</title>
<updated>2021-09-23T21:25:28+00:00</updated>
<author>
<name>Ayush Agarwal</name>
<email>ayush@fastmail.in</email>
</author>
<published>2021-09-15T17:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=a80a3189458a86f29f61d980b4ad977594199864'/>
<id>a80a3189458a86f29f61d980b4ad977594199864</id>
<content type='text'>
The 'which' command is an external command that must be called each and
every time pass is used. 'which' is also not mentioned in the README as
one of the dependencies that might be needed to run pass.

Instead of 'which', we can use the POSIX compatible and shell built-in
'command -v'. It saves pass from making an external call and is,
arguably, more reliable than using 'which' as mentioned in the following
link.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'which' command is an external command that must be called each and
every time pass is used. 'which' is also not mentioned in the README as
one of the dependencies that might be needed to run pass.

Instead of 'which', we can use the POSIX compatible and shell built-in
'command -v'. It saves pass from making an external call and is,
arguably, more reliable than using 'which' as mentioned in the following
link.
</pre>
</div>
</content>
</entry>
</feed>
