HR / Crypter

🔓✨🔒 An innovative, convenient and secure encryption app
https://git.io/Crypter
MIT License
459 stars 70 forks source link

Make LevelDB work with latest Electron releases #4

Closed HR closed 7 years ago

HR commented 8 years ago

LevelDB (levelup) does not work with the latest releases of electron (> 1.1.3). It is rather a LevelDOWN compatibility issue that is still unresolved. See https://github.com/electron/electron/issues/5851 for more info.

Temporary fix (1b2e32cb4390452e1160fa4997378d9e2b38726d) is to use electron 1.1.3 but a more permanent fix needs to be found (it is an electron issue) so latest electron releases can be utilised.

Consider using a different DB that is more compatible with Electron or a primary JSON persistent solution (i.e. store public crypto data as JSON on fs) since Crypter's persistent storage requirements are so basic - just need to get/set data)

HR commented 7 years ago

Resolved with https://github.com/HR/Crypter/commit/5cc3223e53b19784680a0222e49a8f125a5a3148