Advice for a node module storing password in OSX Keychain or WIndows Credential Vault


#1

Looking in the community to see if someone has found a great module to store password or other sensitive information in Keychain on OSX and Vault in Windows. A module that works for both platform.


#2

Maybe the node-keytar package?


#3

Thanks @leedohm.
It works like a charm.
I had few issues at the beginning. I fond that keytar needs to be recompiled against the electron header files.
Follow the instructions here: https://github.com/electronjs/electron-rebuild