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.1.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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