Skip to main content

Paquete sencillo para cifrar y descifrar archivos de credenciales

Project description

Secure Credentials Roan

Paquete de Python para cifrar y descifrar archivos de credenciales con formato clave=valor.

Instalación

pip install secure-credentials-roan

## Uso básico
from secure_credentials import create_key_file, encrypt_file, load_credentials

create_key_file("secret.key")

encrypt_file(
    input_path="credentials.txt",
    output_path="credentials.enc",
    key_path="secret.key",
)

credentials = load_credentials(
    encrypted_path="credentials.enc",
    key_path="secret.key",
)

print(credentials)

## Formato del archivo de credenciales
user=root
password=mysql_5
database=automcae
host=localhost
port=3306

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

secure_credentials_roan-0.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

secure_credentials_roan-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file secure_credentials_roan-0.1.1.tar.gz.

File metadata

  • Download URL: secure_credentials_roan-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for secure_credentials_roan-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ae97339ba7b67a80a96f9abb6451d92db9f2927416c9612037b032391e7077b0
MD5 45bf641944acd31383472c1c9983ae1a
BLAKE2b-256 669a28a7407a5a1fe55c0da43e4c0fb4e8513f68141dfdce14a52055eb6d7b66

See more details on using hashes here.

File details

Details for the file secure_credentials_roan-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for secure_credentials_roan-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4725370ff32f3619bc0a2de6e9630eddec85ad0e49859830792c8128e21ef28
MD5 a353a29ab5fbc00263c419c08074bd23
BLAKE2b-256 d3c2ffc00dcf37ae67923b85cd5df110dadbefe0734cc19ba75794cb1da9d4ec

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