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

HTTP Signature fix to work according to specification. #2884

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

tomas-langer
Copy link
Member

@tomas-langer tomas-langer commented Mar 25, 2021

During integration with OCI I have discovered that our implementation of HTTP Signatures adds an unexpected end of line to the end of the signed text.
This fix is backward compatible, but allows configuration change to use "spec-compatible" version of the provider/outbound target.
The configuration key is backward-compatible-eol, defaults to true. Configuring it to false will make it behave as the spec requires.
This should be changed in 3.0.0

Also added support to use a custom TokenHandler to put the signature in any header.

@tomas-langer tomas-langer requested a review from Verdent March 25, 2021 16:31
@tomas-langer tomas-langer self-assigned this Mar 25, 2021
@tomas-langer tomas-langer merged commit a415867 into helidon-io:master Mar 26, 2021
@tomas-langer tomas-langer deleted the 2416-http-sign-changes branch March 26, 2021 10:18
aseovic pushed a commit to aseovic/helidon that referenced this pull request Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants