Shoji-Nix is a Nix module designed to manage and securely store your SSH keys. With Shoji-Nix, you can transform your SSH configuration and .ssh folde

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-04-17 10:00:04

Shoji-Nix is a Nix module designed to manage and securely store your SSH keys. With Shoji-Nix, you can transform your SSH configuration and .ssh folder into a YAML file, which you can then encrypt and save in your Nix configuration.

Shoji-Nix uses the robust encryption tools SOPS and AGE, allowing you to encrypt not just your private SSH key, but also the username, IP address, and hostname of your SSH configuration. This feature provides an added layer of security and helps maintain your anonymity.

If you don't want to encrypt your file, you can run shoji-init without an age public key file. Then you can encrypt it with sops (and age) using your own .sops.yaml file.

Leave a Comment