4 ms·
Seeing that electron application code can easily be inspected inside the asar container (I.e. you can't trust the client) : How would you approach the problem
by NewsAware 7y ago
Seeing that electron application code can easily be inspected inside the asar container (I.e. you can't trust the client) :
How would you approach the problem to encrypt secrets locally? The only approach I could come up with involves receiving a symmetric key from a server with certificate pinning, but even that seems quite insecure).
- slantyyz 7y agoFor some use cases, you can use Keytar (https://github.com/atom/node-keytar https://github.com/atom/node-keytar) which uses the credential system/keychain on the OS.