We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bff8175 + 9d0a8fc commit 16374a7Copy full SHA for 16374a7
src/scitokens_internal.h
@@ -89,7 +89,7 @@ class SciTokenKey {
89
if (m_name == "RS256") {
90
jwt::algorithm::rs256(m_public, m_private).verify(data, signature);
91
} else if (m_name == "ES256") {
92
- jwt::algorithm::rs256(m_public, m_private).verify(data, signature);
+ jwt::algorithm::es256(m_public, m_private).verify(data, signature);
93
} else {
94
throw jwt::signature_verification_exception("Provided algorithm is not supported.");
95
}
0 commit comments