How to Store Passwords in Google Drive with Node.js

in programming •  8 years ago  (edited)

How to Store Passwords (or other sensitive info) in Google Drive with Node.js

Here's a simple script (65 lines) using crypto-js and read modules to AES encrypt a file containing passwords. You can save the outputted encrypted text and upload the file to google drive and then decrypt the file with the script whenever you need. 

Whenever I need to add new sensitive data to the file I simply re-encrypt it with the script by passing in the additional info and then I re-upload (I like to keep old files though just in case I mess up the file somehow). I also like to keep a password hint file with my sensitive info files. 

Please post any questions!

https://gist.github.com/danielyaa5/516f96e4f15bed7be386c7495fb73e98

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

As simple as this seems , the majority still has very little knowledge about how to store their keys..

image

You don't own your wallet until you understand your keys

You could store your keys in this file as well though

Nice Post
Thanks for Sharing
Have a Great Sunday

Thanks! Still Saturday for me ;)

This seems like a terrible idea.

Can you provide factual evidence?