Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length
const readTokenFile = fs.readFileSync(
path.join(__dirname, "/..", "/secrets", "/token.json")
);
const decryptedToken = decryptData(readTokenFile);
readToken = JSON.parse(decryptedToken);
oauthClient.setToken(readToken);
}
"crypto": "^1.0.1",
Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length
const readTokenFile = fs.readFileSync(
path.join(__dirname, "/..", "/secrets", "/token.json")
);
const decryptedToken = decryptData(readTokenFile);
readToken = JSON.parse(decryptedToken);
oauthClient.setToken(readToken);
}
"crypto": "^1.0.1",