Skip to main content

Easily rotate gnupg encryption keys of fully or partially encrypted files.

Project description

CI documentation Checked with MyPy Python Versions Code style: ruff

salt-gnupg-rotate

Easily rotate gnupg encryption keys of fully or partially encrypted files. 🧂

About

This project was created to help with the rotation of secret keys on saltstack controllers. Like probably at least some of you I am bad at rotating encryption keys due to the effort and time required. This tool is meant to make that task quick and painless.

main-demo

Documentation

Documentation is hosted at raddessi.github.io/salt-gnupg-rotate/ and prebuilt zip files of the project documentation are available for download from the Releases page.

Features

  • It's fast! Rotate your keys in seconds
  • Encrypted blocks are updated in-place in your files, keeping surrounding context and current indentation
  • Trace level logging using --log-level trace will show you the decrypted block contents as well as the re-encrypted blocks for you to manually validate the changed before applying them
  • No changes to your data will be made unless the --write flag is given

Discussion

  • GitHub Discussions - Discussion forum hosted by GitHub; ideal for Q&A and other structured discussions

Installation

Please see the documentation for instructions on installation or upgrades.

Providing Feedback

The best platform for general feedback, assistance, and other discussion is our GitHub discussions. To report a bug or request a specific feature, please open a GitHub issue using the appropriate template.

If you are interested in contributing to the development of this project, please read our contributing guide in the documentation prior to beginning any work.

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

salt_gnupg_rotate-1.3.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

salt_gnupg_rotate-1.3.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file salt_gnupg_rotate-1.3.2.tar.gz.

File metadata

  • Download URL: salt_gnupg_rotate-1.3.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.11-300.fc40.x86_64

File hashes

Hashes for salt_gnupg_rotate-1.3.2.tar.gz
Algorithm Hash digest
SHA256 50b42a41457d037da39f10a05828baa4bf59bc59f5bdc3992765075f8604bfa3
MD5 381cfa199729e291c98e7f2da488d21f
BLAKE2b-256 3a354fc1e03b18812191625220ca90306997dafaab280b5810c58268985746ad

See more details on using hashes here.

File details

Details for the file salt_gnupg_rotate-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: salt_gnupg_rotate-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.11-300.fc40.x86_64

File hashes

Hashes for salt_gnupg_rotate-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e4ae39d1d2670f05c3b21a5a35e84ae9650bf46a903dc58ea6aad2476700b8d
MD5 2d5bb3e2ae361093bd47a5e5ec0b14b0
BLAKE2b-256 efd43d0c52fd6688e02f901cfe428f00d2ba5e30844a5f733076e21347bec3c0

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