calvinmetcalf / crypto-pouch

plugin for encrypted pouchdb/couchdb databases
MIT License
243 stars 43 forks source link

How to change password? #35

Closed PiotrSss closed 3 years ago

PiotrSss commented 8 years ago

Hi, I tried by db.removeCrypto(); and then db.crypto() with different password, but without luck, how can I do it properly?

calvinmetcalf commented 8 years ago

Remove crypto and add crypto add the crypto pouch plugin to the database not encrypting the documents, you'd need to probably create a new database and add encryption with the new password then replicate between then.