Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.44 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.44 KB


Encrypts and decrypts text with your ssh generated public private key's

Project state: Fun mode

PrerequisitesEncrypt a messageDecrypt a messageContribute

Prerequisites

To work, this script will need following python libraries

  • cement
    • Advanced CLI Application Framework for Python
  • cryptography
    • Provides cryptographic recipes and primitives to Python developers

Install prerequisites

pip install cement
pip install cryptography

Encrypt a message

This will encrypt the string "This is top ssecret information nobody should be able to read" to a file secretmessage.txt by using the the public key "public-key"

python3.6 crypto-message.py -i /path/to/public-key /path/to/secretmessage.txt This is top secret information nobody should be able to read

Decrypt a message

This will decrypt the file secretmessage.txt by using the private key "private-key"

python3.6 crypto-message.py -d /path/to/private-key /path/to/secretmessage.txt 

Contribute

Heck yeah! :)

  1. Post a small actionable idea into the issues with title text "[idea]" and give a status update there
  2. Have fun