GithubHelp home page GithubHelp logo

bossjones / switters Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jkubicek/switters

0.0 2.0 0.0 505 KB

Communicate securely with anyone on Twitter

License: Other

Python 87.46% Ruby 12.54%

switters's Introduction

Switters

Switters (secure twitters) is a script for sending encrypted messages via Twitter @replies. The messages are encrypted with your Keybase account, packaged in a QR code and attached to a tweet as an image. The recipient can then decode the image and decrypt the message.

Disclaimer: I'm not a security expert. I doubt this code will stand up to the NSA. Don't use this to transmit actual secrets.

Installation

Switters requires a keybase account. Create an account at http://keybase.io and install the keybase script. Make sure that you've logged in with keybase login.

Switters also requires that you've got the Java runtime. You can test your installation by running java -version. If you are running Yosemite (OS X 10.10) and you are seeing "No Java runtime present, requesting install" errors, you may have better luck installing Java from Apple.

Once keybase and Java are installed, run brew install https://raw.githubusercontent.com/jkubicek/Switters/master/switters.rb to install the switters client. Before you're able to send messages, you'll need to create an app ID and save the credentials locally. On Twitter's app pages create a new app. Make sure the app has read and write permissions. From the "Keys and Access Tokens" tab, copy down the consumer key, secret, access token and access token secret. These should be placed in a file located at ~/.swittersconfig. The file looks like:

[TwitterConfig]
consumer_key = <add key here>
consumer_secret = <add secret here>
access_token = <add token here>
access_token_secret = <add secret token here>

Sending Messages

switters send -u jkubicek -m "Hey there, guy"

The -u flag should be a Twitter username, the -m flag is your message.

Receiving Messages

switters receive tweet_id

tweet_id is the id of a message containing an encrypted QR code. Visit the tweet page and copy the ID from the URL.

switters's People

Contributors

jkubicek avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.