Equivalent of Data Protection API on Linux

前端 未结 2 370
自闭症患者
自闭症患者 2021-02-05 08:33

Microsoft Windows 2000 and later versions expose the Data Protection API (DPAPI) that encrypts data for a per-user or per-system context. The caller does not provide a key with

相关标签:
2条回答
  • 2021-02-05 09:25

    There are two options for user-level key stores on Linux:

    • GnomeKeyring
    • KWallet

    This does not address the need for a system-level key store.

    0 讨论(0)
  • 2021-02-05 09:29

    It doesn't look any more (or less) advanced than PGP, or Pretty Good Privacy. There are APIs available for PGP, and the one that I recall others speaking kindly of is Bouncy Castle.

    Here's an example of how someone used Bouncy Castle.

    Better APIs or solutions may be available, depending on your specific needs.

    0 讨论(0)
提交回复
热议问题