Jason Gwartz
66ccd94069
Fixes error when '~/.vault-token' contains a trailing newline
...
First of all, thanks for the great tool!
This PR fixes an error encountered by one of our developers which occured when they had manually created the `~/.vault-token` file, and their editor had added a trailing newline. The error comes from the following line: https://github.com/hashicorp/vault/blob/master/api/client.go#L747
The official vault client was patched for this in f8c657a80a
, after issues https://github.com/hashicorp/vault/issues/1774 and https://github.com/hashicorp/vault/issues/1902 .
2019-05-02 17:21:43 +02:00
4d1d07b3c3
prepare release v1.9.0
2019-02-14 23:06:23 +01:00
5edcfdb900
Add support for Vault KVv2 backends
...
refs #9
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-14 23:05:43 +01:00
0285eefd46
Update dependencies
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-14 22:51:41 +01:00
bb1dcd8bcc
prepare release v1.8.0
2018-10-08 22:20:21 +02:00
0aa62f532c
Fix: Parameters are not strings
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-08 13:36:45 +02:00
fd9a68bdd8
Deps: Update dependencies
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-08 13:25:24 +02:00
6889a770a3
Deps: Add new dependencies
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-08 13:23:57 +02:00
2f084643bf
Add dhparam generation support
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-08 13:17:50 +02:00
c7d655ffed
prepare release v1.7.0
2018-06-15 00:23:38 +02:00
825254e7f3
Allow listin certs as JSON for automated processing
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-15 00:23:10 +02:00
c86c029f12
prepare release v1.6.0
2018-06-14 21:09:32 +02:00
3c822ae59a
Allow listing expired certificates for debugging purposes
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-14 21:09:15 +02:00
9d8003c88f
prepare release v1.5.2
2018-06-14 20:59:16 +02:00
da8b466e70
Fix: Do not list expired certificates
...
as already documented in help text
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-14 20:59:08 +02:00
646e92832f
prepare release v1.5.1
2018-06-14 16:02:17 +02:00
47d94f072a
Use a replacer to convert dashes
...
this enables setting all flags through ENV variables
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-14 16:01:41 +02:00
a0b26ea1ae
Allow overwriting the vault token by setting only the default
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-14 16:01:22 +02:00
e48ab2dc51
prepare release v1.5.0
2018-05-27 12:11:21 +02:00
b5935b315f
Add version command
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 12:10:14 +02:00
0c61a521c1
Switch to cobra as a CLI framework
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 12:02:56 +02:00
2cbf5dd6ac
Update dependencies for using cobra
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 11:24:38 +02:00
695e366e88
Replace deprecated build image
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:38:40 +02:00
5071731a6c
Fix missing copyright in LICENSE
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:38:29 +02:00
7196faf1a7
prepare release v1.4.0
2018-05-27 10:33:04 +02:00
6048719362
Merge branch 'tls-auth'
2018-05-27 10:30:47 +02:00
470ecccfec
Include feedback from #7
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:30:28 +02:00
3bd30a693c
Adjust wording and formatting
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:21:08 +02:00
86a9864b56
Merge remote-tracking branch 'callidus/master' into tls-auth
...
closes #7
2018-05-27 10:16:00 +02:00
99626a1d95
Only use ca_chain if present
...
The ca_chain is only available if the certificate was imported, not when
the certificate is generated by Vault itself. So try to read it and if
it fails fall back to using the CA cert.
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:13:59 +02:00
3dfa21116d
Merge remote-tracking branch 'wimfabri/ca_chain' into ca-chain-support
...
closes #6
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:05:38 +02:00
Timothy Kelsey
3cbad111a3
Can now use TLS Auth with shared key in vault
2018-05-23 13:13:51 +01:00
5d87ecf66b
Adjust README buttons
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-30 22:39:23 +01:00
ffc5449284
prepare release v1.3.0
2018-01-30 22:37:41 +01:00
b00de8490a
Apply gofmt, join if clause and function call
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-30 22:30:59 +01:00
Wim Fabri
2854879219
revoke all existing certificates for FQDN instead of only first one
2018-01-30 15:15:30 +01:00
Wim Fabri
0922564882
write complete ca chain as ca
2018-01-30 15:06:56 +01:00
06a6e462da
prepare release v1.2.0
2018-01-13 13:59:59 +01:00
45928d5991
Allow sorting by date instead of FQDN
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-13 13:59:42 +01:00
0e3fbc7816
prepare release v1.1.2
2017-11-10 21:06:06 +01:00
22501ea1ac
Add dockerized version
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-10 21:05:34 +01:00
20f71abb83
prepare release v1.1.1
2017-10-10 10:20:06 +02:00
3fef524e3d
Fix: Don't panic on non existent PKI path
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-10 10:19:14 +02:00
4d62cd0789
Update dependencies
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-10 10:19:14 +02:00
b4cc42902e
Switch to dep from Godeps
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-10 10:19:14 +02:00
Knut Ahlers
06cdbefd48
Merge pull request #2 from sasso/patch-1
...
Update README.md
2017-06-20 10:30:00 +02:00
Saso Matejina
19c495c3cd
Update README.md
2017-06-19 15:56:59 -07:00
5659039ea1
Add configuration section to README
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 14:29:13 +02:00
a7b4bb8dc2
prepare release v1.1.0
2017-05-04 14:10:06 +02:00
3874e1dc79
Allow path to templates to be configured
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 14:09:39 +02:00