KeyProvider-style API for signature schemes (HMAC)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java
调研方向
从 KeyProvider API 和 HMACAlgorithm 开始,然后查看 README、EXAMPLES.md 和 API 文档,以比较现有的非对称流程与 HMAC。定义所提议的对称密钥提供程序行为,包括密钥 ID 和 claims 验证,并在实现之前记录 API 将如何支持密钥轮换。
由索引模型根据 Issue 内容生成。
描述
Checklist
- I have looked into the Readme and Examples, and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
I am working on a project just for fun to learn a little more about JWTs
There is a handy KeyProvider API for asymmetric encryption schemes that allow identifying keys by a KID and validating a claims from a set of potential keys. A similar API for HMAC (which has no public key) is not available.
KeyIDs are handy when setting up secret key rotation, so an equivalent API for HMAC would be handy.
Describe the ideal solution
A KeyProvider-style API specifically for HMAC which does away with the public key part aspect and solely focuses on keys with only a private portion (could also cover symmetric keys).
Alternatives and current workarounds
I considered extending HMACAlgorithm to do this, but all the relevant classes are locked down.
Additional context
None
- 主要语言
- Java
- 星标
- 6.2k
- 派生
- 947
- 平均合并
- 52 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
auth0/java-jwt 的其他 Issue
-
Date claims before the Unix epoch are rounded toward zero可能已有人在做 @hossam1244 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 1 天内回复
-
Out-of-range NumericDate claims can throw unchecked DateTimeException during verification可能已有人在做 @ANSHUL-REAL 于 75 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 72/100
维护者通常 1 天内回复
-
Upgrade Jackson 2 => Jackson 3可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭feature request
难度 4/5 3-5 天 新手友好度 45/100
auth0/java-jwt#730 · 6 条评论 · 16 个 reaction ·
维护者通常 1 天内回复
-
Read the payload written by withPayload可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭feature request
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
jenkinsci/ec2-plugin#2041 ·
-
L: github:actions L: php:composer
难度 2/5 1-3 小时 新手友好度 88/100
dependabot/dependabot-core#16493 ·
维护者通常 1 天内回复
-
SHOW EDIT of a subclass for an object of its superclass: the form fails to open with AssertionError未关闭
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 78/100
FlashyReese/sodium-extra#608 ·