Skip to content

Scripts for provisioning openpgp-ca keys, writing them onto yubikeys and storing the actual data encrypted on USB sticks.

License

Notifications You must be signed in to change notification settings

famedly/openpgp-scripts

Repository files navigation

famedly-openpgp-scripts (short fos)

These are scripts we use to provision hardware keys with OpenPGP certificates for our team members.

Dependencies

Building an ISO

You can use the Nix Flake in this repo to build an ISO which has all of the scripts, dependencies for working with PGP and YubiKeys, as well as DrDuh's Yubikey Guide available, and all networking disabled.

All you need is to have Nix installed and either enable flakes in your nix config, or add --experimental-features "nix-command flakes" to all nix commands.

Then you can run the following command to build the ISO:

nix build .#nixosConfigurations.fos-live.config.system.build.isoImage

The resulting ISO can be found in ./result/iso/fos.iso

Building a VM

For testing purposes, you can also build a VM with the configuration:

On NixOS:

nixos-rebuild build-vm --flake .#fos-live

On Non-NixOS:

nix run 'nixpkgs#nixos-rebuild' -- build-vm --flake .#fos-live

The VM can than be run from ./result/bin/run-nixos-vm

About

Scripts for provisioning openpgp-ca keys, writing them onto yubikeys and storing the actual data encrypted on USB sticks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published