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.

Files for cli42ndLock, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size cli42ndLock-0.0.3-py3-none-any.whl (10.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cli42ndLock-0.0.3.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

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