-
Notifications
You must be signed in to change notification settings - Fork 143
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
How to use ssh-to-pgp #43
Comments
It's defined here: Line 10 in b67ae45
You can do |
hey @Mic92 thanks. I'm able to build it locally but I meant how would I get it installed on the server as part of configuration.nix. The examples all presume that it's installed on the server but just adding |
Yes. it is not part of the nixos module. You can also just do: |
@Mic92 ah I see...I think I misread that command initially to mean that it's to be executed on the server. 🤣 |
Yes. It generates a public key but it needs the private ssh key because gnupg needs a signed public key also it would be not be required in theory. |
Thanks @Mic92 for the clarification! I was able to successfully deploy secrets to my demo server and am excited to roll it out to the rest. It works really well! Closing this. |
Hi. I'm trying to use ssh-to-pgp and following the instruction here: https://github.com/Mic92/sops-nix#3-get-a-pgp-public-key-for-your-machine
I assume I have to clone this repo and run
nix-shell -p ssh-to-pgp
in the root of the repo next toshell.nix
. However when I do that I get the following error:error: undefined variable 'ssh-to-pgp' at (string):1:94
It's unclear from the documentation how to get ssh-to-pgp installed on the machine I'm provisioning.
What do I need to add to configuration.nix to get it installed on the remote machines?
The text was updated successfully, but these errors were encountered: