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

Integrate with SmartCard-HSM Key Domain #386

Closed
CardContact opened this issue Mar 28, 2019 · 3 comments
Closed

Integrate with SmartCard-HSM Key Domain #386

CardContact opened this issue Mar 28, 2019 · 3 comments

Comments

@CardContact
Copy link

The latest SmartCard-HSM implements the concept of a key domain, in which a designated group of devices can share a group key.

I'd be interested to evaluate, how this mechanism could be used to gain access to a file share encrypted with gocryptfs.

Initially we could try to get that integrated with an external program that tunnels the password or master key into gocryptfs. The next level of integration would be to use a PKCS#11 interface to derive the encryption key from a master key stored on the device, but ideally (from the user's perspective) the code would directly interact with the device in order to obtain the master key.

Is support for hardware token on the list of planned features already ?

Andreas

@rfjakob
Copy link
Owner

rfjakob commented Mar 30, 2019

So, gocryptfs used to have support for the Trezor HSM. It's disabled per default, and broken at the moment, unfortunately ( #261 ).

But yes, having support for hardware tokens is something I do want, and interfacing with smartcards sound appealing to me!

@rfjakob
Copy link
Owner

rfjakob commented Aug 4, 2019

Note: yubikey integration is trivial using the ykchalresp cli utility:

$ ykchalresp -2 'Sample #2' | gocryptfs /path/to/my/fs /path/to/my/mnt

This is what you would call the "Initially" variant.

Is something similar available for SmartCard-HSM ?

@rfjakob
Copy link
Owner

rfjakob commented Dec 30, 2020

Closing for inactivity.

Note: gocryptfs v2.0 gained support for fido2 tokens: #505

@rfjakob rfjakob closed this as completed Dec 30, 2020
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

2 participants