1
0
mirror of https://github.com/Luzifer/vault-openvpn.git synced 2024-09-19 09:32:56 +00:00
vault-openvpn/cmd
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
..
client.go Add version command 2018-05-27 12:10:14 +02:00
helpers.go Add support for Vault KVv2 backends 2019-02-14 23:05:43 +01:00
list.go Allow listin certs as JSON for automated processing 2018-06-15 00:23:10 +02:00
revoke-serial.go Allow listing expired certificates for debugging purposes 2018-06-14 21:09:15 +02:00
revoke.go Allow listing expired certificates for debugging purposes 2018-06-14 21:09:15 +02:00
root.go Fixes error when '~/.vault-token' contains a trailing newline 2019-05-02 17:21:43 +02:00
server.go Add version command 2018-05-27 12:10:14 +02:00
structs.go Allow listin certs as JSON for automated processing 2018-06-15 00:23:10 +02:00
version.go Add version command 2018-05-27 12:10:14 +02:00