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 < "$GNUPGHOME/key-template" <> "$GNUPGHOME/key-template" <> "$GNUPGHOME/key-template" <> "$GNUPGHOME/key-template" <