Python lib and CLI for 2ndLock
Requirements
See requirements.txt
Library
For python 3. Supports
- Key generation
- Key import
- Encryption
- Decryption
CLI
Use command line to interact with 2ndLock with scripts or interactive
Example
Use 2ndLock Community Server at https://community.2ndlock.org for testing.
pip install cli42ndLock
cli42ndlock generate-keys test@example.com my_passwd my_passphrase_for_key my_private_key.pem
cli42ndlock encrypt test@example.com my_passwd testfile.txt testfile.2ndlock recipient@example.com
cli42ndlock decrypt recipient@example.com my_passwd my_passphrase_for_key testfile.2ndlock testfile.new my_private_key.pem
License
Release files for cli42ndLock 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cli42ndLock-0.0.3.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cli42ndLock-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / cli42ndLock-0.0.3.tar.gz
| Download URL | cli42ndLock-0.0.3.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e41f649b4378fdcd3432a0bcc002cdfe66fd32c7b7fd468a0ec1f6303eb1888
|
|
BLAKE2b-256 checksum How to use checksums |
bee7241ad08a5a7e4f15a3b68a84362fcfdd4bda430f69a7e94fa19df384d8c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
|
Release files / cli42ndLock-0.0.3-py3-none-any.whl
| Download URL | cli42ndLock-0.0.3-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adb9ec6268f4bb30b5fc9355422f79d67e9fe6c2d3ed83316a7c4e242ef1cd4e
|
|
BLAKE2b-256 checksum How to use checksums |
ddbf3f17280e48fc0bb36507b344b0393c3bbdc952f087cf703fb110983ee748
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
|