Opened 13 years ago

Last modified 7 years ago

#445 closed defect (Fixed)

tor-gencert should create files with proper permissions

Reported by: weasel Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.2.0.1-alpha
Severity: Keywords:
Cc: weasel Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

tor-gencert creates files with the default mode. It should probably ensure that the
private key files are created in such a way that they are not world or group readable

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (3)

comment:1 Changed 13 years ago by nickm

I'm going to have tor-gencert set umask = 0700 when it starts. That should do it.

(But to be fair, if you're running tor-gencert on a computer with other users, or with an internet connection,
that's bad!)

comment:2 Changed 13 years ago by nickm

flyspray2trac: bug closed.
fixed in r10475.

comment:3 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.