Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
This PR adds the TPM2 PKCS11 module as a Nix package.
It has a default target, which is the PKCS11 shared library (with the
Motivation for this change
I'd like to use my TPM2 chip as a generic Smartcard. This, for instance, enables storing SSH keys on a hardware device, which can improve security drastically.
I'm afraid there's no released version yet, according to the releases page at least.
However, I found this to be quite stable and working pretty well. I deem it useful for the Nix community and would therefore like to include it in nixpkgs. If there are any significant new features / critical bug fixes or an initial release, I'd of course file PRs for an update.
Alternatively, we can wait for a release which should come in the next weeks. I'd suggest to keep the PR open though to keep it only todo list ;).
or will it?
After some delays,
Apart from a few issues with my packaging, I've tested this pretty thoroughly and it appears to work just fine. I even pushed my last commit using the TPM.