donmesswithabeer avatar

How to Store Passwords in Google Drive with Node.js

donmesswithabeer

Published: 02 Apr 2017 › Updated: 02 Apr 2017How to Store Passwords in Google Drive with Node.js

How to Store Passwords in Google Drive with Node.js

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

Leave How to Store Passwords in Google Drive with Node.js to:

Written by

Read more #programming posts


Best Posts From donmesswithabeer

We have not curated any of donmesswithabeer's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From donmesswithabeer