Live data from Hacker News

Scramble.io: secure email for everyone

dcposch.github.io

71–80 of 142 posts

Re: Scramble.io: secure email for everyone

#71
post #23

Earlier quoted context omitted.

I'm not a programmer. Why can't you just digest or hash the JS?

Just curious : what does a non-programmer come to HN for? Everything seems fairly programming centric to me here...

It is, but mostly because of the low barrier to entry in software.

I'm technically minded though--chip designer. Software is a hobby for me. I guess I more meant that I'm not a JavaScript programmer and don't know the subtleties of that ecosystem.

Re: Scramble.io: secure email for everyone

#72
post #33

It's nice to see so many projects attempting to solve this problem. I have a question specific to the documentation on the main page: Private keys are stored on the server in encrypted form. The key derivation function used is as follows: K = scrypt(Passphrase, Username) I'm going to skip the "JS crypto is bad". What I'd like is clarification of the Zero Knowledge section that the keypair is decrypted client-side onl…

Even with the brute protection provided by scrypt, it's very worrying that you can assume the encrypted private key will A) Be available to authorities via (secret) court order B) Captured and stored by NSA types. The security of the key could only be assumed to be as high as the weakest passphrase ever used by the user. With what we know about most user's password security (especially the type not already capable of using GPG, which would seem the target market of this) this seems like a very bad idea.

Why go through all the trouble of attempting strong client side crypto, only to store the private key secured only by a passphrase on the server?

Re: Scramble.io: secure email for everyone

#73
post #70

Earlier quoted context omitted.

Two big questions: 1. How do you revoke a compromised signature comitee certificate embedded in the browser extension? 2. How can you prevent a hostile browser extension from hijacking the validation process?

3. How do you prevent secret agents from looking in your window with binoculars?

Curtains.

Re: Scramble.io: secure email for everyone

#74
I understand the attraction. You want to solve this problem as if it was just a straightforward hack. I spent a few days looking at this same problem (harpomail.com) and abandoned it because, in then end, It seemed like I could only provide a false sense of security to people who could conceivably lose their lives because they trusted me.

If it had just been a technical risk or a financial risk to myself I would have pursued it, but some risks are heavier than others.

Re: Scramble.io: secure email for everyone

#75
post #40

Earlier quoted context omitted.

Yeah, I read your Matasano post, "Javascript crypto considered harmful", and I agree-- Javascript crypto is hard! But it's not impossible. The reason I chose that route is because I want to make it as easy as possible for users to try out and adopt. Just testing it out? No installation required. I think that security is at least equal parts a technical problem and an adoption problem. The status quo is that nearly al…

Two big questions: 1. How do you revoke a compromised signature comitee certificate embedded in the browser extension? 2. How can you prevent a hostile browser extension from hijacking the validation process?

Hi! These are good questions.

1. We could require the signatures to be recent, and if there are any certificates that need to be revoked, we could require that all signers include that information in the data signed. What do you think?

2. If other hostile browser extensions can hijack the validation process, then the only solution is to not have other browser extensions. Paranoid users who need strong security should boot from a fixed image that has a vetted browser with only one browser extension already installed.

Re: Scramble.io: secure email for everyone

#76
so, you want to send someone a message. you don't care if someone sees you sending it. but you don't want anyone to know whom you sent it to, or what the message contains.

  requirement 1. message integrity and security

  1a. use public-key cryptography
    - step 1. Person A writes a letter to Person B.
    - step 2. Person A encrypts a message using Person B's public key.
    - step 3. Person A sends encrypted message to Person B.
    - step 4. Person B receives and decrypts the message using Person B's private key.


  requirement 2. clandestine recipients

  1a. coded messages
    - con: coded messages are usually broken after enough messages pass

  1b. steganography
    - not difficult to detect if messages sent often

  1c. dead drops
    - pro/con: MITM has to monitor the drop box to determine recipient

  1d. peer-to-peer message passing
    - can still determine recipient using statistical analysys

i think if you took the tor model for private services and removed the open circuits, and added a more evenly-distributed constant stream of garbage messages sent to random peer addresses, it would be much less likely that any one message could be linked to any two nodes with certainty. this would hinge on the premise that all nodes are constantly receiving messages (mostly garbage) at random. this would probably be a horrible thing for network bandwidth, but luckily most e-mails are very small.

Re: Scramble.io: secure email for everyone

#77
post #65

Earlier quoted context omitted.

But doesn't this approach if implemented the best we can , at least blocks dragnet surveillance ? isn't that valuable ?

How are you going to block dragnet surveillance if they can surveil the method of your delivering encrypted messages? NSA can already see, and modify, the JS used to create encrypted messages (because they've owned the HTTPS gateways), so they can see, and modify, the encrypted messages.

If they do this for many users, then those who don't have a secure environment (including the browser extension) are vulnerable, but it would be easy to detect that this is happening on a large scale -- those running the extension would be notified. If they don't do this for every user, then it wouldn't be effective dragnet surveillance, and Scramble would have a made a dent in dragnet ability.

Re: Scramble.io: secure email for everyone

#78
Users don't have to manage and back up their keys---or even know what a key is. Scramble does it for you.

As a user, why would I want to delegate my key management to you? Encrypting the email I want to send to a person with their public key is what gives me a sense of trust that what I am sending is encrypted and only readable to that person.

However--as the example of Tormail and others show us--the server cannot be trusted to serve uncompromised client-side code, even if the organization behind it is well intentioned.

So then why am I trusting you with my PGP keys?

Re: Scramble.io: secure email for everyone

#79
post #64
post #63

Earlier quoted context omitted.

This is also a PGP application that most people can benefit from immediately (compared to using Hotmail), and one that can be used by even the most targeted users if their environment is set up correctly once the extension is out.

You say that because you want it to be true, not because you have any real confidence that it is true.

What you said applies more to you than it does to me.

Re: Scramble.io: secure email for everyone

#80

If you just expose your service as an API then you don't have to worry about users trusting code given to them by the site. Then use a native client app that doesn't suck to interact with the service...all of the encryption is done client side with all of the messages being encrypted end to end. JavaScript encryption just isn't really valid in browsers...the browser runtime is to blame. Its funny that people have to…

That sounds much more interesting. Solving key exchange and message transport in a friendly way, then using a native client has possibilities. I think that's the direction [Hemlis](https://heml.is/) is taking.
Post reply on HN