全部经验 · Wallets and signing · 从这里开始 · 术语表
JoyID sub key signatures depend on the live CoTA cell dep holding the sub key root进阶由所有者核对
由所有者核对 · 核对结果:正确 · 核对于 2026-11-19
A JoyID sub key (second device) signature is checked by the JoyID lock against the sub key root held in the account's CoTA cell, which the transaction carries as a cell dep. Adding a device spends that CoTA cell and creates a new one with a new root. Two separate things follow: a transaction that still lists the old CoTA out point has a cell dep that is no longer live, and the lock run against the old root data does not accept the sub key signature.
为什么重要: A sub key signature checked against a stale or spent CoTA cell is rejected, and a binding made before the device was added stops being valid from the block that spent the old CoTA cell.
JoyID specific: sub key root lives in the CoTA cell dep.
同一提交中改动了测试
它与修复在一起,我们没有运行它。
- LusoCryptoLabs/ckb-ward:
tests/joyid-subkey.test.ts
- 概念
- Cell deps and script lookup, Witnesses and signatures
- 证据
- 由所有者核对: 由其来源项目的所有者核对,该所有者同时也是这些经验的发布者
- 首次出现
- 2026-11-06
- 最近改动
- 2026-11-06
- 最近核对
- 2026-11-19
- 对照提交的核对结果
- 正确:这条经验出自该提交,并且在今天的代码中仍然成立
来源(1)
- 2026-11-06 · LusoCryptoLabs/ckb-ward · 这个项目的更多经验
更多关于Wallets and signing
- Binding an off-chain lock proof to the live cell deps it ran with
- JoyID sub key membership is checked through the CoTA aggregator
- Lock code hashes differ between testnet and mainnet for Omnilock, JoyID, ACP and PW lock
核对人: @LusoCryptoLabs (项目所有者), 2026-11-19.
引用这条经验
LusoCryptoLabs, "JoyID sub key signatures depend on the live CoTA cell dep holding the sub key root", CKB lessons, https://pulse.lusocryptolabs.com/learned/wallets/joyid-sub-key-signatures-depend-on-the-live-cota-cell-dep-ho, CC BY 4.0, last changed 2026-11-06.