https://github.com/raddessi/salt-gnupg-rotate
Easily rotate gnupg encryption keys of fully or partially encrypted files
https://github.com/raddessi/salt-gnupg-rotate
cli gnupg salt saltstack security-tools utilities
Last synced: 5 months ago
JSON representation
Easily rotate gnupg encryption keys of fully or partially encrypted files
- Host: GitHub
- URL: https://github.com/raddessi/salt-gnupg-rotate
- Owner: raddessi
- License: bsd-2-clause
- Created: 2024-01-26T05:03:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-19T08:38:17.000Z (6 months ago)
- Last Synced: 2025-01-31T07:03:37.875Z (6 months ago)
- Topics: cli, gnupg, salt, saltstack, security-tools, utilities
- Language: Python
- Homepage: https://raddessi.github.io/salt-gnupg-rotate/
- Size: 7.66 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/contributing.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://github.com/raddessi/salt-gnupg-rotate/actions/workflows/ci.yaml)
[](https://github.com/pradyunsg/furo)
[](http://mypy-lang.org/)
[](#salt-gnupg-rotate)
[](https://github.com/astral-sh/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.[](https://asciinema.org/a/636043)
## Documentation
Documentation is hosted at
[raddessi.github.io/salt-gnupg-rotate/](https://raddessi.github.io/salt-gnupg-rotate/)
and prebuilt zip files of the project documentation are available for download
from the [Releases](https://github.com/raddessi/salt-gnupg-rotate/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](https://github.com/raddessi/salt-gnupg-rotate/discussions) -
Discussion forum hosted by GitHub; ideal for Q&A and other structured
discussions## Installation
Please see [the documentation](https://raddessi.github.io/salt-gnupg-rotate/)
for instructions on installation or upgrades.## Providing Feedback
The best platform for general feedback, assistance, and other discussion is our
[GitHub discussions](https://github.com/raddessi/salt-gnupg-rotate/discussions).
To report a bug or request a specific feature, please open a GitHub issue using
the
[appropriate template](https://github.com/raddessi/salt-gnupg-rotate/issues/new/choose).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.