Replies: 2 comments
-
Hi @onlookor - thanks for asking. PR #1153 recently merged which added support for Yubikeys storing Nebula private keys. The original PR supported private keys for hosts but it looks like @numinit added support for CAs as well. I have only tested the host key portion, and there are instructions for that in the discussion thread of the PR. From those instructions and the code, you may be able to piece together how to get this working for CAs. Please share some instructions if you do! Alternatively @numinit might be able to provide some guidance. A couple caveats:
|
Beta Was this translation helpful? Give feedback.
-
The answer is an emphatic yes :-) Example is in the tests for nixpkcs, starting here: https://github.com/numinit/nixpkcs/blob/master/nixos/tests/nebula.nix#L239
Where do the PKCS#11 URIs come from? Well, you could generate them automatically, like nixpkcs does, or assemble them manually.
|
Beta Was this translation helpful? Give feedback.
-
As title.
May I export my nebula CA key, save it in a yubikey or canokey's PIV slot, and then sign nebula host certs with the hardware?
Beta Was this translation helpful? Give feedback.
All reactions