sqlite-cipher.js icon indicating copy to clipboard operation
sqlite-cipher.js copied to clipboard

Can not connect to exist encrypt db in nw.js

Open baxiamali opened this issue 8 years ago • 2 comments

hello I can't connect to exist encrypt db. my code: sqlite.connect(name,'mypassword') if name file exist it always go to throw "Invalid Password! Please check your password or database name.";

baxiamali avatar Oct 26 '16 08:10 baxiamali

How did you encrypt the database?

jayralencar avatar Oct 26 '16 13:10 jayralencar

I'm having this error while trying to connect to the database in nwjs, I've checked countless times to make sure I was not doing anything wrong.

`

"Uncaught Invalid Password! Please check your password or database name."

`

var db = require('sqlite-cipher');

db.connect('js/datab.db', '123654', 'aes-256-ctr');

EdvaldoLima avatar Jun 26 '17 20:06 EdvaldoLima