Hi, I am wondering how to store sensitive information for windows and Linux targets. I come from the mobile world and Apple and android have supported mechanisms I know of. My search for Linux and windows alternatives was fruitless so far.
f
Frank Bouwens
05/16/2025, 6:52 AM
(not an expert)
You can assume, a user can access any files on the PC they like. (unlike on Android and iOS) So for local storage, you would need to look at cryptography. Other option would be to save on your cloud.
j
Jacob Ras
05/16/2025, 7:19 AM
One way is to encrypt the data and store the encryption key in (one of) the OS security mechanisms. For example, Electron offers a
Thanks, it boils down mostly to some auth token to not have the user sign in all the time, so I was thinking keychain and encrypted preferences, but was hoping to have something quick and easy for windows / linux as well
abraham
05/16/2025, 7:26 AM
I was hoping this is a common enough problem that someone had solved this already. Not a fan to do cryptography myself if I can avoid it.