|
|
|
|
|
by burtonator
2671 days ago
|
|
I'm writing an Electron app too: https://getpolarized.io/ We're pretty far ahead so you could probably look at the source code repo if you want to look for ideas. Anyway. Do this... Create a public/private key pair. Require the user to enter a 'key'. The key is just ascii armoured encrypted data from the private key. Just make sure the key validates. They're competitive body builders not alpha hackers. Just obscure it in some way and you're probably good. This system works offline too since you distribute the public key with the app. The ASAR stuff in Electron has some obfuscation related framework but I haven't looked at it much. |
|