[PATCH] Fix show -c/-q with large entries
Judd Montgomery
judd at jpilot.org
Mon Jun 12 13:42:41 UTC 2023
On 6/11/23 15:24, Jö Fahlke wrote:
> Hi,
>
> I noticed that for one entry in my pass store `show -c` had stopped working.
> Apparently I went a bit overboard with supplemental information in that entry
> and now `show -c` was reporting a SIGPIPE since earlier commands in some
> internal pipeline were still trying to write while later commands had already
> extracted the password line and closed the read end.
>
> Attached are two patches, one that adds some tests to detect this situation,
> and one that fixes the actual problem. Although I saw the problem initially
> with `show -c`, the tests are written for `show -q` since that seems easier to
> do portably.
>
> Note: tested on Linux only since that's all I have access to.
>
> Thanks for your work,
> Jö.
>
Hi,
I submitted a patch for this in Feb. Unfortunately, I don't think
anyone is maintaining this code anymore.
https://lists.zx2c4.com/pipermail/password-store/2023-January/004703.html
https://lists.zx2c4.com/pipermail/password-store/2023-January/004716.html
Judd
More information about the Password-Store
mailing list