Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gonzalo/cryptoradio
Python script to encrypt and publish on Twitter. Also decrypt tweets from file
https://github.com/gonzalo/cryptoradio
cipher encryption python twitter
Last synced: 21 days ago
JSON representation
Python script to encrypt and publish on Twitter. Also decrypt tweets from file
- Host: GitHub
- URL: https://github.com/gonzalo/cryptoradio
- Owner: gonzalo
- Created: 2017-05-15T15:16:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T14:57:20.000Z (over 7 years ago)
- Last Synced: 2024-08-05T17:41:29.214Z (4 months ago)
- Topics: cipher, encryption, python, twitter
- Language: Python
- Homepage:
- Size: 771 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
- awesome-hacking-lists - gonzalo/cryptoradio - Python script to encrypt and publish on Twitter. Also decrypt tweets from file (Python)
README
CRYPTORADIO
===========Python script to encrypt and publish on Twitter. Also decrypt tweets from file
### Needs
* Python 2.7 and over
* Python cryptography module: pip install cryptography
* Python twitter module: pip install python-twitter### Usage
**Fernet encryption uses same password for encryption and decryption**```
$ ./cryptoradio.py -h
usage: cryptoradio.py [-h] [-v] config_fileCrytoradio script.
positional arguments:
config_file Config fileoptional arguments:
-h, --help show this help message and exit
-v, --verbose Display operations on screen
```#### Encrypt and publish to twitter
1. Download script and make it executable ``chmod +x cryptoradio.py``
1. Install dependencies
1. Copy .config_sample to .config_enc and edit it: password, inputfile... and twitter tokens if you want
1. Be sure to set ``mode: encrypt``
1. Run encryption with ``./cryptoradio.py .config_enc``#### Decrypt messages
1. Copy all tweets to a file (one per line)
1. Copy .config_enc to .config_dec and edit it.
1. Be sure to set ``mode: decrypt``
1. Run encryption with ``./cryptoradio.py .config_dec``#### Security advices
**Protect your .config_enc and .config_dec files!!! They both store password**``$chmod 600 .config_enc .config_dec``
### Release Notes
#### 170517 - First functional version
* Takes an input file, divides it in blocks, encrypts each block using the specified password and send them to a twitter account and/or print them on screen
* Takes an input file decrypting each line using specified password and printing them on to screen
* Takes all options from config file### Future featurers
* Improved command line options
* Decrypt directly from user timeline -> "cryptoradio -d @user"
* Install as a service