Skip to main content

Client library and command line interface for 2ndLock

Project description

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

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli42ndLock-0.0.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

cli42ndLock-0.0.3-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file cli42ndLock-0.0.3.tar.gz.

File metadata

  • Download URL: cli42ndLock-0.0.3.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for cli42ndLock-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1e41f649b4378fdcd3432a0bcc002cdfe66fd32c7b7fd468a0ec1f6303eb1888
MD5 06502a123665ea2eede5784e0a311b41
BLAKE2b-256 bee7241ad08a5a7e4f15a3b68a84362fcfdd4bda430f69a7e94fa19df384d8c2

See more details on using hashes here.

File details

Details for the file cli42ndLock-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: cli42ndLock-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for cli42ndLock-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 adb9ec6268f4bb30b5fc9355422f79d67e9fe6c2d3ed83316a7c4e242ef1cd4e
MD5 82d8e791842527f6ada24bccdc9b1b1f
BLAKE2b-256 ddbf3f17280e48fc0bb36507b344b0393c3bbdc952f087cf703fb110983ee748

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page