Skip to main content

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:

  1. 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.
  2. 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

securecredentials-2.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

securecredentials-2.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file securecredentials-2.0.tar.gz.

File metadata

  • Download URL: securecredentials-2.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for securecredentials-2.0.tar.gz
Algorithm Hash digest
SHA256 67dc13f58f82961d53754ee85de61520dff6aa02cc8b443d20a8229191dc09d4
MD5 72fe672814a5abeb2b93ced5255557c6
BLAKE2b-256 3dc46999f8f41d4f4191671ba3016ffd4677288de8315a8b19f1a049de0ab8a1

See more details on using hashes here.

File details

Details for the file securecredentials-2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for securecredentials-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8f0816d5018d54e6c992dbaac3290d3cb496c38a3074ad0a4e02219c0d4b368
MD5 041c24b0a4abdc6577ceb94a4def23ff
BLAKE2b-256 05d3649b6538a658c2b0cbab75f6bf7bec868e81ac731273a17872d7fd8b6d28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page