OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
third_party
/
rsa
/
doc
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/11/2024 09:39:44 AM
rwxr-xr-x
📄
Makefile
4.66 KB
04/05/2021 03:08:16 PM
rw-r--r--
📁
_build
-
04/05/2021 03:08:16 PM
rwxr-xr-x
📁
_static
-
04/05/2021 03:08:16 PM
rwxr-xr-x
📁
_templates
-
04/05/2021 03:08:16 PM
rwxr-xr-x
📄
cli.rst
3.76 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
compatibility.rst
1.9 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
conf.py
7.13 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
index.rst
1.51 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
installation.rst
1.38 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
intro.rst
1.51 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
licence.rst
667 bytes
04/05/2021 03:08:16 PM
rw-r--r--
📄
make.bat
4.41 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
reference.rst
2.19 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
upgrading.rst
2.69 KB
04/05/2021 03:08:16 PM
rw-r--r--
📄
usage.rst
10.58 KB
04/05/2021 03:08:16 PM
rw-r--r--
Editing: cli.rst
Close
Commandline interface ================================================== A lot of the Python-RSA functionality is also available as commandline scripts. On Linux and other unix-like systems they are executable Python scripts, on Windows they are .exe files. All scripts accept a ``--help`` parameter that give you instructions on how to use them. Here is a short overview: .. index:: CLI interface .. index:: pyrsa-keygen, pyrsa-encrypt, pyrsa-decrypt, pyrsa-sign .. index:: pyrsa-verify, pyrsa-priv2pub, pyrsa-encrypt-bigfile .. index:: pyrsa-decrypt-bigfile, pyrsa-decrypt-bigfile +-------------------------+--------------------------------------------------+-----------------------------------------+ | Command | Usage | Core function | +=========================+==================================================+=========================================+ | pyrsa-keygen | Generates a new RSA keypair in PEM or DER format | :py:func:`rsa.newkeys` | +-------------------------+--------------------------------------------------+-----------------------------------------+ | pyrsa-encrypt | Encrypts a file. The file must be shorter than | :py:func:`rsa.encrypt` | | | the key length in order to be encrypted. | | +-------------------------+--------------------------------------------------+-----------------------------------------+ | pyrsa-decrypt | Decrypts a file. | :py:func:`rsa.decrypt` | +-------------------------+--------------------------------------------------+-----------------------------------------+ | pyrsa-sign | Signs a file, outputs the signature. | :py:func:`rsa.sign` | +-------------------------+--------------------------------------------------+-----------------------------------------+ | pyrsa-verify | Verifies a signature. The result is written to | :py:func:`rsa.verify` | | | the console as well as returned in the exit | | | | status code. | | +-------------------------+--------------------------------------------------+-----------------------------------------+ | pyrsa-priv2pub | Reads a private key and outputs the | \- | | | corresponding public key. | | +-------------------------+--------------------------------------------------+-----------------------------------------+ | *pyrsa-encrypt-bigfile* | *Encrypts a file to an encrypted VARBLOCK file. | *Deprecated in Python-RSA 3.4 and | | | The file can be larger than the key length, but | removed from version 4.0.* | | | the output file is only compatible with | | | | Python-RSA.* | | +-------------------------+--------------------------------------------------+-----------------------------------------+ | *pyrsa-decrypt-bigfile* | *Decrypts an encrypted VARBLOCK file.* | *Deprecated in Python-RSA 3.4 and | | | | removed from version 4.0.* | +-------------------------+--------------------------------------------------+-----------------------------------------+