can I check what part of the code needs to change if my enc value is "A256CBC-HS512"?
When I try to do the same thing I get a "Data Error: Invalid Key length" when calling unwrapKey method. I tried to pass "AES-CBC" instead of "AES-GCM" as well but same error. Fyi the Uint8Array of my encrypted key is 72 bytes long.
Thanks.