Skip to content

Why github.com/bketelsen/crypt is a required dependency? #1186

Answered by sagikazarmark
ashi009 asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately we can't remove it from v1, because it would break backwards compatibility, but remote key-value stores will be provided as external modules in Viper v2.

Things are actually way better now that the latest crypt (and Viper) use etcd 3.5 that introduced proper module support. Things will become even better with Go 1.17

Cobra needs to release a new version with the updated Viper module though: https://github.com/spf13/cobra/blob/master/go.mod#L9

The issue is tracked here: #887

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sagikazarmark
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants