Skip to content

A tool for safely archiving knot dnssec key material to azure.

License

Notifications You must be signed in to change notification settings

wolcomm/knot-keystore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

81f034c · Jul 7, 2019

History

31 Commits
Jul 7, 2019
Jun 4, 2019
Jul 7, 2019
May 10, 2019
May 14, 2019
Jun 6, 2019
Jul 7, 2019
Jul 7, 2019
May 10, 2019
May 10, 2019
Jul 7, 2019
Jun 6, 2019
May 14, 2019
Jun 4, 2019
May 14, 2019

Repository files navigation

PyPI Build Status codecov

knot-keystore

A tool to safely backup the knot kasp-db directory.

overview

usage: knot-keystore [-h] [--socket SOCKET]
                     [--plugins [{local,azure} [{local,azure} ...]]]
                     [--retrieve] [--config-file CONFIG_FILE] [-v]

optional arguments:
  -h, --help            show this help message and exit
  --socket SOCKET, -s SOCKET
                        path to knotc control socket
  --plugins [{local,azure} [{local,azure} ...]], -p [{local,azure} [{local,azure} ...]]
                        select archival plugins
  --retrieve, -r        retrieve archive
  --config-file CONFIG_FILE, -c CONFIG_FILE
                        path to a configuration file
  -v                    increase output verbosity
  • tries to find the kasp-db path by reading knotd config over the control socket.
  • plugins:
    • create an xz-compressed archive and put it somewhere, safely encrypted (default)
    • retrieve and decrypt the stored archive, ready to restore to the kasp-db directory (with --retrieve)

available plugins

  • local: create an encrypted copy of the archive and write it to disk along with the encryption key. Mostly useful for testing.
  • azure: write the archive to an Azure storage blob, first encrypting it using "client-side-encryption" with a KEK stored in Azure Key Vault.

About

A tool for safely archiving knot dnssec key material to azure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published