mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
network: warn when private key is stored in world readable files
This commit is contained in:
@@ -730,6 +730,8 @@ int config_parse_macsec_key(
|
||||
assert(rvalue);
|
||||
assert(data);
|
||||
|
||||
(void) warn_file_is_world_accessible(filename, NULL, unit, line);
|
||||
|
||||
if (streq(section, "MACsecTransmitAssociation"))
|
||||
r = macsec_transmit_association_new_static(s, filename, section_line, &a);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user