diff --git a/lib/express/myinfo/controllers.js b/lib/express/myinfo/controllers.js index 95f56b9..b7784a9 100644 --- a/lib/express/myinfo/controllers.js +++ b/lib/express/myinfo/controllers.js @@ -50,7 +50,7 @@ module.exports = const encryptedAndSignedPersona = await new jose.CompactEncrypt( Buffer.from(sign), ) - .setProtectedHeader({ alg: 'RSA-OAEP', enc: 'A128CBC-HS256' }) + .setProtectedHeader({ alg: 'RSA-OAEP', enc: 'A256GCM' }) .encrypt(publicKey) return encryptedAndSignedPersona }