Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

knot_keystore-0.1.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

knot_keystore-0.1.0-py2.py3-none-any.whl (14.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file knot_keystore-0.1.0.tar.gz.

File metadata

  • Download URL: knot_keystore-0.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.12

File hashes

Hashes for knot_keystore-0.1.0.tar.gz
Algorithm Hash digest
SHA256 36de06cbb7d85246c7745085a0ef823abd5a6aa111accc67274eaddd871a2f69
MD5 54a6ee11254a5cb68aeb7c47c0f03cfd
BLAKE2b-256 40c61ad64a3689f9c269ef8623a1c97435d9ae8defe8ae4833a26dfffd7b5921

See more details on using hashes here.

File details

Details for the file knot_keystore-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: knot_keystore-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.12

File hashes

Hashes for knot_keystore-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15b1d6131ead4b8968f9ea85ad7ec0e3294cf398196abb344349022001d2170c
MD5 d7dda39965ba8c061aad94f69330fa15
BLAKE2b-256 9c9fc89c4430d29d1fe1b44cb80fde0ca82a669af0dcd809f8a83654387811c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page