Skip to content

Ecdsa final multi algos#265

Merged
cviecco merged 4 commits intoCloud-Foundations:masterfrom
cviecco:ecdsa-final-multi-algos
Mar 15, 2025
Merged

Ecdsa final multi algos#265
cviecco merged 4 commits intoCloud-Foundations:masterfrom
cviecco:ecdsa-final-multi-algos

Conversation

@cviecco
Copy link
Copy Markdown
Contributor

@cviecco cviecco commented Mar 15, 2025

No description provided.

tok, err := jwt.ParseSigned(codeString, []jose.SignatureAlgorithm{sigAlgo})
incomingAlgos, err := state.getJoseKeymastedVerifierList()
if err != nil {
state.writeFailureResponse(w, r, http.StatusInternalServerError, "")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about logging the error?

sigAlgo, err := publicToPreferedJoseSigAlgo(state.Signer.Public())
incomingAlgos, err := state.getJoseKeymastedVerifierList()
if err != nil {
state.writeFailureResponse(w, r, http.StatusInternalServerError, "")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about logging the error?

@cviecco cviecco merged commit 5ab7d87 into Cloud-Foundations:master Mar 15, 2025
9 checks passed
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