Qatsi:通过分层内存硬密钥派生实现无状态秘密生成
Qatsi: Stateless Secret Generation via Hierarchical Memory-Hard Key Derivation
AI总结:
本文提出 Qatsi,一种基于 Argon2id 的分层无状态密钥派生方案,可从主秘密与上下文确定性生成高熵秘密,并证明均匀性、量化 GPU 攻击成本及实测可用性。
摘要:
我们提出 Qatsi,这是一种使用 Argon2id 的分层密钥派生方案,可在无需持久化存储的情况下生成可复现的加密秘密。该系统通过从单一高熵主秘密和上下文层确定性地派生所有秘密,消除了基于保险库的攻击面。借助内存硬派生(64–128 MiB、16–32 次迭代)以及针对 7776 个单词的助记词或 90 字符密码的可证明均匀拒绝采样,输出实现 103–312 位熵。我们形式化了该分层构造,证明了输出均匀性,并量化了 GPU 攻击成本:在 Paranoid 参数(128 MiB 内存)下,对于 80 位主秘密,单 GPU 攻击者需要 2.4×10^16 年。Rust 实现提供自动内存清零、编译时词表完整性验证和全面测试覆盖。Apple M1 Pro(2021)上的参考基准表明其具备实际可用性:Standard 模式单层派生耗时 544 ms,Paranoid 模式为 2273 ms。Qatsi 面向无状态可复现性比轮换灵活性更重要的气隙系统和主凭证生成场景。
英文摘要:
We present Qatsi, a hierarchical key derivation scheme using Argon2id that generates reproducible cryptographic secrets without persistent storage. The system eliminates vault-based attack surfaces by deriving all secrets deterministically from a single high-entropy master secret and contextual layers. Outputs achieve 103-312 bits of entropy through memory-hard derivation (64-128 MiB, 16-32 iterations) and provably uniform rejection sampling over 7776-word mnemonics or 90-character passwords. We formalize the hierarchical construction, prove output uniformity, and quantify GPU attack costs: $2.4 \times 10^{16}$ years for 80-bit master secrets on single-GPU adversaries under Paranoid parameters (128 MiB memory). The implementation in Rust provides automatic memory zeroization, compile-time wordlist integrity verification, and comprehensive test coverage. Reference benchmarks on Apple M1 Pro (2021) demonstrate practical usability with 544 ms Standard mode and 2273 ms Paranoid mode single-layer derivations. Qatsi targets air-gapped systems and master credential generation where stateless reproducibility outweighs rotation flexibility.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。