démon kspd
This commit is contained in:
parent
a84fb25ba0
commit
725456066f
29
HowtoGPG.md
29
HowtoGPG.md
|
@ -112,9 +112,34 @@ Il y a plusieurs manières d'organiser une KSP, mais la méthode la plus utilis
|
||||||
|
|
||||||
### Héberger un serveur de clés
|
### Héberger un serveur de clés
|
||||||
|
|
||||||
On utilise celui du [FOSDEM](https://github.com/FOSDEM/keysigning).
|
On utilise [ksp-tools](https://github.com/formorer/ksp-tools) écrit en perl.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
# apt install libhttp-daemon-perl libcgi-pm-perl liblog-loglite-perl libproc-reliable-perl libtypes-datetime-perl
|
||||||
# adduser --disabled-password ksp
|
# adduser --disabled-password ksp
|
||||||
# sudo -iu ksp
|
# sudo -iu ksp
|
||||||
~~~
|
$ mkdir keys gpg
|
||||||
|
$ git clone https://github.com/formorer/ksp-tools.git
|
||||||
|
$ git clone https://github.com/FOSDEM/keysigning.git fosdem-tools
|
||||||
|
~~~
|
||||||
|
|
||||||
|
On crée une unité systemd pour lancer le démon perl.
|
||||||
|
/etc/systemd/system/kspd.service
|
||||||
|
|
||||||
|
~~~
|
||||||
|
[Unit]
|
||||||
|
Description=KSP server.
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=ksp
|
||||||
|
ExecStart=/usr/bin/perl /home/ksp/ksp-tools/bin/kspkeyserver.pl
|
||||||
|
Type=forking
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
~~~
|
||||||
|
|
||||||
|
### Générer la liste des clés
|
||||||
|
|
||||||
|
On utilise un script du [FOSDEM](https://github.com/FOSDEM/keysigning) écrit en perl.
|
Loading…
Reference in a new issue