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

failure to import key should have a higher logging level than INFO #1178

Closed
cyc115 opened this issue Jun 2, 2017 · 2 comments
Closed

failure to import key should have a higher logging level than INFO #1178

cyc115 opened this issue Jun 2, 2017 · 2 comments

Comments

@cyc115
Copy link

cyc115 commented Jun 2, 2017

At the moment importing malformed keys with the notary client raises no error. using the debug flag -D we can see the error is being logged at INFO level.

eg.

notary key import priv.key -D
> DEBU[0000] Using the following trust directory: /Users/XXX/.docker/trust
> INFO[0000] failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header
@endophage
Copy link
Contributor

looks like this was closed by #1179?

@riyazdf
Copy link
Contributor

riyazdf commented Aug 1, 2017

@endophage: 👍 yes!

@riyazdf riyazdf closed this as completed Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants