JKS保护

发布于 2024-07-06 13:10:39 字数 126 浏览 8 评论 0原文

JKS(Java 密钥存储)文件是否已加密? 它们是否为加密密钥提供全面的保护,还是我需要仅依赖访问控制?
有没有办法确保密钥受到保护?

我对具体细节感兴趣,包括算法、密钥管理等。这些都是可配置的吗?

Are JKS (Java Key Store) files encrypted? Do they provide full protection for encryption keys, or do I need to rely solely on access control?
Is there a way to ensure that the keys are protected?

I'm interested in the gritty details, including algorithm, key management, etc. Is any of this configurable?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

薄情伤 2024-07-13 13:10:39

更准确地说:

  • 私钥和秘密密钥
    JKS 文件使用自己的密码加密。
  • 受信任证书的完整性通过使用密钥库密码的 MAC 进行保护。
  • 该文件作为一个整体不是
    加密,攻击者可以列出
    其条目没有密钥存储
    密码。

To be more precise:

  • PrivateKeys and SecretKeys within a
    JKS file are encrypted with their own password.
  • Integrity of trusted certificates is protected with a MAC using the key store password.
  • The file as a whole is not
    encrypted, and an attacker can list
    its entries without the key store
    password.
∝单色的世界 2024-07-13 13:10:39

它们是加密的。

该算法取决于提供商。 提供商将根据密码返回密钥/证书。 如果您需要强大的安全性,请寻找使用强加密的密钥库提供商。

They are encrypted.

The algorithm is provider dependent. The provider will return the key/certificate based on a password. If you need strong security, find a keystore provider that uses a strong encryption.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文