Set public RPM metadata, note imported key rotation and tested versions
This commit is contained in:
@@ -18,7 +18,8 @@ To manage the engine's mounts and keys from Terraform or OpenTofu, use
|
||||
|
||||
## Requirements
|
||||
|
||||
- HashiCorp Vault 1.12+ or OpenBao 2.x. The same binary works on both.
|
||||
- HashiCorp Vault or OpenBao. The same binary works on both. The end-to-end
|
||||
tests run against Vault 1.18 and the latest OpenBao release.
|
||||
- Go 1.25+ (only if you build from source)
|
||||
|
||||
## Installation
|
||||
@@ -34,6 +35,8 @@ make build # -> dist/vault-plugin-secrets-gpg
|
||||
Copy the binary into the server's `plugin_directory`, then register it in the
|
||||
plugin catalog and enable the engine. On OpenBao, run the same commands with
|
||||
`bao` in place of `vault`.
|
||||
The example assumes `plugin_directory = "/etc/vault/plugins"`; use the
|
||||
directory set in your server config.
|
||||
|
||||
```sh
|
||||
SHA256=$(sha256sum /etc/vault/plugins/vault-plugin-secrets-gpg | cut -d' ' -f1)
|
||||
|
||||
@@ -93,6 +93,9 @@ latest version. Older versions are kept, so older ciphertext still decrypts and
|
||||
older signatures still verify. Decryption is limited to versions at or above
|
||||
`min_decryption_version`.
|
||||
|
||||
Imported keys cannot be rotated; the request fails with
|
||||
`cannot rotate an imported key`.
|
||||
|
||||
```sh
|
||||
vault write -field=latest_version gpg/keys/app/rotate
|
||||
```
|
||||
|
||||
@@ -24,8 +24,8 @@ export PACKAGE_RELEASE="1"
|
||||
export PACKAGE_ARCH="amd64"
|
||||
export PACKAGE_PLATFORM="linux"
|
||||
export PACKAGE_DESCRIPTION="Vault/OpenBao secrets engine for GPG/OpenPGP keys (sign/verify/encrypt/decrypt)"
|
||||
export PACKAGE_MAINTAINER="Ben Vincent <ben@unkin.net>"
|
||||
export PACKAGE_HOMEPAGE="https://git.unkin.net/unkin/vault-plugin-secrets-gpg"
|
||||
export PACKAGE_MAINTAINER="IUCLabs"
|
||||
export PACKAGE_HOMEPAGE="https://github.com/IUCLabs/vault-plugin-secrets-gpg"
|
||||
export PACKAGE_LICENSE="MIT"
|
||||
|
||||
build_flavor() {
|
||||
|
||||
Reference in New Issue
Block a user