Plugin binaries are internal executables run by Vault/OpenBao, not by users, so FHS places them under /usr/libexec (which also gives them the SELinux bin_t label).
- vault RPM installs to /usr/libexec/vault-plugins, openbao RPM to /usr/libexec/openbao-plugins
- preinstall scripts create the new directories
- README install example uses the packaged path
Reviewed-on: #7
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
Releases move to the GitHub IUCLabs mirror so a `v*` tag publishes signed x86_64 RPMs as GitHub release assets; Woodpecker keeps PR CI only.
- `ci.yml` runs pre-commit, vet, test and build on PRs and main
- `release.yml` runs goreleaser on `v*` tags and signs SHA256SUMS via the Vault GPG engine (`scripts/sign.sh`)
- `.goreleaser.yml` builds linux/amd64 and packages the vault and openbao RPMs via nfpms; no binary archives
- `make rpm` builds a local goreleaser snapshot; `build-rpm.sh`, the nfpm template and `.woodpecker/release.yml` are removed
- `.github/CODEOWNERS` assigns `@IUCLabs/maintainers`
Reviewed-on: #6
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
The engine is being published as github.com/IUCLabs/vault-plugin-secrets-gpg, so the module path, docs and examples must stand alone without private infrastructure references.
- move the Go module to github.com/IUCLabs/vault-plugin-secrets-gpg
- replace private identities in examples and tests with example.com
- add MIT LICENSE
- rewrite README: overview, install for Vault and OpenBao, usage, link to terraform-provider-vault-secrets-gpg
- add per-path reference docs under docs/
- correct min_decryption_version description (decryption only)
Reviewed-on: #5
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
artifactapi is about to enforce auth on file uploads (`ARTIFACTAPI_AUTH_UPLOADS`), and the release upload currently PUTs anonymously.
- mint an `artifactapi-writer` OIDC token via Vault k8s auth (role `woodpecker_artifactapi_writer`) using the step SA token
- fail the step if minting fails (`set -o pipefail`)
- send the token as `Authorization: Bearer` via a header file, never in argv or logs
Reviewed-on: #4
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
CI images move off the packer-images monorepo to semver-released container-* repos.
- run RPM build steps on docker-internal/rpmbuilder:0.1.0-alma9
Reviewed-on: #3
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
Why: standardize Go CI on the estate gobuilder image and cut cold build/test
time with the shared S3 build cache.
- build/test/pre-commit/release(build) now use gobuilder:0.1.2-alma9
- add GOCACHE_* env + AWS creds (org secrets) to those steps
- cache dir is absolute (/tmp/gocache), metrics enabled
- bump k8s resource requests/limits for compile+cache overhead
- packaging/upload steps (nfpm, no Go) left untouched
Reviewed-on: #2
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
Provide a transit-style Vault/OpenBao secrets engine whose key material is
OpenPGP, so services can sign/verify/encrypt/decrypt with GPG keys that never
leave the barrier — and so tools like pass can encrypt to an exported public
key while delegating decryption back to Vault.
- Add versioned key management (keys/<name> CRUD+list, config, rotate, import)
with private material seal-wrapped under key/ and per-key locking.
- Add sign/verify (detached OpenPGP) and encrypt/decrypt paths; decrypt
auto-detects armored vs raw-binary ciphertext (what pass/gpg write).
- Add export/<public-key|private-key>/<name>; public always exportable,
private only when the key is marked exportable.
- Use ProtonMail go-crypto for OpenPGP; support rsa-2048/3072/4096 and ed25519.
- Clone the sibling plugin's build/packaging/CI: dual-target RPMs
(vault + openbao plugin dirs), Woodpecker PR/release pipelines, and a
Vault+OpenBao e2e harness. Unit tests include real gpg and pass interop.