jami
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ring] Sending failes or takes hours even if my contacts are online


From: AmarOk
Subject: Re: [Ring] Sending failes or takes hours even if my contacts are online
Date: Thu, 18 Jan 2018 13:01:38 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

Answers below


On 01/18/2018 07:56 AM, Anna Marei wrote:
AmarOk <address@hidden> hat am 17. Januar 2018 um 20:47 geschrieben:


1. The loss of privacy for ring is you need to use a central point
(explained in the previous mails) which have the authorization to send
push notifications. Push notifications will not be enabled by default.
Hmm is push notification enabled/integrated in the Ring Clients or in the 
daemon?
The major part of the code is in OpenDHT, but you will have the ability to deactivate this part via the client with a checkbox.
2. Yeah another way to do that is polling. You can try to get messages
every X minutes. The problem is it consumes battery (and it's another
part and can be used by OpenDHT) and you can also do polling directly on
the DHT.
Do you have considered this solution as well?
Polling is already possible yes.
3. The push server contains private informations to authorize to use APN
or GCM or any other solution. So it can't be widely distributed. Any one
can host a node, but you can only use push servers for your application.
The way to self host the push server is to regenerate a certificate for
your application with your device and to host your push server. Again,
like maxim said, push services are centralized. (But again, push
notifications will be disabled by default).
Hm so how will Ring manage that for it's users?
You will have 3 possibilities.
1. Use Ring without any proxy like today.
2. Use Ring with a proxy (self hosted or hosted by anyone you trust) to have the ability to receive messages when your phone is off and to avoid the consumption of battery due to synchronization. The proxy can't decrypt ring messages, it's decrypted by the node on your device (like today because a value is stored on different nodes for persistence) 3. Use Ring via a proxy with push notifications. For now, it will be only with one proxy (because the use of the push server will not be open at first. See the wiki of OpenDHT for more info). (It will not be available on the FDroid version)
4. OpenDHT doesn't say this. OpenDHT just tell a new value is stored for
a hash. And OpenDHT on your phone will wake up and decrypt the value later.
So there will be no metadata leaked with an enabled push notification?
No, apart the fact your device receives a notification from Ring. The encrypted payload is just in OpenDHT.


On 01/17/2018 11:23 AM, address@hidden wrote:
Thanks Sébastien for your explanation again and the shared link to
Riot*s way to handle that.
For me there seem to be a few questions left:

1. The blog entry is talking about "downside is a small loss of
privacy." -> What would that mean to Ring?
2. Matrix is talking about "non-GCM/APNS push mechanisms" -> Are that
any alternatives Ring could use/develop?
3. Will the server-side push server run by you guys? Or is it
self-hostable? Or is the server-side push server the Open DHT network
itself?
4. And if Open DHT is just telling, that there is a message xyz
exchanged: Who can someone draw conclusions from who is sending the
message through the network.

p.s. Could you please "group reply" so i get an E-Mail from you as well?

Maxim Cournoyer <address@hidden> hat am 16.
Januar 2018 um 20:21 geschrieben:

----- Original Message -----
From: address@hidden
To: "Maxim Cournoyer" <address@hidden>
Cc: address@hidden
Sent: Tuesday, January 16, 2018 1:26:05 PM
Subject: Re: [Ring] Sending failes or takes hours even if my
contacts are online
Hi Maxim,

you mean that my Android contact's should check their power
settings, right?
Yes, if your contacts are using Ring on Android, they would have
to make sure
their Ring client is not "power optimized" by Android.
This isn't very user friendly; we are working on push
notifications that should
make things easier in this regard.
Btw. do push notifications work in a decentralised network -
without connecting
to servers running in the background?
Short answer: no. The push service frameworks available on
mainstream mobile platforms (Android, iOS) are centralized by nature:
a connection is at all times maintained between them and the push
server, AFAIK.
Maxim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]