Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for gating access to key on HSM using user supplied password. #16

Open
rmhrisk opened this issue Jun 30, 2016 · 0 comments
Open

Comments

@rmhrisk
Copy link
Contributor

rmhrisk commented Jun 30, 2016

EIdAS wants the user to provide a secret to the HSM at sign time to authorize use, we should, in theory, be able to do this by:

  1. Creating the users asymmetric key in memory session
  2. Generate a symmetric key from a pin
  3. Encrypt asymetric key using symmetric key
  4. Put encrypted key in data object on token.

This is a bit lame but will meet their requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant