ocilo / skype-http

Unofficial Skype API for Node.js via HTTP
https://ocilo.github.io/skype-http
MIT License
51 stars 24 forks source link

[Question]: Is there a way to use something like keytar? #44

Closed darkyen closed 7 years ago

darkyen commented 7 years ago

Is there a way to use something like keytar so that I don't have to store the user's password in plain text/encrypted?

mitchcapper commented 7 years ago

so skype-http does not store the password at all when you pass it in, it is only used to login and get the initial token. You are welcome to use keytar without issue.

darkyen commented 7 years ago

Short answer, Yes.

Long answer, after .getState gets merged to master you can store this the JSON.stringified version of .getState() into some secure storage mechanism.