<feed xmlns='http://www.w3.org/2005/Atom'>
<title>password-store/src, 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>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>
<entry>
<title>Default to xclip if wl-clip is not found</title>
<updated>2021-09-23T21:22:24+00:00</updated>
<author>
<name>Santiago Zarate</name>
<email>santiago@zarate.co</email>
</author>
<published>2021-09-23T12:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=85bb62f47ac2f518bfdb36c5dfedf5938219a9b7'/>
<id>85bb62f47ac2f518bfdb36c5dfedf5938219a9b7</id>
<content type='text'>
In the strange case that the user is jumping back and forth from X11 to
Wayland and viceversa, xclip might be installed but wl-clip might not,
and in such combination user might end up with the -c opion not working.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the strange case that the user is jumping back and forth from X11 to
Wayland and viceversa, xclip might be installed but wl-clip might not,
and in such combination user might end up with the -c opion not working.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove shebang from fish completion</title>
<updated>2021-06-14T22:13:46+00:00</updated>
<author>
<name>Dan Čermák</name>
<email>dcermak@suse.de</email>
</author>
<published>2021-06-14T21:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=3dd14690c7c81ac80e32e942cf5976732faf0fb3'/>
<id>3dd14690c7c81ac80e32e942cf5976732faf0fb3</id>
<content type='text'>
Afaik fish shell completions don't need a shebang
(plus the script is not executable anyway)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Afaik fish shell completions don't need a shebang
(plus the script is not executable anyway)
</pre>
</div>
</content>
</entry>
<entry>
<title>version: bump</title>
<updated>2021-06-11T16:49:06+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-06-11T16:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=1078f2514d579178d5df7042c6a790e9c9b731ad'/>
<id>1078f2514d579178d5df7042c6a790e9c9b731ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore non-printable characters in calls to tree</title>
<updated>2021-06-11T16:47:43+00:00</updated>
<author>
<name>Rémi Lapeyre</name>
<email>remi.lapeyre@lenstra.fr</email>
</author>
<published>2020-03-29T22:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=a60b7ec4dcdce874009b93fd79d53eefa39ad338'/>
<id>a60b7ec4dcdce874009b93fd79d53eefa39ad338</id>
<content type='text'>
In MacOS Catalina, pass fails on accents with 'sed: RE error: illegal
byte sequence'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In MacOS Catalina, pass fails on accents with 'sed: RE error: illegal
byte sequence'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use GPG_OPTS when verifying .gpg-id signature</title>
<updated>2021-06-11T16:44:09+00:00</updated>
<author>
<name>vnctdj</name>
<email>vnctdj@laposte.net</email>
</author>
<published>2021-06-11T16:43:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.m-chrzan.xyz/password-store/commit/?id=d4db24bfc34b29a3a894ebea2caa3ed6724207d7'/>
<id>d4db24bfc34b29a3a894ebea2caa3ed6724207d7</id>
<content type='text'>
I use a pass-specific gpg home directory. I tell pass about it by using
PASSWORD_STORE_GPG_OPTS="--homedir dir".
I also tell pass to sign files with PASSWORD_STORE_SIGNING_KEY.

However "pass init" returns "Signing of .gpg_id unsuccessful." because
we forgot to hand it GPG_OPTS. This patch fixes that oversight.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I use a pass-specific gpg home directory. I tell pass about it by using
PASSWORD_STORE_GPG_OPTS="--homedir dir".
I also tell pass to sign files with PASSWORD_STORE_SIGNING_KEY.

However "pass init" returns "Signing of .gpg_id unsuccessful." because
we forgot to hand it GPG_OPTS. This patch fixes that oversight.
</pre>
</div>
</content>
</entry>
</feed>
