[Extensions] Handle unknown extensions
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
首先跟踪 ClientExtensionParsing 和 ClientExtension trait,以及现有的扩展处理路径;issue 中没有指定文件或测试。定义未知扩展和输入解析失败时的行为,包括将未知数据保留为 CBOR、仅忽略失败的扩展,并继续处理 request。
由索引模型根据 Issue 内容生成。
描述
Extensions unknown to the client should be passed through as CBOR. Maybe the trait itself could expose the expected input key, and if no extension is found, the extension data can be passed as-is?
trait ClientExtensionParsing<G, C> where G: TryFrom<cbor::Map>, C: TryFrom<cbor::Map> {
const MAKE_INPUT_KEY: &str;
const GET_INPUT_KEY: &str;
}
trait ClientExtension<G, C>: ClientExtensionProcessing<G, C> + ClientExtensionParsing<G, C>
Ideally, if we fail to parse input for an extension, we should ignore the individual extension - but continue with the rest of the request. Maybe the trait for each extension could be generic over its input type, and perform parsing, with a Result so the caller can handle these errors appropriately?
Originally posted by @AlfioEmanueleFresta in https://github.com/linux-credentials/libwebauthn/issues/77#issuecomment-2674105649
- 主要语言
- Rust
- 星标
- 602
- 派生
- 33
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linux-credentials/libwebauthn 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
linux-credentials/libwebauthn#328 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
linux-credentials/libwebauthn#327 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
linux-credentials/libwebauthn#326 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
linux-credentials/libwebauthn#313 ·
维护者通常 2 天内回复
-
bug enhancement transport: hybrid
难度 5/5 一周以上 新手友好度 42/100
linux-credentials/libwebauthn#257 · 2 条评论 ·
维护者通常 2 天内回复
查看 linux-credentials/libwebauthn 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
needs triage
难度 2/5 1-3 小时 新手友好度 76/100
pbakaus/impeccable#1620 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
swc-project/swc-next-issues#533 ·
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
nautechsystems/nautilus_trader#5718 ·
维护者通常 1 天内回复
-
`luvus --remote` cannot start on a host whose login shell is Nushell可能已有人在做 @schlich 今天认领。 未关闭status: needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 4 天内回复