about summary refs log tree commit diff
path: root/doc/signing.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/signing.txt')
-rw-r--r--doc/signing.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/signing.txt b/doc/signing.txt
index fad14d743a8d..1d042e95e220 100644
--- a/doc/signing.txt
+++ b/doc/signing.txt
@@ -1,6 +1,6 @@
 Generate a private key:
 
-$ openssl genrsa -out mykey.sec 2048
+$ (umask 277 && openssl genrsa -out /nix/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 mykey.sec -pubout > mykey.pub
+$ openssl rsa -in /nix/etc/nix/signing-key.sec -pubout > /nix/etc/nix/signing-key.pub
 
 The public key should be copied to all machines to which you want to
 export store paths.