SecureCredentials is a lightweight Python package that encrypts and securely stores key-value pairs on disk, enabling easy and secure retrieval.
Project description
SecureCredentials
SecureCredentials is a lightweight Python package designed to securely store key-value pairs, such as passwords or other sensitive information, on disk. By leveraging modern AES-GCM 256-bit encryption and a dual encryption scheme, the package ensures that your sensitive data and encryption keys remain safe, while still providing convenient access for everyday use.
Why SecureCredentials Was Created
This package was created to address two common challenges faced by developers:
- Avoid storing sensitive credentials in plaintext: It is unsafe for developers to store credentials such as database passwords, Active Directory passwords, and API keys in plaintext within their scripts or configuration files.
- Eliminate the need to repeatedly enter passwords: Developers often have to enter their credentials every time they run a script, which can be cumbersome and error-prone. SecureCredentials allows for automatic retrieval of encrypted credentials, eliminating the need to type them each time.
Key Features
- Dual Encryption Scheme: Your actual credentials are encrypted with a strong master key, and that master key is itself encrypted using a deterministic AES-GCM 256-bit key derived from your local system environment—ensuring multi-layered protection.
- AES-256 Encryption (GCM mode): Uses modern AES-GCM encryption with a 256-bit key for both speed and strong cryptographic security.
- Local Security: All keys and encrypted data are stored locally, ensuring that no sensitive data leaves your system.
- Convenience: Automates secure access to stored credentials, removing the need to retype passwords or store them in plaintext.
- Cross-Platform: Works seamlessly across different operating systems, including Windows, Linux and macOS.
Installation
To install SecureCredentials, run:
pip install securecredentials
Dependencies
SecureCredentials requires the following Python libraries:
- cryptography: For encryption and decryption.
Release Notes
For detailed version history, see the CHANGELOG.md file.
License
SecureCredentials is licensed under the Apache License Version 2.0. See the LICENSE file for details.
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request for improvements or feature requests.
Support
If you encounter issues or have questions, please open an issue in the GitHub repository.
Full Documentation:
Full documentation and usage examples are available in the GitHub repository
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file securecredentials-2.1.0.tar.gz.
File metadata
- Download URL: securecredentials-2.1.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d54cf261703c875064803a516c53f77c763d5548c171d19fdba4569e15654343
|
|
| MD5 |
728a0286838188ed275b7de2950e8363
|
|
| BLAKE2b-256 |
b18791776d0fe9059ad0a22128096db60f14755057a1e6e2cf8f80164b7576c8
|
File details
Details for the file securecredentials-2.1.0-py3-none-any.whl.
File metadata
- Download URL: securecredentials-2.1.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07356f5daf89cbf5a175e27d449e7884b224db03418433fd0d5f65476ad7b6b3
|
|
| MD5 |
f35c7d9b96a896e575d8c39693e24777
|
|
| BLAKE2b-256 |
ba1c082cb12f3308e7ef1de99337536a8276f591e260971a06df6acb3d605f66
|