Skip to content

Commit

Permalink
fix: plugin jwe-decrypt decrypt failed #10835
Browse files Browse the repository at this point in the history
  • Loading branch information
hanqingwu committed Jan 18, 2024
1 parent 2d47b4b commit c151800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/plugins/jwe-decrypt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ local function jwe_decrypt_with_obj(o, consumer)
secret,
nil,
cipher,
{iv = o.iv}
{iv = dec(o.iv)}
)

local decrypted = aes_default:decrypt(dec(o.ciphertext), dec(o.tag))
Expand Down

0 comments on commit c151800

Please sign in to comment.