cryptopyutils.cli package
Submodules
cryptopyutils.cli.askpgen module
Asymmetric Encryption Key Pair Generator CLI - PEM format
cryptopyutils.cli.consttimecomp module
Constant time comparison CLI
This snippet compares a left series of bytes to a right series. It uses a constant time function to avoid timing attacks.
cryptopyutils.cli.csrgen module
Basic x509 Certificate Signing Request (CSR) generator CLI
cryptopyutils.cli.dirs module
Dirs Manipulation CLI
cryptopyutils.cli.pwdenc module
Password Encryption CLI
cryptopyutils.cli.pwdverif module
Password Verification CLI
cryptopyutils.cli.selfsignedgen module
Self-Signed x509 PEM certificate generator CLI
cryptopyutils.cli.sshkeypairgen module
sshkeypairgen.py - openSSH Key Pair Generator CLI
- cryptopyutils.cli.sshkeypairgen.main()[source]
Some equivalence with ssh-keygen (https://www.ssh.com/academy/ssh/keygenI)
-t rsa -b 4096
-t dsa
-t ed25519
-t ecdsa -b 521
-c comment (unique name identifying the key)
By default, this tool generates id_[alg] and id_[alg].pub files with the –system option, it generates ssh_host_[alg]_key and ssh_host_[alg]_key.pub files.
You need the –force option to overwrite existing files.