Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用从服务器收到的密钥生成 TOTP。在我读过的每本指南上,它都说:
在安全飞地中生成私钥并使用它来加密可用于生成 TOTP 的公钥
但我不想让公钥用于生成,因为它可以从内存中接收。我知道安全飞地中的密钥可用于使用 sha-1 进行签名,但我可以用它生成 TOTP 吗?从服务器接收到密钥时,我可以将密钥保存在内存中,因为它只发生一次。