cisco / node-jose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I had the same issue, I think You must specify 'alg' when You create key like this:

branjesusdev opened this issue · comments

I had the same issue, I think You must specify 'alg' when You create key like this:

jose.JWK.asKeyStore([{
kid: 'mykey',
alg: 'A128CBC-HS256',
kty: 'oct',
k: b64u('ca06ba7343d14c21bad84602086a10a0')
}])

Check if it helps...

Originally posted by @mrkmrtns in #241 (comment)