[tor-onions] HSV3 - chmod 700 for keys

George Kadianakis desnacked at riseup.net
Tue Nov 6 10:54:21 UTC 2018


Patrick ZAJDA <patrick at zajda.fr> writes:

> Hello,
>
> When creating a hidden Service version 3, I noticed the public and
> private key files have a chmod 700 when hostname is 600.
>
> For hostname I understand; but why execution is set for keys?
> I tried to chmod 600 for key files and it also worked.
>

Hm, is that the case?

I made a simple HSv3 config file, started it up and here is how the
files look like:

$ ls -l
total 16
drwx------ 2 user user 4096 Nov  6 12:48 authorized_clients
-rw------- 1 user user   63 Nov  6 12:48 hostname
-rw------- 1 user user   64 Nov  6 12:48 hs_ed25519_public_key
-rw------- 1 user user   96 Nov  6 12:48 hs_ed25519_secret_key

Am I doing something wrong?



More information about the tor-onions mailing list