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

handle @filename for HMAC secrets #130

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

lizfeed
Copy link
Contributor

@lizfeed lizfeed commented Jun 16, 2021

fixes #109

Summary

I didn't notice #111 until after I wrote this! I've got tests at least.

I don't love reaching deeper inside the bowels of main.rs to test a lower level method, but this was the most expedient way I found. I couldn't do the normal encode/decode thing, because @/some/file would still symmetrically encode/decode!

I also hand-verified an example using the jwt.io debugger.

Preflight checklist

  • Code formatted with rustfmt
  • Relevant tests added
  • Any new documentation added

@mike-engel mike-engel merged commit 7e359f6 into mike-engel:main Jul 21, 2021
@mike-engel
Copy link
Owner

Thanks for your patience and for the PR @lizfeed! This will be included in the next version

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

Successfully merging this pull request may close these issues.

@ prefix to read a binary file cannot be used with HMAC algorithms
2 participants