Live data from Hacker News

CrypTweet: Strong Encryption for Twitter DMs

news.ycombinator.com

1–10 of 24 posts

CrypTweet: Strong Encryption for Twitter DMs

#1
It's been a while in the making, but this is well worth some attention.

I've been lucky enough to be an early tester on CrypTweet - http://plexusproject.org/ - a public-key based method for encryption of Twitter DMs.

A base version is now available on the site linked above. It works nicely out of the box, but is kind of raw - minimal functional set, and all that.

For anyone interested in this kind of thing, for any number of reasons, may I (mis)quote that great Australian music commentator, Ian "Molly" Meldrum, and suggest you do yourself a favor by checking CrypTweet out.

trib -- @trib about.me/trib

Re: CrypTweet: Strong Encryption for Twitter DMs

#4

Are you serious? If you need secure messaging, surely you have other options than twitter? Just copy and paste a PGP encrypted message to pastebin.ca and and tweet the link, if you must.

sure good idea. Oh wait I was just shot in the face while I was distracted staring at my phone for 20 minutes figuring out how to do that.

Re: CrypTweet: Strong Encryption for Twitter DMs

#6
- Website contains no details of the cryptography.

- Stores private key by: a) SHA384-ing your passphrase, and choosing a sub-sequence of the output depending on one bit of the output (this is poor for brute-force resistance compared to PB-KDF2), b) DES3 in CBC mode with a fixed IV and PKCS5 padding (insecure for CCA2 and providing no authenticity. This is vulnerable to recovery using the padding oracle attack).

- Messages are encrypted with RSA-PKCS1.5 in signing mode (in other words, RSASSA-PKCS1-v1_5, not RSAES-PKCS1-v1_5). That means messages are trivially recoverable through KPA.

So: don't use this for anything other than a toy. The crypto is misdesigned.

Re: CrypTweet: Strong Encryption for Twitter DMs

#7
I just gave it a quick scan and found some issues: 1. PKCS1 verification looks vulnerable to a timing attack. 2. They're using plain RSA to encrypt message data without any padding like OAEP. This is not semantically secure. 3. They are not generating strong primes for RSA keys.

Re: CrypTweet: Strong Encryption for Twitter DMs

#8

sweet jeebus. If you really need strong crypto for Twitter DM's, for god's sake just use PGP or GPG. For the children.

I think you are discounting the level of thought and care that went into this. Meh, fail.

The level of care and thought put into creating a secure encryption scheme doesn't matter if the cryptography is broken. There's a reason you constantly hear cryptographers telling everyone to never invent their own crypto-systems; it's extremely difficult to do right.

Re: CrypTweet: Strong Encryption for Twitter DMs

#9

Are you serious? If you need secure messaging, surely you have other options than twitter? Just copy and paste a PGP encrypted message to pastebin.ca and and tweet the link, if you must.

sure good idea. Oh wait I was just shot in the face while I was distracted staring at my phone for 20 minutes figuring out how to do that.

Please describe a realistic scenario in which all of the following are true:

1) You are in imminent danger of being "shot in the face" or similarly harmed;

2) Your best means of salvation from (1) is communication via Twitter DM;

3) The absence of a means in which your message could be encrypted on the client side beyond the HTTPS connection to Twitter's servers would significantly increase the chance of (1).

This is a serious question.

Re: CrypTweet: Strong Encryption for Twitter DMs

#10

Are you serious? If you need secure messaging, surely you have other options than twitter? Just copy and paste a PGP encrypted message to pastebin.ca and and tweet the link, if you must.

The broader motivation is to bring crypto to services that people are using, not the other way round.
Post reply on HN