News for hackers. Stuff that matters.
Re:Grand jury subpoena for Signal user data, Central Distric... by akouri on Friday October 29, 2021 @03:57PM (#29042871)
What I don't understand about the whole Signal E2EE model is that while your messages themselves may be encrypted, they are still sending push notifications over Apple's servers, which have to go through APNS. Often the entire message contents can be contained in the push notification.

Does anybody know if Apple's notifications are E2EE? I doubt that gov't doesn't have access to the push notifications...

Re:Grand jury subpoena for Signal user data, Central Distric... by drifkin on Friday October 29, 2021 @04:07PM (#29042989)
You can send an invisible push notification that tells an iOS app to wake up in the background and check for updates: https://developer.apple.com/documentation/usernotifications/...
Re:Grand jury subpoena for Signal user data, Central Distric... by NdMAND on Friday October 29, 2021 @04:05PM (#29042967)
I believe they are encrypted (and decrypted on device by the Signal app). They recently had to do some rewriting of the code for iOS15 - they share some comments about that here: https://community.signalusers.org/t/beta-feedback-for-the-up... Hope it helps

Edit: wow people were fast to reply…

Re:Grand jury subpoena for Signal user data, Central Distric... by Klonoar on Friday October 29, 2021 @05:05PM (#29043538)
I'm actually surprised they didn't use a notification extension before. They're surprisingly great as an API - I used it to dynamically render preview line chart images for a finance app I worked on a few years ago. Just send over the limited line data, render the image, and you're good to go.
Re:Grand jury subpoena for Signal user data, Central Distric... by akouri on Friday October 29, 2021 @04:10PM (#29043021)
Sweet, thanks for the link to that discussion. Looks like they're handling it :)
Re:Grand jury subpoena for Signal user data, Central Distric... by tptacek on Friday October 29, 2021 @06:37PM (#29044315)
Handling what? They've never depended on Apple for encryption.
Re:Grand jury subpoena for Signal user data, Central Distric... by ericpauley on Friday October 29, 2021 @04:00PM (#29042896)
I would (naively) assume that the notification service sends opaque (encrypted) blobs that are processed (decrypted) by the app before display to the user.
Re:Grand jury subpoena for Signal user data, Central Distric... by indigomm on Friday October 29, 2021 @04:15PM (#29043067)
They send an empty push message to the device. This then causes the app to wake up, and fetch the actual message from Signal's servers.
Re:Grand jury subpoena for Signal user data, Central Distric... by sdcooke on Friday October 29, 2021 @04:01PM (#29042912)
I don't know how Signal works but it is possible to send a silent encrypted push notification that the app can decrypt and show as a local notification.
Re:Grand jury subpoena for Signal user data, Central Distric... by Gaelan on Friday October 29, 2021 @04:00PM (#29042900)
I'm not too familiar with this, but my understanding is that the push notification just wakes up the Signal app, then the Signal app gets the encrypted message (either from Signal's servers or the push notification payload, I'm not sure) and decrypts it client-side and provides the notification text.
Re:Grand jury subpoena for Signal user data, Central Distric... by almog on Friday October 29, 2021 @04:24PM (#29043151)
Even if the push notifications themselves are encrypted, isn't there still the question of whether Apple store the (App x Notification x User/phone number) graph?
Re:Grand jury subpoena for Signal user data, Central Distric... by nicce on Friday October 29, 2021 @04:51PM (#29043377)
This applies on every single app, and is quite irrelevant as you already trust Apple by using their closed source device. If they want your data, they sure get it.
Re:Grand jury subpoena for Signal user data, Central Distric... by almog on Friday October 29, 2021 @06:39PM (#29044322)
Unless you only contact Signal users who have verified and compiled the client themselves, you put the same kind of trust in Signal, which specify what data is logged (phone numbers are stored hashed for discovery by other users).

The same may or may not be true for Apple (I have no idea) but claiming it is irrelevant as an answer to a question about whether an _Apple_ technology is encrypted, is mind boggling to me.

Re:Grand jury subpoena for Signal user data, Central Distric... by nicce on Saturday October 30, 2021 @06:40AM (#29047695)
I mean, there is always a root for the trust. In this case, the root is Apple. Signal is one leaf below. Compromising root compromises everything.

In this case, root being the device and OS, it has unrestricted access to everything happening by your actions. The data you see on your screen is processed by the CPU, developed by Apple, controlled by kernel, coded by Apple. The can access everything they want.

Re:Grand jury subpoena for Signal user data, Central Distric... by diebeforei485 on Friday October 29, 2021 @10:44PM (#29045567)
Here's how encrypted notifications can be decrypted on the device-

https://developer.apple.com/documentation/usernotifications/...

Re:Grand jury subpoena for Signal user data, Central Distric... by JustSomeNobody on Friday October 29, 2021 @05:05PM (#29043534)
> Often the entire message contents can be contained in the push notification.

Good grief, why would you do that? Just send a notification that data is ready and the when the app wakes, go get the remainder of the data from signal servers.

Re:Grand jury subpoena for Signal user data, Central Distric... by camhart on Friday October 29, 2021 @03:59PM (#29042889)
I'm guessing here, but wouldn't they just push the e2ee message through APNS? Then decrypt client side. Or does Apple require plaintext messages for push notifications (that seems bad if they do)?
Re:Grand jury subpoena for Signal user data, Central Distric... by akouri on Friday October 29, 2021 @04:00PM (#29042908)
When you craft a push notification server-side, it contains the payload in plaintext. Now, that is probably encrypted in Apple-land, but my point is that the gov't probably has sunk its teeth into Apple already. So, yea signal's encryption may be open source and proven, but I doubt Apple's doesn't have a backdoor.
Re:Grand jury subpoena for Signal user data, Central Distric... by ylk on Friday October 29, 2021 @04:08PM (#29043003)
I mean Apple themselves is telling devs to not send sensitive data in the actual notification

> [...] never include sensitive data or data that can be retrieved by other means in your payload. Instead, use notifications to alert the user to new information or as a signal that your app has data waiting for it.

https://developer.apple.com/library/archive/documentation/Ne...

Re:Grand jury subpoena for Signal user data, Central Distric... by egberts1 on Friday October 29, 2021 @06:06PM (#29044063)
that’s why Signal sends an empty notification then uses their own EE2E for notification wordings.
Re:Grand jury subpoena for Signal user data, Central Distric... by MrKristopher on Friday October 29, 2021 @04:05PM (#29042971)
Not sure if Signal is doing this, but they could send a notification with title "New message" and encrypted payload. The payload can be processed by a client-side notification extension which decrypts the payload and chooses what notification text the user will see.
Re:Grand jury subpoena for Signal user data, Central Distric... by diebeforei485 on Friday October 29, 2021 @10:46PM (#29045574)
Not true. The server can send encrypted (not plaintext) payload. The client can then use a NotificationExtension to decrypt the payload as it comes in.

https://developer.apple.com/documentation/usernotifications/...

Re:Grand jury subpoena for Signal user data, Central Distric... by jerryluc on Friday October 29, 2021 @04:08PM (#29043005)
I was wondering about the same thing. I think that signal just sends a message to APNS (and Google’s equivalent) that you have something to look at like a new message or whatever. That makes the app wake up and goes to signals servers for the actual content and the app creates the actual notifications on your device.
Re:Grand jury subpoena for Signal user data, Central Distric... by sulam on Friday October 29, 2021 @04:03PM (#29042953)
Are you sure they use APNS? They could simply use app notifications.