Category: Command Line Tool :: Encryption :: PHP
"My encrypted access" will help you QUIT storing your passwords file in gmail as a draft, in google drive as a plain text file, or worse on your desktop. This script is also used as an alternative to hardware wallets for your Ethereum (or other Crypto) private key(s) and other sensitive data.
You set one master password for decrypting your files and this small PHP-driven tool will do the rest. Here's how it works.
The code is open-sourced on Github.
Make sure you have php installed on your *nix or on windows along with composer (https://getcomposer.org/doc/00-intro.md)
Fire up the project in your desired folder
git clone https://github.com/the-codepunker/my-encrypted-access.git . && composer install
Create a project with Google Cloud (https://console.cloud.google.com/apis) and make sure you select OTHER as type as well as ENABLING it after creating. Download the client secret and client ID as json. Place it as secret.json in the root folder of the repo.
__FILE_NAME__ constant in access.php according to your needs.
Upload an empty txt file (named exactly the same) in any of your private Google Drive folders.
Place your "sensitive" file (named exactly the same) in the root of the project and run php access.php ...
Run php access.php and go through the "authorization process"...
A url will be generated in the command line - use that to grant access.
Google will generate a token which you can paste back into the command line.
Once authorized, you will be asked
"What to do next ?".
The first step is to encrypt the local file and push it to drive so type:
encrypt and then confirm when asked if you want to push to Google Drive.
The app is built as a "step by step" wizard... so just follow the instructions...
!!!Make sure to never push the secret.json and credentials.json files if you choose to fork this project!!!
Donations are welcome:
ETH :: 0x9335fE2BCdca68407ed5Ae5FB196d2c69CAf96Da
BTC :: 3MxwhHQPHNhdDTfL3XyYGy7hdxCdZ1wVmp