[secrets/privatekey_passphrase] Ajout d'une passphrase pour chiffrée des clefs privées
This commit is contained in:
parent
8dde1be9ba
commit
c7278967f2
3 changed files with 8 additions and 1 deletions
7
Python/etc/crans/secrets/privatekey_passphrase
Normal file
7
Python/etc/crans/secrets/privatekey_passphrase
Normal file
|
@ -0,0 +1,7 @@
|
|||
info["perms"] = 0440
|
||||
if has("users") or has("2B"):
|
||||
info["owner"] = "respbats"
|
||||
else:
|
||||
info["owner"] = "root"
|
||||
info["group"] = "adm"
|
||||
print file("/etc/crans/secrets/privatekey_passphrase").read()
|
Loading…
Add table
Add a link
Reference in a new issue