Skip to content

zHd4/pgp-crypt

Repository files navigation

pgp-crypt

Collection of PGP Python scripts

Usages

pgp-keys-gen.py

usage: pgp-keys-gen.py [-h] email key_size

PGP keys generation tool

positional arguments:
  email       Email
  key_size    Key size

options:
  -h, --help  show this help message and exit

pgp-encrypt-message.py

usage: pgp-encrypt-message.py [-h] email key_path

PGP messages encryption tool

positional arguments:
  email       Recipient's email
  key_path    Path to public key

options:
  -h, --help  show this help message and exit

pgp-decrypt-message.py

usage: pgp-decrypt-message.py [-h] email key_path

PGP messages decryption tool

positional arguments:
  email       Recipient's email
  key_path    Path to private key

options:
  -h, --help  show this help message and exit

pgp-encrypt-file.py

usage: pgp-encrypt-file.py [-h] [-o OUTPUT_PATH] [-a] email public_key_path input_file_path

PGP file encryption tool

positional arguments:
  email                 Recipient's email
  public_key_path       Path to public key
  input_file_path       Path to file to be encrypted

options:
  -h, --help            show this help message and exit
  -o OUTPUT_PATH, --output-path OUTPUT_PATH
                        Output path
  -a, --armor           Text output

pgp-decrypt-file.py

usage: pgp-decrypt-file.py [-h] [-o OUTPUT_PATH] private_key_path encrypted_file_path

PGP file decryption tool

positional arguments:
  private_key_path      Path to private key
  encrypted_file_path   Path to encrypted file

options:
  -h, --help            show this help message and exit
  -o OUTPUT_PATH, --output-path OUTPUT_PATH
                        Output path

Releases

No releases published

Packages

No packages published

Languages