-
-
Notifications
You must be signed in to change notification settings - Fork 22
Fetching TLSAuth key from KV v2 backend fails #9
Comments
Just a wild first guess: Is your |
$ vault kv put secret/ovpn [email protected]
Key Value
--- -----
created_time 2019-01-12T12:58:17.592727145Z
deletion_time n/a
destroyed false
version 1
$ vault secrets list -detailed
Path Plugin Accessor Default TTL Max TTL Force No Cache Replication Seal Wrap Options Description
---- ------ -------- ----------- ------- -------------- ----------- --------- ------- -----------
cubbyhole/ cubbyhole cubbyhole_929bfe78 n/a n/a false local false map[] per-token private secret storage
identity/ identity identity_428983a3 system system false replicated false map[] identity store
secret/ kv kv_4c723ec7 system system false replicated false map[version:2] key/value secret storage
sys/ system system_60d1aacb n/a n/a false replicated false map[] system endpoints used for control, policy and debugging
$ vault kv get secret/ovpn
====== Metadata ======
Key Value
--- -----
created_time 2019-01-12T12:58:17.592727145Z
deletion_time n/a
destroyed false
version 1
=== Data ===
Key Value
--- -----
key #
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
....
-----END OpenVPN Static key V1----- Yeah, v2. vault version
Vault v1.0.1 ('08df121c8b9adcc2b8fd55fc8506c3f9714c7e61') Seems like |
refs #9 Signed-off-by: Knut Ahlers <[email protected]>
I'm sorry this bug waited that long until I finally addressed the issue. Though there is a new version As I've only constructed a test-case at my side (I'm not using v2 backends normally) please have a look whether the new version works with your v2 configuration and let me know whether the fix works properly. |
No hurries/worries, I've switched to easy-rsa. Hopefully someone will pick up on this one! |
In that case my constructed test must suffice as long as no one reports issues with this again. Thanks for the quick reply! |
Hello! First of all, thank you for this fine piece of work!
Everything except fetching of TLS Auth keys works okay for me. Might be I'm missing something.
When running
I get
Any ideas why?
The text was updated successfully, but these errors were encountered: