<div dir="ltr">I got it, that would be the real abstraction of links and that would also not harm bluetooth backend which still needs the current encryption scheme and where ssl can't be implemented.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 8, 2015 at 1:51 AM, Albert Vaca <span dir="ltr"><<a href="mailto:albertvaka@gmail.com" target="_blank">albertvaka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That would mean that every link should now manage its own encryption<br>
(that actually makes a lot of sense), so a first step in the project<br>
should be a bit of refactoring to move everything related to<br>
encryption inside the link. Currently there are bits in NetworkPackage<br>
and in Device, so all this should be moved inside the specific link<br>
implementation, allowing every kind of link to have its own encryption<br>
mechanism.<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Mar 7, 2015 at 12:10 PM, Albert Vaca <<a href="mailto:albertvaka@gmail.com">albertvaka@gmail.com</a>> wrote:<br>
> Maybe the public keys have to be inside the specific link and not<br>
> inside Device then. This is something to consider, taking into account<br>
> what other links could need (bluetooth, online connection... are they<br>
> going to use key pairs, ssl sockets or something else?).<br>
><br>
> On Sat, Mar 7, 2015 at 2:04 AM, vineet garg <<a href="mailto:grgvineet@gmail.com">grgvineet@gmail.com</a>> wrote:<br>
>><br>
>><br>
>> On Sat, Mar 7, 2015 at 2:58 PM, Albert Vaca <<a href="mailto:albertvaka@gmail.com">albertvaka@gmail.com</a>> wrote:<br>
>>><br>
>>> On Sat, Mar 7, 2015 at 1:06 AM, vineet garg <<a href="mailto:grgvineet@gmail.com">grgvineet@gmail.com</a>> wrote:<br>
>>> > Hi,<br>
>>> ><br>
>>> > I have a couple of suggestions on it.<br>
>>> > First of all I would like to know how packages are distributed in<br>
>>> > kubuntu,<br>
>>> > may be we could add a "check for update" button in kubuntu version of<br>
>>> > application.<br>
>>><br>
>>> No, we don't want to sneak around the distribution's packages manager.<br>
>>> I'm actually a bit concerned about you suggesting this, first of all<br>
>>> because we should care about every distribution, not only Kubuntu, and<br>
>>> second because you say that you don't know how packages are<br>
>>> distributed. What distro are you using that package distribution is a<br>
>>> new thing for you?<br>
>><br>
>><br>
>> I use Kubuntu and use Muon package manager and discover or apt-get to<br>
>> install new packages, but I don't know how do we publish packages there.<br>
>><br>
>>><br>
>>> ><br>
>>> > Or we could provide a link to old version of android application which<br>
>>> > does<br>
>>> > not support ssl on application page of playstore.<br>
>>><br>
>>> This is not user-friendly nor easy to maintain.<br>
>>><br>
>>> ><br>
>>> > Or the best one is to include "isSSLSupported" in identity package and<br>
>>> > have<br>
>>> > a separate backend implementation for ssl and normal version, this would<br>
>>> > be<br>
>>> > little difficult because simple socket can't connect to ssl server<br>
>>> > sockets<br>
>>> > due to difference in protocols they follow, but it is achievable(May be<br>
>>> > we<br>
>>> > need a SSLLanLink, SSLanLinkProvider and split Device into two, i.e<br>
>>> > normal<br>
>>> > Device and SSLDevice).<br>
>>> ><br>
>>><br>
>>> This is in my opinion the way to go and I don't think it is that<br>
>>> difficult. We should be able to have at the same time our current<br>
>>> LanLinkProvider and a new SSLLinkProvider (maybe using a different<br>
>>> port, so they don't clash). The Device should be completely unaware of<br>
>>> the kind of Link that has underneath (that's the entire purpose of<br>
>>> abstracting the links), so in no way we should need an SSLDevice.<br>
>><br>
>><br>
>> The part I wrote about Device is because current Device class handles public<br>
>> key, but we need to handle certificates in SSL, so we need to changeĀ that,<br>
>> we also need to change pairing callbacks to store certificate instead of<br>
>> public keys.<br>
>><br>
>>><br>
>>> > I will further dig into it.<br>
>>> ><br>
>>> > Vineet Garg<br>
>>> ><br>
>>><br>
>>> Albert<br>
>><br>
>><br>
>> Still, I get your point and will sort out this problem and I will include it<br>
>> in my GSOC proposal.<br>
>><br>
>> Vineet Garg<br>
>><br>
</div></div></blockquote></div><br></div>