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 hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page