a Password Manager application with google drive api
DincKey is a secure and user-friendly password manager that allows you to store, manage, and encrypt your passwords. It also integrates with Google Drive to back up your passwords securely.
- Add, change, and delete password entries.
- Generate strong random passwords.
- Encrypt passwords using a master password.
- Backup encrypted passwords to Google Drive.
- Securely load and save passwords from a local JSON file.
- Python 3.6 or later
- Required Python packages (listed in
requirements.txt
)
-
Clone the repository:
bash
Kodu kopyala
git clone https://github.com/your-username/dinckey.git cd dinckey
-
Install the required packages:
bash
Kodu kopyala
pip install -r requirements.txt
- Go to the Google Cloud Console.
- Create a new project.
- Enable the Google Drive API for your project.
- Create OAuth 2.0 credentials:
- Go to the Credentials page.
- Click "Create Credentials" and select "OAuth 2.0 Client IDs".
- Set the application type to "Desktop App".
- Download the
client_secret.json
file and save it in the project directory.
-
Ensure that
client_secret.json
is in the project directory. -
Run the application:
bash
Kodu kopyala
python dinckey.py
-
On the first run, you will be prompted to enter and confirm a master password. This master password will be used to encrypt and decrypt your stored passwords.
- Enter the service name in the "Service" field.
- Enter the email associated with the service in the "E-posta" field.
- Enter the password in the "Password" field.
- Click the "Add/Change" button.
- Click the "Create password" button to generate a random strong password.
- The generated password will appear in the "Password" field.
- Select an entry from the "Registrations" list.
- Click the "Delete registery" button.
- Confirm the deletion when prompted.
- The master password is used to encrypt and decrypt all other passwords.
- The master password hash is stored in
passwords.json
. - If you forget your master password, you will need to delete
passwords.json
and set up the application again.
- The application automatically uploads
passwords.json
to Google Drive after each change. - Ensure that
token.json
andclient_secret.json
are in the project directory.
client_secret.json
: Contains your Google API credentials.token.json
: Stores the user's access and refresh tokens.passwords.json
: Stores the encrypted passwords and the master password hash.
This project is licensed under the MIT License - see the LICENSE file for details.