News for hackers. Stuff that matters.
Re:Signal WhatsApp Chats Import by upofadown on Friday January 08, 2021 @12:37PM (#25687287)
>...the Signal team fundamentally does not value chat history the same way a lot of people do.

Keeping around old messages more or less negates the value of forward secrecy. The Signal Protocol is obsessively forward secret. So it would be reasonable for those that have put so much work into getting rid of old messages for good would not value them.

Re:Signal WhatsApp Chats Import by tw04 on Friday January 08, 2021 @01:05PM (#25687642)
It's not reasonable to expect it to be a defacto messenger if you can't save chat history. Full stop.

If I want a conversation to be private, I set expiring messages, for the rest of it, I want to be able to go back and reference things all the time. Whether it be digging up a song link I sent a buddy, or looking up the address someone sent me a week in advance.

If they can't operate or are unwilling to operate under those guidelines then they just aren't ever going to replace whatsapp with the general populace and the community should start work on something else or agree that telegram is "good enough" (I don't think it is).

Re:Signal WhatsApp Chats Import by tigerlily on Friday January 08, 2021 @02:19PM (#25688890)
Be a cool feature if they let us encrypt chat history in a local file.
Re:Signal WhatsApp Chats Import by nmlnn on Friday January 08, 2021 @03:27PM (#25689992)
Am I missing something? That's how their backups work currently
Re:Signal WhatsApp Chats Import by tw04 on Friday January 08, 2021 @03:41PM (#25690158)
The problem is it doesn't work at all on iOS, and there's no way to sync between iOS >> Android or iOS >> PC.
Re:Signal WhatsApp Chats Import by angry_octet on Friday January 08, 2021 @04:06PM (#25690510)
This really miscomprehends what forward secrecy means. PFS prevents an adv who obtains the keys from decoding previous messages -- even with access to your unlocked phone (and the long lived keys) they couldn't obtain cleartext on any message you had deleted, even with the ciphertext. Also, having a plaintext message does not confirm it was a particular ciphertext.

But it really isn't available to the software author to know how long we want to keep a message for. If I want I can set a disappearing message timer.

Re:Signal WhatsApp Chats Import by godelski on Friday January 08, 2021 @12:57PM (#25687546)
Honestly I personally just want the ability to save specific messages. My friend sends me a recipe? Save. Just shooting the shit? Don't save. I don't understand why people want to save their whole chat history but I do understand why you'd want to save specific messages, and that's a big missing feature.
Re:Signal WhatsApp Chats Import by richardw on Friday January 08, 2021 @02:29PM (#25689079)
I don’t always know which are important messages until a while later. Someone mentions a useful service or name, so I search WhatsApp to find it. Moved phones recently, iOS backup was screwed up, and I lost some great covid memes and was looking for a specific one. Had to ask the sender to resend it to me.
Re:Signal WhatsApp Chats Import by amelius on Friday January 08, 2021 @02:33PM (#25689168)
The idea is to save all messages and have a good search option, so you'll only ever see the good posts when looking back into your history. No need to tag them beforehand.
Re:Signal WhatsApp Chats Import by godelski on Friday January 08, 2021 @02:45PM (#25689320)
Honestly I don't want all messages saved. I don't see that as useful. Not only is that noise but just makes me feel uncomfortable in the same way I would if someone pulled out a tape recorder while we were shooting the shit over beers. Then you think about how cultures change and people make a fuss over things from years ago on Twitter even when the person has changed opinions? No thanks. Not everything needs to be recorded. That's the premise of too many dystopian sci-fi stories.
Re:Signal WhatsApp Chats Import by fsflover on Friday January 08, 2021 @04:24PM (#25690699)
You can simply keep those messages in an encrypted backup. Who knows how valuable they will be in 20+ years. And maybe you will be able to apply (local) AI to them and find out interesting things about yourself.
Re:Signal WhatsApp Chats Import by jolmg on Friday January 08, 2021 @01:34PM (#25688024)
s/specific messages/& and conversations/

> I don't understand why people want to save their whole chat history

Valuable messages and conversations can happen too often that it's a hassle to save them manually. This is probably more common in group chats where lots of people occasionally share valuable stuff.

Re:Signal WhatsApp Chats Import by godelski on Friday January 08, 2021 @02:33PM (#25689159)
Sure, conversations. But honestly I feel like saving everything just generates more noise and makes it difficult to find the signal.
Re:Signal WhatsApp Chats Import by fsflover on Friday January 08, 2021 @04:26PM (#25690730)
Re:Signal WhatsApp Chats Import by hackmiester on Friday January 08, 2021 @01:37PM (#25688082)
Your point and use case are valid but unrelated. I agree with the parent comment but not with your sentiment.
Re:Signal WhatsApp Chats Import by FalconSensei on Friday January 08, 2021 @01:57PM (#25688521)
The thing is: your use case and wants seems to be different than like, 90% of Whatsapp users, as they expect to never lose their history. So... Signal is not a replacement to Whatsapp
Re:Signal WhatsApp Chats Import by hackmiester on Friday January 08, 2021 @04:06PM (#25690511)
That's fine with me. I was just pointing out that those two requests are not really related.

I don't know much about WhatsApp, and I've never lost any message in Signal, so I am not sure I am well equipped to discuss whether it's fit for that purpose. But I would certainly love to save individual messages in some sort of vault, as well.

Re:Signal WhatsApp Chats Import by carlhjerpe on Sunday January 10, 2021 @05:32AM (#25713209)
Please provide source for the 90% figure.
Re:Signal WhatsApp Chats Import by beezle on Friday January 08, 2021 @02:25PM (#25689027)
>Keeping around old messages more or less negates the value of forward secrecy.

Why? Can you please explain as my understanding of perfect forward secrecy is that should not matter. I'm not a crypto expert so perhaps I've overlooked something?

Re:Signal WhatsApp Chats Import by KAMSPioneer on Friday January 08, 2021 @03:04PM (#25689636)
I mean, from the perspective of the crypto it doesn't matter. But it defeats the point of building a forward-secret system.

Think of it like this: if I'm an attacker that breaks into the forward-secret chat app on your device, and you have kept a perfect record of every conversation you've ever had using that crypto system in _the same place you keep your identity keys_, then does it really matter whether the messaging system was "protected" by a forward-secret system? You might as well just have scrapped all that complexity and had non-forward-secure messages if you want to keep a perfect, eternal record of your conversations.

I actually think the Keybase guys did a great job at this. They have non-forward-secure chats by default (so that you never lose chat history), but exploding messages (which delete themselves after a short time by design) are forward-secret, since then it actually makes a difference.

I suppose it depends on your "threat model..." How do you want to use your chat system?

Re:Signal WhatsApp Chats Import by dwohnitmok on Friday January 08, 2021 @03:29PM (#25690022)
Chat history isn't immediately at odds with PFS. As I see it PFS first and foremost is for protecting messages in transit. This is to prevent dragnet-style surveillance.

Chat history means giving up some measure of at-rest security, but it has no impact on the in transit part. Personally I also think some compromise of at-rest is a reasonable trade-off for a lot of consumer contexts because physical capture of your device already is basically game over.

Re:Signal WhatsApp Chats Import by KAMSPioneer on Friday January 08, 2021 @04:08PM (#25690530)
But PFS is specifically about including "my adversary may, at a later date, compromise my private key" in your threat model without giving up plaintext. If we assume that calculating a private key from the public key is ~impossible (which I hope you agree we can do), and we further assume the private key never leaves the device, then forward secrecy is what lets us know the only way to get plaintext is by stealing it from an endpoint. Maybe I'm failing to see the adversary you're defeating with PFS if they're never going to access your device and siphon off private data...

I'm no expert, but if all you care about is transit security, I don't think you need PFS (in E2EE messaging! TLS is a different story, because you have to trust the server). Just protect your private key. But if you're carrying multiple device's worth of accumulated messages _right alongside_ your private key, then what's the point of rotating ephemeral keys after each message?

EDIT: I agree about a compromise on PFS/chat history being reasonable in most scenarios. But I also think that defaults are really important, especially as the contents of chat history can be leaked by other participants, whose chat backups you can't really control. It's a tough problem to solve for everyone.

Re:Signal WhatsApp Chats Import by darkwater on Friday January 08, 2021 @05:55PM (#25691592)
> But PFS is specifically about including "my adversary may, at a later date, compromise my private key" in your threat model

I'm no crypto expert but that "later date" when talking about PFS is to avoid an external dragnet recording all your ciphered streams and then deciphering them once they have your non-PFS secret key.

I mean, in your definition basically all the messages should be ephemeral on your device and on each recipient device to have PFS.

Re:Signal WhatsApp Chats Import by KAMSPioneer on Friday January 08, 2021 @06:37PM (#25692276)
I'm comparing two scenarios:

In the first, a global adversary (say, NSA) records all your interactions via a chat service. This chat service does not use PFS. At a certain point, they capture the private key from one of your devices that uses the service, and is able to decrypt all your messages.

In the second, the same global adversary records all your messages, but this time from an otherwise identical service that DOES use PFS. The adversary captures your private key but can only use it to MitM attack you going forward. However, before discarding your device, they check your conversation history -- because your diligent backup and transfer of all your conversations since you signed up for the chat service, they now have all your messages. PFS did not help.

Now, you could change scenario #2 to where you don't have an option to back up and transfer message history (or simply choose not to), and that's essentially Signal. In that case, the adversary is pretty much hosed except for the messages your device just happened to have on it. Adversary steals message backup == adversary steals private key w/o PFS

Re:Signal WhatsApp Chats Import by feanaro on Friday January 08, 2021 @06:32PM (#25692127)
> Just protect your private key.

This is what PFS is all about: it is about noticing that keeping your private key secret is really hard and admitting you're probably not going to be able to do it.

But even so, when it leaks, the attacker won't be able to use it to unlock the ciphertexts of all your previous conversations that he meticulously recorded. This property is PFS.

There is no need for the attacker to have access to your device in order to execute this attack against systems which don't have PFS.

Re:Signal WhatsApp Chats Import by KAMSPioneer on Friday January 08, 2021 @06:50PM (#25692619)
Sorry, I'm probably explaining myself poorly. I much prefer chat systems with PFS because it mitigates the blast radius of a key leak, I get that. What I'm saying is, if you store a message history that contains the plaintext that Mallory wants, and it's stored in the same way the identity key is, PFS doesn't get you much.

The attacker who has all your ciphertexts needs the decryption key to get the plaintext (which she wants). Now, with a PFS scheme the key gets deleted as soon as I receive and decrypt the message, so the attacker is out of luck, basically (even if she gets my long-term key). However, PFS only moves the target to my plaintext message database...which is stored the same way my key is (as I understand it). So really, unless I purge my message history with some regularity (I do), then the stakes are the same -- don't let the attacker get access to the device.

But most people prefer to have all their chat history available and searchable, at which point individual decryption keys don't matter and therefore PFS doesn't, in my opinion, help much.

Re:Signal WhatsApp Chats Import by smichel17 on Friday January 08, 2021 @06:48PM (#25692580)
> you have kept a perfect record of every conversation you've ever had

The other side of this coin is deniability. If you break into my secure location and steal my chat logs, but you can't tell which are real and which are fake, you've still got work to do.

The Signal protocol has you covered, here. After the fact (ie, as long as you don't watch me receive the message), there is no way to cryptographically prove which of the two participants wrote the message[0]. Thus, it is technically possible to forge a bunch of chat history, or claim that someone else's is forged. Cryptographically, the "spirit of forward secrecy" is secure.

That said, this is far out of the reach of the average person. Even if the only evidence is a screenshot, that conversation probably happened. So in practice yes, you've got a point. That's why I think it would really behoove Signal to add a "forge a conversation" feature. Make it trivial for either person to add a message to their local history that looks like it came from any of the participants, at a specific date/time. Now you've got practical deniability, too.

[0] https://signal.org/docs/specifications/x3dh/#deniability

Re:Signal WhatsApp Chats Import by upofadown on Friday January 08, 2021 @03:20PM (#25689879)
The way I like to think about it:

If you had a way to keep your old messages safe then you could of just used that method to protect your private key.

Re:Signal WhatsApp Chats Import by fsflover on Friday January 08, 2021 @04:22PM (#25690688)
> But it defeats the point of building a forward-secret system.

Such thinking defeats the actual purpose of the program: to serve users. I don’t want to delete at least some of my history. It’s like Windows, which know better than the users what they want.

Re:Signal WhatsApp Chats Import by Ericson2314 on Friday January 08, 2021 @02:00PM (#25688585)
Well then forward secrecy gets sacrificed for the greater good. Too bad!

Make a setting for those that care. Make it the responsibility of users to make sure all their devices agree on that setting. See? problem solved.