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

How do you read the header? #330

Open
kaihendry opened this issue Dec 21, 2021 · 0 comments
Open

How do you read the header? #330

kaihendry opened this issue Dec 21, 2021 · 0 comments

Comments

@kaihendry
Copy link

In this library, are there any convenience functions to read the header?

echo -n message | step-cli crypto jws sign --jku=https://raw.githubusercontent.com/venturemark/jwks/main/.well-known/keys.json --key priv.json | base64 -d
Please enter the password to decrypt priv.json:
{"alg":"ES256","jku":"https://raw.githubusercontent.com/venturemark/jwks/main/.well-known/keys.json","kid":"z2U_owemqRLOQYEhiSX1fUrPp72hXSG6dKy8qUvu1DY"}base64: invalid input
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

1 participant