diff --git a/flake.nix b/flake.nix index d1c4db4..7c2802f 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,8 @@ path = ./.; pathString = "."; }; + packages.default = self'.packages.blog; + apps.default = self'.apps.blog; }; }; } \ No newline at end of file diff --git a/notes/exporting ssh key from gpg.md b/notes/exporting ssh key from gpg.md new file mode 100644 index 0000000..ab910ac --- /dev/null +++ b/notes/exporting ssh key from gpg.md @@ -0,0 +1,8 @@ +- gpg --export-secret-ssh-key doesn't work +- gpg --export-ssh-key works to export public key + +----------- + +- to export secret ssh key first remove password from your [A]uthentication subkey + - you can do this with `gpg --edit-key KEYID` and then `passwd` and `save` +- then do `gpg --export-secret-subkeys KEYID! | openpgp2ssh KEYID > ssh_key` \ No newline at end of file