IRC log of #maemo-meeting for Tuesday, 2017-01-03

*** Pali has quit IRC01:01
*** M4rtinK has quit IRC03:46
*** M4rtinK has joined #maemo-meeting10:38
*** M4rtinK has quit IRC10:39
*** jskarvad has joined #maemo-meeting12:05
*** dos1 has quit IRC15:47
*** Oksana has quit IRC15:47
*** Oksana has joined #maemo-meeting15:49
*** dos1 has joined #maemo-meeting15:53
*** Pali has joined #maemo-meeting18:58
*** jskarvad has quit IRC20:49
*** M4rtinK has joined #maemo-meeting21:20
eekkelundHellou:)21:31
eekkelundNobody?22:14
reinobhey!22:15
reinobsorry, I forgot and fell asleep (we went skiing today and I'm really tired now :)22:16
juicemehiya!22:30
juicemeeekkelund, :)22:30
reinobhey :)22:30
juicemereinob :)22:30
eekkelundHey reinob, juiceme :)22:30
juicemehow's the christmas time been?22:30
eekkelundTravelling..:D22:31
reinobbusy :) but fine. Back to work next monday..22:31
eekkelundyours?22:31
eekkelundBack to work also next monday :)22:31
juicemewell, had last week off on a holiday yet didn't go much anywhere :)22:31
juicemevisited my brother in Jyväskylä, not farther than that22:32
eekkelundI was in Gran Canaria and then couple days at my parents place and now in Russia :)23:02
juicemeare you still in some place that's off-reach from the net wxcept for a patchy 3G link?23:13
eekkelundhaha no:D I am in city with 4g hotspot. Last time I was in summer cottage town middle of no where :)23:17
eekkelundanything to discuss about?:)23:28
eekkelundofftopic, have you tried tIDE ? ;)23:28
juicemeno, have not tried yet. Have followed the discussion closely, though :)23:29
eekkelundTell me when you have! :) And if you have found bugs or have feature suggestions plz tell:) I think I have managed to add all suggestions from thread already, except tablet UI :)23:32
reinobI planned to try it during the holidays, but I find I barely use my Jolla anymore.23:33
juicemeah, you have been quick to do the fixes, really!23:33
juicemereinob, what's your current iron, then?23:34
reinobI have this issue with (I guess) some update having changed my lock code. Luckily I had disabled it, but if for some reason I lock it then it's bricked23:34
reinobI'm hoping to crack (RE) the security code encryption so that I can figure out what my Jolla *thinks* the code is now.23:35
reinobjuiceme: I use a Moto G3 (Android..)23:35
reinobdo you guys know if there's a way to flash a Jolla without knowing the lock code (and without sending it to Finland)23:36
juicemehm, I'd assume so but have never tried to do that.23:37
juicemeso it's locked and you cannot remember the code?23:38
eekkelundOouch.. Lock code changed by itself?23:39
reinobit's not locked (I can use it), and I do remember the code because I never changed it. But for some reason the Jolla doesn't accept it (like when you need to put the security code to change some setting, like the security code itself :),so as long as I don't lock it I'm fine, but I prefer to keep it off so I don't fuck up23:39
eekkelundI remeber when I forgot my lock code.. Trying to factory reset from rescue mode:D I could try different lock code 3 times and then I had to wait 10(?) minutes or take battery out23:40
eekkelundreinob, You can not change security code to be active if you don't know security code :D One of those settings23:42
reinobthere's a binary called "encpartition" which does the validation. I know it combines MAC, IMEI and user-given code to generate the encrypted code, which is then stored (in /usr/share/lipstick/devicelock/devicelock_settings.conf I think)23:42
juicemereinob, so somehow you have gotten it mixed up, the lock code itself cannot be modified?23:43
reinobI could of course edit the text file and put some random garbage on it, but I wouldn't know the corresponding lock code and probably the phone would be insta-bricked23:43
juicemepossibly. :)23:44
juicemeare you *absolutely* sure you know the lock code then? maybe your kids changed it or something :)23:44
reinobyes I'm sure. My kids are not there yet :)23:45
reinobapparently last devlock change: 1478799629 = 10.11.2016 18:40:2923:45
reinobso Nov. 10 but I don't think I did anything special there. Maybe the latest SFOS update?23:45
juicememmh. Does the encrypting application take user input, when you feed it the code you *think* is correct, does it evaluate to same thing what's on the file?23:46
juicemeI have not really looked into the locking mechanism so have no bright ideas23:46
reinobthe program takes the code as input and returns an exit code. Like 0 = OK, etc. Have to reverse engineer it yet but that's how it works black-box style23:47
juicemeah, so you mean you feed in the lock code, and it internally mangles it and compares to the stored hash and if they match, then it says OK?23:48
juicemeso it never outputs the stored hash itself?23:48
juicemeI wonder how the hash in the file is created, then23:48
reinobthe stored hash is at /usr/share/lipstick/devicelock/.devicelock.enc23:49
reinobmine is 208eea98d9b80b0d27e8f89f6f147fcd82815e83X23:49
juicemeyes, but is it created by the same application?23:49
reinobthe program (/usr/lib/qt5/plugins/devicelock/encpartition), 37Kb23:50
reinobtakes the plain-text code (like "12345") computes the hash and compares to the stored one23:50
juicemefunny nime for the binary, suggests it could be used to encrypt partitions, hm?23:50
reinobwith encpartition --check-code 1234523:50
reinobyou can do also encpartition --set-code <old> <new>23:50
juicemeah, but it requires the existing one to work :)23:51
reinobthey're not dumb :)23:51
reinobhave to see if maybe my MAC and/or my IMEI changed? but this should never happen AFAIK23:51
reinob(I mean, MAC yes but I didn't do anything with it)23:52
juicemeyes, those should be constant23:52
eekkelundWoa cool, new information for me :)23:52
juicemelive and learn23:52
reinobanyway, have to go. will see if I give tIDE a ride tomorrow (we have a snow storm coming so I'll have some time at home :)23:53
reinobnext week we check how the competition is going?23:53
juicemebut are you sure it uses some device-dependant (mac/imei) to seed the algo? If it doesn't, I could set a code 12345 on my device and give you the hash...23:53
reinobI'm not 100% sure. This is based on strings I found in the binary.23:54
juicemeyes, need to still post info about the elections,23:54
reinoband according to strace() they are read. What the program does with it I don't know (yet)23:54
juicemethat maemo.org account is needed to partake in it23:54
reinobbye for now. might connect back later (or not :)23:55
reinobgood night!23:55
eekkelundreinob: nice, report then do you like it :)23:55
juicemebye!23:55
eekkelundGN :)23:55
eekkelundI will update wikipage of competition when I get home :) And post tide as entry :)23:56

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!