Git-secret: Silent error on secret hide when GPG key expires

Created on 12 Jun 2018  路  8Comments  路  Source: sobolevn/git-secret

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).

enhancement

All 8 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eduncan911 picture eduncan911  路  8Comments

sobolevn picture sobolevn  路  5Comments

joshrabinowitz picture joshrabinowitz  路  4Comments

alumarcu picture alumarcu  路  3Comments

tonyskapunk picture tonyskapunk  路  5Comments