diff --git a/src/util.ts b/src/util.ts index 2c40ce2..d8232b9 100644 --- a/src/util.ts +++ b/src/util.ts @@ -176,7 +176,8 @@ export function decryptProjectConfig( const decipher = crypto.createDecipheriv( 'aes-256-gcm', key, - Buffer.from(ivHex, 'hex') + Buffer.from(ivHex, 'hex'), + { authTagLength: 16 } ); decipher.setAuthTag(Buffer.from(tagHex, 'hex')); const decrypted = Buffer.concat([