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

tang: fix clevis-encrypt-tang when specifying a SHA-256 thp #305

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

sergio-correia
Copy link
Collaborator

After #264, we have started using SHA-256 for the JWK thumbprints,
however an issue was introduced causing clevis to output data to stdout
in certain situations which in turn would render the output of the
encryption malformed.

This commit fixes this issue and updates the tests to catch this
scenario.

Fixes: #304

After latchset#264, we have started using SHA-256 for the JWK thumbprints,
however an issue was introduced causing clevis to output data to stdout
in certain situations which in turn would render the output of the
encryption malformed.

This commit fixes this issue and updates the tests to catch this
scenario.
@sergio-correia sergio-correia merged commit 4201fb5 into latchset:master Apr 15, 2021
@sergio-correia sergio-correia deleted the issue-304 branch April 15, 2021 10:41
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.

Tang SHA256 encryption returns malformed output
1 participant