This repository has been archived on 2024-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
its-zones/server
Daniel Gröber 8823b6238f server: Fix gpgv script
We do in fact control the upload order, it's in the makefile. So just
upload the zone first then the sig and then only verify and copy on the sig
upload.
2021-10-28 04:09:19 +02:00
..
incrontab Initial commit 2021-04-13 08:06:05 +02:00
knot-gpgv-import server: Fix gpgv script 2021-10-28 04:09:19 +02:00
README Initial commit 2021-04-13 08:06:05 +02:00
zone-admin.sshd_config Initial commit 2021-04-13 08:06:05 +02:00
zone-admin.sudoers Initial commit 2021-04-13 08:06:05 +02:00

Server side setup
-----------------

As root:

    $ apt-get install incron
    $ echo <the user on the server>  > /etc/incron.allow
    $ cp zone-admin.sshd_config /etc/ssh/sshd_config.d/zone-admin.conf
    $ cp zone-admin.sudoers /etc/sudoers.d/zone-admin

As the user:

    $ sed 's/$USER/<the user on the server>/g' ./incrontab | incrontab -
    # install knot-gpgv-import into ~/
    $ mkdir zones/

    # Paste your gpg public key + Ctrl-D
    $ gpg --no-default-keyring --keyring $HOME/trustedkeys.kbx -a --import