Skip to content

Commit

Permalink
authkeys file need not be 0700...
Browse files Browse the repository at this point in the history
0600 is sufficient.

Caught by Christoph.  I don't actually think there is any possibility of this
being used to attack gitolite but it's just a 1-bit change :)

ref: https://groups.google.com/forum/#!topic/gitolite/C_kzny--yP8
  • Loading branch information
sitaramc committed Feb 21, 2015
1 parent 9cd1e37 commit 78fc240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/triggers/post-compile/ssh-authkeys
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ sub sanity {
_mkdir( $akdir, 0700 ) if not -d $akdir;
if ( not -f $akfile ) {
_print( $akfile, "" );
chmod 0700, $akfile;
chmod 0600, $akfile;
}
}

Expand Down

0 comments on commit 78fc240

Please sign in to comment.