linux-credentials/credentialsd

Require callers to pass top origin string instead of same origin flag

開放

#81 建立於 2025年8月13日

 (0 則留言) (0 個反應) (0 位負責人)Rust (16 個分叉)auto 404
good first issuehelp wanted

倉庫指標

星標
 (234 顆星)
PR 合併指標
 (平均合併 33天 12小時) (30 天內合併 6 個 PR)

描述

WebAuthn level 3 allows cross-origin requests in some circumstances and added the topOrigin parameter to clientDataJson. The is_same_origin flag that we're currently passing can be derived from the origin and topOrigin strings.

Either neither or both of origin and topOrigin should be passed. If neither are passed, credentialsd should, eventually, determine the implicit origin of the request, or otherwise derive the is_same_origin flag based on the equality of the two. Callers without a distinction between origin and top-origin can just pass the same string.

This is a breaking API change.

貢獻者指南