setup/ssl/README.md

914 B

SSL utilities

This folder contain /bin/sh openssl utilities.

1. key pair generation (ecdsa:521)

./keygen

Generates a pair of ecdsa:521 keys.

2. file signature generation

./sign {file_in} {signature_out}

Generates a signed signature {signature_out} of the file {file_in} with the private key created by ./keygen.

3. file signature validator

./check {file_in} {signature_in}

Checks the file {file_in} by the given signature {signature_in} with the public key created by ./keygen.

4. file encryption

./encrypt {file_in} {encrypted_out}

Encrypts the file {file_in} into the file {decrypted_out} with AES-256-CBC using the typed password.

5. file decryption

./decrypt {encrypted_in} {decrypted_out}

Decrypts the file {file_in} into the file {decrypted_out} with AES-256-CBC using the typed password.