gopasspw / gopass

The slightly more awesome standard unix password manager for teams
https://www.gopass.pw/
MIT License
5.93k stars 497 forks source link

gopass fsck --decrypt should mention filename where decryption fails #2898

Closed darix closed 3 months ago

darix commented 5 months ago

Summary

currently only it only shows the gpg error message that decryption failed.

also it might be helpful to summarize all filenames in the end which couldnt be reencrypted.

Steps To Reproduce

run gopass fsck --decrypt with an entry which you cant decrypt

Expected behavior

I get a list of files that cant be reencrypted

Environment

dominikschulz commented 4 months ago

@darix For easier reproducibility please provide the full error message.

darix commented 3 months ago

how about this simple idea:

when ever you call gpg and the process fails. you have the filename you passed to gpg in the error message?

dominikschulz commented 3 months ago

It still depends on it's called exactly so we can properly pass and format the filename. I can add it to the debug log, but that will require extra steps to show up.

If you'd prefer to have it in the regular output please do provide the requested information.