From 04fbe0aab92fbcea4ea766b99ddafa0f5535875b Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Sun, 14 Aug 2022 10:03:26 +0300 Subject: [PATCH] add stuff --- flake.nix | 2 ++ notes/exporting ssh key from gpg.md | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 notes/exporting ssh key from gpg.md 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