Skip to content

Conversation

@fin09pcap
Copy link
Member

Rel:

When testing the update update; it was discovered that a templated jwk didn't include all of the required fields needed for signing.

Notes

How To reproduce

$ echo '{{ $k := cryptoPair "rsa" }}{{ $k.Private | toJwk }}' | harp template | jq .
[
  "d",
  "dp",
  "dq",
  "e",
  "kid",
  "kty",
  "n",
  "p",
  "q",
  "qi"
]

When generating via the cli.

[
  "alg",
  "d",
  "dp",
  "dq",
  "e",
  "kty",
  "n",
  "p",
  "q",
  "qi"
]

Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
…nd templates

Signed-off-by: Ben Stickel <ben.stickel@elastic.co>
@fin09pcap fin09pcap marked this pull request as ready for review October 15, 2025 19:42
@fin09pcap fin09pcap requested a review from a team as a code owner October 15, 2025 19:42
@fin09pcap fin09pcap self-assigned this Oct 15, 2025
@fin09pcap fin09pcap merged commit 6d2f327 into elastic:main Oct 15, 2025
13 of 14 checks passed
@fin09pcap fin09pcap deleted the bug/add_alg_to_jwk branch October 15, 2025 21:57
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.

2 participants