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.0.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.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: secure_credentials_roan-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c94e604b7101aa23a4dcd215bdb89a1aaf1cefce69d0006ebdcf1b09b8a3965d
MD5 45c4530a680f7f2e8df90296a629d0b4
BLAKE2b-256 2258f7930e45a6c8f46d867af13025dd78acc13d1cd67213d24f28c6806d9fea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for secure_credentials_roan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 917e7108b6822f61f11658da04fad733b4e502a30bc72f3df62b40d94f057b71
MD5 5d0084e4bd5703089246aa5681b47665
BLAKE2b-256 19c9d10d0516aaa64c0cf488f53888a975c2c73826218e8c848cfaf715243662

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