mirror of
https://github.com/systemd/systemd.git
synced 2025-01-27 10:54:11 +08:00
network: warn when private key is stored in world readable files
This commit is contained in:
parent
b0e13c3122
commit
70c5754761
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user