Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent error on secret hide when GPG key expires #202

Closed
rjcoelho opened this issue Jun 12, 2018 · 8 comments
Closed

Silent error on secret hide when GPG key expires #202

rjcoelho opened this issue Jun 12, 2018 · 8 comments

Comments

@rjcoelho
Copy link

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

@sobolevn
Copy link
Owner

sobolevn commented Jun 12, 2018

Yeap, that's true. This check should also happen when we try to add (git secret tell) an expired key.

@rjcoelho
Copy link
Author

Basically any call to gpg should check for error codes and report then to stderr (and stop the command). Again if this is possible.

@joshrabinowitz
Copy link
Collaborator

Could someone write a test in a PR to show the problem?

@joshrabinowitz
Copy link
Collaborator

@rjcoelho I think this is what you're asking for: PR #205 'more careful error checking running gpg'

@joshrabinowitz
Copy link
Collaborator

I think we can close this, @rjcoelho please let us know if PR #205 fixes the issues you raise here.

@rjcoelho
Copy link
Author

@joshrabinowitz it solve my issue. Thanks for such a speedy solution.

@joshrabinowitz
Copy link
Collaborator

joshrabinowitz commented Jun 15, 2018

re-opened until #205 is in the released code merged.

@joshrabinowitz joshrabinowitz changed the title Silence error on secret hide when GPG key expires Silent error on secret hide when GPG key expires Jun 15, 2018
@joshrabinowitz joshrabinowitz changed the title Silent error on secret hide when GPG key expires bug: Silent error on secret hide when GPG key expires Jun 15, 2018
@joshrabinowitz joshrabinowitz changed the title bug: Silent error on secret hide when GPG key expires Silent error on secret hide when GPG key expires Jun 15, 2018
@joshrabinowitz
Copy link
Collaborator

this is a dup o #238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants