[PATCH] Fix show -c/-q with large entries

Thomas Dupond thomas at dupond.eu
Mon Jun 12 15:49:33 UTC 2023


Hi,

Le 2023-06-12 à 15:42, Judd Montgomery a écrit :
> 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

I have the same issue, I have saved a master gpg key in my password 
store and I encounter the SIGPIPE error now.

Too bad that this is not maintained anymore.  Is there any equivalent to 
this ?

--
Thomas Dupond


More information about the Password-Store mailing list