aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/signing.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/signing.txt b/doc/signing.txt
index 1d042e95e..7403cac47 100644
--- a/doc/signing.txt
+++ b/doc/signing.txt
@@ -1,6 +1,6 @@
Generate a private key:
-$ (umask 277 && openssl genrsa -out /nix/etc/nix/signing-key.sec 2048)
+$ (umask 277 && openssl genrsa -out /etc/nix/signing-key.sec 2048)
The private key should be kept secret (only readable to the Nix daemon
user).
@@ -8,7 +8,7 @@ user).
Generate the corresponding public key:
-$ openssl rsa -in /nix/etc/nix/signing-key.sec -pubout > /nix/etc/nix/signing-key.pub
+$ openssl rsa -in /etc/nix/signing-key.sec -pubout > /etc/nix/signing-key.pub
The public key should be copied to all machines to which you want to
export store paths.