Skip to content

undefined: jwe.WithKey / undefined: jwe.WithContentEncryption #860

Answered by lestrrat
NeleOb asked this question in Q&A
Discussion options

You must be logged in to vote

You are importing v1 instead of v2. Your imports needs to point to the correct URL, see

jwx/jwe/jwe_test.go

Lines 20 to 23 in 14f6c97

"github.com/lestrrat-go/jwx/v2/jwa"
"github.com/lestrrat-go/jwx/v2/jwe"
"github.com/lestrrat-go/jwx/v2/jwk"
"github.com/lestrrat-go/jwx/v2/x25519"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NeleOb
Comment options

Answer selected by NeleOb
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