mike-goodwin / owasp-threat-dragon

An open source, online threat modelling tool from OWASP
http://mike-goodwin.github.io/owasp-threat-dragon/
Apache License 2.0
483 stars 130 forks source link

Error: Invalid key length at new Cipheriv (crypto.js:219:16) #74

Closed anirbanctts closed 4 years ago

anirbanctts commented 6 years ago

Keep on getting this error after entering github credentials. Error: Invalid key length
at new Cipheriv (crypto.js:219:16) at Object.createCipheriv (crypto.js:619:10) at encryptData ....

var crypto = require('crypto'); var inputEncoding = 'ascii'; var outputEncoding = 'base64'; var keyEncoding = 'ascii'; var algorithm = 'aes256';

these properties were unchanged. Not sure why this issue keeps on repeating. using NodeJS 8.11.3 LTS version

jgadsden commented 4 years ago

Hello @anirbanctts - are you still getting this error? If not then I can close this issue

jgadsden commented 4 years ago

Migrated to new issue in the OWASP area repo : https://github.com/OWASP/threat-dragon/issues/6