[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
|
@ -5,6 +5,7 @@
|
||||||
sources pour les clients -->
|
sources pour les clients -->
|
||||||
<Path name="/etc/crans/secrets" type="directory"/>
|
<Path name="/etc/crans/secrets" type="directory"/>
|
||||||
<Python name="/etc/crans/secrets/secrets.py"/>
|
<Python name="/etc/crans/secrets/secrets.py"/>
|
||||||
|
<Python name="/etc/crans/secrets/privatekey_passphrase"/>
|
||||||
<Group name="rsync">
|
<Group name="rsync">
|
||||||
<Python name="/etc/crans/secrets/rsyncd.secrets"/>
|
<Python name="/etc/crans/secrets/rsyncd.secrets"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<!-- -*- mode: xml; coding: utf-8 -*- -->
|
<!-- -*- mode: xml; coding: utf-8 -*- -->
|
||||||
<Groups version="3.0">
|
<Groups version="3.0">
|
||||||
|
|
||||||
<!-- +=========================+ -->
|
<!-- +=========================+ -->
|
||||||
<!-- | Definition des serveurs | -->
|
<!-- | Definition des serveurs | -->
|
||||||
<!-- +=========================+ -->
|
<!-- +=========================+ -->
|
||||||
|
|
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