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

"jwx jwk parse" is no longer used #1172

Closed
kg0r0 opened this issue Aug 29, 2024 · 2 comments
Closed

"jwx jwk parse" is no longer used #1172

kg0r0 opened this issue Aug 29, 2024 · 2 comments
Assignees

Comments

@kg0r0
Copy link
Contributor

kg0r0 commented Aug 29, 2024

As per the document, we can use jwx jwk parse command to parse PEM encoded key.
But, it seems that the jwx jwk parse command is no longer used. so I think we need to use jwx jwk format instead to do it.

$  jwx jwk parse --input-format pem ec.pem
No help topic for 'parse'

$ jwx jwk --help
NAME:
   jwx jwk - Work with JWK and JWK sets

USAGE:
   jwx jwk command [command options] [arguments...]

COMMANDS:
   generate, gen  Generate a new JWK private key
   format, fmt    Format JWK
   help, h        Shows a list of commands or help for one command

OPTIONS:
   --help, -h  show help

$ jwx jwk format --input-format pem --output-format json ec.pem
{
  "crv": "P-256",
   ...
}

How about I think the document needs to be fixed as above?

@lestrrat
Copy link
Collaborator

lestrrat commented Sep 2, 2024

Thanks. PRs welcome :)

@kg0r0
Copy link
Contributor Author

kg0r0 commented Sep 4, 2024

I will close this Issue as the PR has been merged. Thanks for the quick handling!

@kg0r0 kg0r0 closed this as completed Sep 4, 2024
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

2 participants