https://github.com/jetstack/airworthy
https://github.com/jetstack/airworthy
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jetstack/airworthy
- Owner: jetstack
- License: apache-2.0
- Archived: true
- Created: 2017-11-24T14:49:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-07T16:52:47.000Z (about 8 years ago)
- Last Synced: 2024-07-16T00:31:34.109Z (over 1 year ago)
- Language: Go
- Size: 2.52 MB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# airworthy
Download and verify binaries based on GPG signatures
* embeds publicly trusted ca-certificates for HTTPS
* embeds GPG public keys for Jetstack and HashiCorp releases
## Usage
### Build
```
go generate ./pkg/... && go build
```
### Download and verify
```
./airworthy -v download https://github.com/jetstack/vault-helper/releases/download/0.9.2/vault-helper_0.9.2_linux_amd64 1 ↵
DEBU[0000] flags=&{ https://github.com/jetstack/vault-helper/releases/download/0.9.2/vault-helper_0.9.2_linux_amd64 }
DEBU[0000] set signature to URL signature="https://github.com/jetstack/vault-helper/releases/download/0.9.2/vault-helper_0.9.2_linux_amd64.asc"
DEBU[0000] set destination destination="vault-helper_0.9.2_linux_amd64"
DEBU[0000] keyring contains: id=9A1C42C8F5AA3CE6 (Jetstack Releases )
DEBU[0000] keyring contains: id=51852D87348FFC4C (HashiCorp Security )
INFO[0000] downloading https://github.com/jetstack/vault-helper/releases/download/0.9.2/vault-helper_0.9.2_linux_amd64...
INFO[0001] 200 OK
DEBU[0001] transferred 243263 / 6998496 bytes (3.48%)
DEBU[0002] transferred 2627063 / 6998496 bytes (37.54%)
INFO[0002] download saved to ./vault-helper_0.9.2_linux_amd64
INFO[0002] successfully signed by id=9A1C42C8F5AA3CE6 (Jetstack Releases )
```