更新时间:2023-12-03 20:18:46
你剩下的是一个加密的平面文件数据库,专门针对少数数据类型,具有非常笨重且记录错误的API。如上所述,其功能可能是重复的,使用更好的API,没有太多的努力。加密部分是重要的,因为其主要目的是保证密钥和密码的安全。 DIY密钥数据库可以通过使用对称密钥加密来保护,然后将该密钥放入密钥链中。
"What you’re left with is an encrypted flat-file database, specialized for just a few data types, with a really clunky and badly documented API. As I wrote above, its functionality could be duplicated, with a better API, without much effort. The encryption part is significant, though, since its primary purpose is to keep keys and passwords safe. A DIY key database could be protected by encrypting it with a symmetric key, and then putting that key in the Keychain."