by upofadown · 6y ago · 0 comments
>Perfect forward secrecy is useless, it's important to note, if users don't delete their messages periodically.
Then:
>The Signal app offers disappearing messages that are automatically deleted after a certain time limit.
Which is not turned on by default. The user has to somehow know that they have to do this to get the benefit of forward secrecy. This seems all too common with contemporary encrypted messaging stuff. Really great features that depend on having the users behave in a way they normally would not.
Of course the app can do this wrong simply by failing to do a secure delete that actually removes the messages from the storage device. In the end the actual communications protocol doesn't make very much difference in the face of counter productive implementations; conceptual and/or technical.
Protecting messages at rest at the source or destination is out of scope for perfect forward secrecy.
But if the attacker is a government or has otherwise compromised telco infrastructure, the attacker might already have copies of your old encrypted traffic -- which, without forward secrecy, it could use.
I think the context of the claim in the article is pretty much only for the "government physically seizes your phone and examines its contents" scenario: but even for that scenario, a user might choose to selectively delete specific messages without deleting all of them (e.g. Signal allows you to delete an entire "conversation" with a specific person).
So in this threat model, either way, we also need to look into whether Signal successfully overwrites the content and metadata of the messages it deletes on the mobile device storage, because the government attacker would use forensic tools to try to undelete that data. I don't know the answer to that.
Has anyone investigated the wear leveling of mobile device storage to see how bad/tractable this situation is at the moment?
If the master key was generated with a weak rng then the same would also be true for any ephemeral keys. That being said I doubt that any device capable of running signal is going to have a weak RNG.
Only the backup thing is possible but at this point the adversary can pretend to be you to your contacts anyway (and well, read your past messages). The easiest solution here is to not backup the signal directory.
>...they could then use the long-term key and traffic captures to decrypt the newer messages that weren't in the older backup.
I don't see how forward secrecy would change things for this situation.
Another may be that texts are like emails for some people, and some people have reason to save important emails. I know a real estate agent that does a ton of stuff via text.
I delete texts after I process them. If I get a pic I want to keep I save it and back it up on the computer. I don't really save emails, either (I empty my trash every couple of months)
EDIT: added email comparison
I do completely understand archiving specific texts (sorry if this wasn't clear in my original statement), but the mass saving is weird to me. It feels akin to having a conversation with my friend and them just pulling out a microphone and recording our conversation. And then when asking why the answer is "for my records" or "it's my data". And I'm accused of being the weird one. I guess I just fundamentally don't understand.
"Hey, remember when we went to $ski_resort last spring? What week was that in, the conditions were great!"
"Hey, did you request vacation time for next week half a year ago? $employer says he doesn't remember you asking that.."
"Hey, since grandma passed away we need to contact her brokerage.. she told you what it was when she signed up a few years ago, right?"
"Hey, you remember the date of our first date, right?"
Being able to search my old text messages is just as, if not more, important than being able to search my old emails.
I have. In fact, over time I have searched my texts at least a dozen times for stuff that happened years ago. It might be links/references that I'm looking for or answers to questions like "When did Paul and I go to X?" and "When exactly did I meet Sara?" in which case Paul and Sara often don't remember the answer, either. Also, I have a dozen or so friends & acquaintances that I only get in touch with about once a year (mostly because they're living on the other end of the world) and, in this case, knowing what we last chatted about is a tremendous help in picking up the conversation where we left off. (Suddenly I magically "remember" that they told me they had started a new job.)
The lack of good message backups on iOS makes me hesitant to recommend Signal more.
The phones create their own ad-hoc Wi-Fi network, similar to Wi-Fi Direct.
on Android you have to do it manually and its by no means easy or intuitive if you are an everyday user. Whatsapp nails this experience on Android with the back up and transfer capability
And no, it's not simple at all to provide this technology in a meaningful way that is both as secure as you need and as convenient as you want. Nor should it be free if it ever exists.
Why shouldn't it be free?
Consider the context in which Signal came of age - post Snowden mass surveillance. Signal has always prioritized fighting mass surveillance.
Getting individual devices hacked to recover its content is already outside of what I’d consider “mass surveillance”.
That is, even if you don’t use disappearing messages, you’re much less likely to have your conversations slurped up into some PRISM aggregator type machine by using an e2e communication channel like Signal, in part due to its forward secrecy capabilities.
That said - no harm in fighting targeted surveillance as well. Wether it be from a 3 letter agency, a phone thief, or an overzealous personal relationship.
[1] https://github.com/signalapp/Signal-Android/issues/1764 (2014)
We all have a need to amend our messages after ruminating on them for sometime. The three hour limit doesn’t gel well with how humans work (on this matter, even the HN edit limit duration is very short).
My personal view is that such a tradeoff comes down to the threat model of the individual user, and they should not be surprised by auto-deleting messages by default.
I mean, this is basically true of every feature in every product.