]> git.ipfire.org Git - thirdparty/chrony.git/commit
keys+nts: warn if loading world-readable/writable key
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 19 Jan 2023 15:09:40 +0000 (16:09 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 19 Jan 2023 15:39:40 +0000 (16:39 +0100)
commit9cba9c8585bc5ebf19bafece118fb2362090547c
tree10d9b82341a0a95cf15eb537d47a5e4c76226331
parent88e711ad9abe3a541863a78efaf8e1b6a143d129
keys+nts: warn if loading world-readable/writable key

Log a warning message if the file specified by the keyfile or
ntsserverkey directive is world-readable or writable, which is likely
an insecure misconfiguration. There is no check of directories
containing the file.
keys.c
nts_ke_session.c
util.c
util.h