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.1.0.tar.gz (16.7 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.1.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

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

Hashes for securecredentials-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d54cf261703c875064803a516c53f77c763d5548c171d19fdba4569e15654343
MD5 728a0286838188ed275b7de2950e8363
BLAKE2b-256 b18791776d0fe9059ad0a22128096db60f14755057a1e6e2cf8f80164b7576c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for securecredentials-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07356f5daf89cbf5a175e27d449e7884b224db03418433fd0d5f65476ad7b6b3
MD5 f35c7d9b96a896e575d8c39693e24777
BLAKE2b-256 ba1c082cb12f3308e7ef1de99337536a8276f591e260971a06df6acb3d605f66

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