Updated Architecture (markdown)

Dimitri Witkowski 2020-06-01 17:20:10 +02:00
parent 956981a4b6
commit dfd152bdd9
1 changed files with 3 additions and 1 deletions

@ -105,4 +105,6 @@ Desktop apps are packaged with [electron-packager](https://github.com/electron/e
KeeWeb uses native modules ([node.js C++ addons](https://nodejs.org/api/addons.html#addons_context_aware_addons)) in desktop apps. All modules used in KeeWeb are built in [keeweb-native-modules](https://github.com/keeweb/keeweb-native-modules) repository. Native modules are created:
- if the functionality is not available in Electron, for example, YubiKey API
- when implementing it in JavaScript would be significantly slower, for example, Argon2
- when implementing it in JavaScript would be significantly slower, for example, Argon2
In other cases it's better to implement everything in JavaScript. For example, a native module for reading QR codes would not be an acceptable solution.