Skip to content

Hsmdaemon: Add encrypt masterkey command as an option #101

@sharidas

Description

@sharidas

Idea:
With hsm there are actually two ways of implementing encryption:

  1. use the hsm to decrypt file individual keys
  2. use the hsm to decrypt the master key, keep it in memory (maybe even cache it with apcu), do file encryption internally

The current implementation does the former. But we already ran into cases where every decrypt operation had to be paid for. In those cases the idea is to protect against the key being stored physically on the same machine. And the tradeof of storing it in memory vs keeping it out of the machine is driven by cost factors.

Reference/Origin of the idea -> #90 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions