When a GPG key expires we get no output when doing a "git secret hide". We should get a GPG key expired error message (if possible).
Yeap, that's true. This check should also happen when we try to add (git secret tell) an expired key.
Basically any call to gpg should check for error codes and report then to stderr (and stop the command). Again if this is possible.
Could someone write a test in a PR to show the problem?
@rjcoelho I think this is what you're asking for: PR #205 'more careful error checking running gpg'
I think we can close this, @rjcoelho please let us know if PR #205 fixes the issues you raise here.
@joshrabinowitz it solve my issue. Thanks for such a speedy solution.
re-opened until #205 is ~in the released code~ merged.
this is a dup o #238