From 08a2634b42c98490bb9b23eb52886edca1023638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20K=C3=BCtemeier?= Date: Thu, 5 Jan 2023 23:08:24 +0100 Subject: [PATCH] Add documentation for sops-init-gpg-key with a Curved25119 key to the README file --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a708cf..89f3c49 100644 --- a/README.md +++ b/README.md @@ -764,7 +764,34 @@ EOF # fingerprint: E4CA86768F176AEB6C01554153AF8D7F149613B1 ``` -In this case, you must upload the GPG key directory `/tmp/newkey` onto the server. +You can choose between a RSA GPG key (default, like in the example above) or a +Curve25519 based one by adding `--keytype Curve25519` like so: + +```console +$ nix-shell -p sops-init-gpg-key +$ sops-init-gpg-key --hostname server01 --gpghome /tmp/newkey --keytype Curve25519 +You can use the following command to save it to a file: +cat > server01.asc <