commit ebe72e5f0801b05db476ae9dd660545de8c2a5d8
parent 8df278dae1b5f65e6efb3321360e84715af722eb
Author: pyratebeard <root@pyratebeard.net>
Date: Wed, 23 Nov 2022 23:05:00 +0000
where_the_sshadows_lie
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/entry/where_the_sshadows_lie.md b/entry/where_the_sshadows_lie.md
@@ -28,6 +28,8 @@ gpg2 -a --export-secret-keys <key_id> > gpg_key.asc
mkdir tmp_gpg
chmod 700 tmp_gpg
gpg2 --homedir tmp_gpg --import gpg_key.asc
+gpg2 --homedir tmp_gpg --quick-add-key <key_id> ed25519 auth 0
+gpg2 --homedir tmp_gpg --export-ssh-key <key_id>
```
https://opensource.com/article/19/4/gpg-subkeys-ssh-multiples
https://gist.github.com/grenade/6318301?permalink_comment_id=3527964