1
0
Fork 0
mirror of https://github.com/Luzifer/vault-openvpn.git synced 2024-11-14 02:52:44 +00:00
Commit graph

13 commits

Author SHA1 Message Date
0a08bd8c80
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-08 16:14:07 +02:00
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
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
0aa62f532c
Fix: Parameters are not strings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-08 13:36:45 +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
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
3c822ae59a
Allow listing expired certificates for debugging purposes
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-14 21:09:15 +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
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
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