IRC log of #maemo for Sunday, 2018-10-28

*** shentey has joined #maemo00:33
*** jon_y has quit IRC02:21
*** jon_y has joined #maemo02:23
*** infobot has quit IRC03:23
*** shentey has quit IRC03:23
*** Wizzup has quit IRC03:24
*** dafox has quit IRC03:30
*** infobot has joined #maemo03:30
*** ChanServ sets mode: +v infobot03:30
*** tm has quit IRC04:11
*** Wizzup has joined #maemo04:13
*** Pali has quit IRC04:13
*** tm has joined #maemo04:15
*** Wizzup has quit IRC04:18
*** LauRoman|Alt has joined #maemo04:21
*** LauRoman has quit IRC04:21
*** Kilroo has joined #maemo05:09
*** tm has quit IRC05:10
*** tm has joined #maemo05:13
*** Kilroo has quit IRC05:50
*** pagurus` has quit IRC06:01
*** pagurus has joined #maemo06:01
*** florian_kc has joined #maemo06:27
*** florian has quit IRC06:30
*** Wizzup has joined #maemo06:30
*** Wizzup has quit IRC06:35
*** pagurus has quit IRC06:51
*** pagurus has joined #maemo06:51
*** thuttu77 has quit IRC07:14
*** ArGGu^^ has joined #maemo07:44
*** trx has quit IRC08:03
*** trx has joined #maemo08:22
*** DarioA has quit IRC08:37
*** Wizzup has joined #maemo08:39
*** Wizzup has quit IRC08:47
*** mavhc has quit IRC08:57
*** mavhc has joined #maemo09:06
*** Kabouik has joined #maemo09:50
*** vectis has quit IRC10:08
*** vectis has joined #maemo10:08
*** xkr47 has quit IRC10:08
*** jabis has quit IRC10:08
*** jabis has joined #maemo10:08
*** _CN_ has quit IRC10:09
*** amospalla has quit IRC10:09
*** ceene has joined #maemo10:09
*** xkr47 has joined #maemo10:10
*** ced117_ has quit IRC10:16
*** Juesto has quit IRC10:17
*** ced117 has joined #maemo10:17
*** ced117 has joined #maemo10:17
*** amospalla has joined #maemo10:18
*** kraft has quit IRC10:19
*** florian_kc has quit IRC10:37
*** Kabouik has quit IRC10:50
*** Pali has joined #maemo11:00
KotCzarnytricky question, how to discharge li-ion to ~40%11:02
KotCzarnycan it be done by observing voltage or another algo is a must?11:03
*** florian_kc has joined #maemo11:07
*** florian_kc is now known as florian11:10
*** thuttu77 has joined #maemo11:18
*** florian has quit IRC11:37
*** florian has joined #maemo12:06
*** luke-jr has quit IRC12:27
*** luke-jr has joined #maemo12:27
*** luke-jr has quit IRC12:30
*** luke-jr has joined #maemo12:31
VajbKotCzarny: I think you need to know capacity and then count how much mAh you draw out12:46
KotCzarnyi'm interested if there is a way to do it without charge/discharge cycle which takes many hours12:47
Vajbif you compare against voltage you end up with 40% of max voltage which is different than capacity12:47
KotCzarnyand if i have 10+ batteries whole process could take many weeks12:48
KotCzarnybest way would be multi-slot programmable charger12:48
KotCzarnybut those babies can cost a lot (or take some electronics skills, which i suck at)12:49
Vajbcrazy thougth, if you have capacitor which is about 60% of battery capacity. Charge it via resistor and monitor volatage. When they are level you have 40% left in battery12:49
Vajbvoltage*12:49
KotCzarnyi got me nice charger that can charge/discharge and also monitor voltage/capacity12:51
KotCzarnybut requires me observing it (ie. missing 'charge, discharge, then charge to 40%' option)12:51
KotCzarnyso far it looks like getting battery down to ~3.6-3.7V is equivalent to ~50% of capacity12:52
KotCzarnyi could use second digit after '.', right now i dont know if it rounds or floors the display12:54
*** shentey has joined #maemo13:18
*** Wizzup has joined #maemo13:35
*** shentey has quit IRC14:22
*** phlixi_ has joined #maemo15:28
*** phlixi has quit IRC15:30
*** DarioA has joined #maemo16:31
*** luke-jr has quit IRC17:41
*** luke-jr has joined #maemo17:43
*** luke-jr has joined #maemo17:44
*** ced117 has quit IRC17:50
*** ced117 has joined #maemo17:51
*** luke-jr has quit IRC18:11
*** luke-jr has joined #maemo18:12
*** luke-jr has quit IRC18:19
*** luke-jr has joined #maemo18:20
*** luke-jr has quit IRC18:21
*** luke-jr has joined #maemo18:22
*** halftux has joined #maemo20:07
halftuxsicelo: I could not start cutenews I don't know why no console output no crash but nothing happens :( for qmlbrowser I tried https://fancyssl.hboeck.de which is working with TLSv1.2...20:21
halftuxah ok there were no permission for execution of showwindow from cutenews20:27
*** kraft has joined #maemo20:35
* Maxdamantus has almost finished writing his TLS proxy, which should allow older browsers to work with new SSL servers.20:36
MaxdamantusYou just give the proxy a certificate and matching private key, and the proxy will use the server name indicator on incoming connections to forge certificates signed by that given certificate on the fly.20:39
Maxdamantusthen it can just make a normal outgoing SSL connection itself.20:39
halftuxoh sounds nice20:39
Maxdamantusrequires that given certificate to be trusted by the browser.20:40
Maxdamantus(private key for the CA is reused as the private key for dynamically generated certificates, so there's no need to maintain some sort of certificate/key cache across the connections)20:41
halftuxand you will host that proxy? in which language is that proxy written?20:44
MaxdamantusIt will be something that should be run on the device itself.20:45
MaxdamantusThere are other programs that seem to do this, but they seem a bit heavy for running on N900.20:45
MaxdamantusThis one is just a ~400-line C program that depends on openssl and POSIX.20:45
halftuxthat is nice20:46
halftuxwhich openssl version do you use at the moment?20:46
MaxdamantusI think it should depend on 1.0.2g, since that's the first one with fairly easy peer certificate validation.20:53
Maxdamantusopenssl 1.1.0 builds fine under the old debian chroot I have though, so it could just be distributed as a statically linked program.20:55
MaxdamantusCould also just disable certificate validation, but I don't want to encourage that.21:02
halftuxno good idea to disable it :D21:04
halftuxis openssl 1.1.0 working with the maemo standard certificates when it is statically linked? will a rehash of cerificates break them for older openssl, if it is needed for newer openssl??21:06
*** l_bratch has quit IRC21:09
*** l_bratch has joined #maemo21:10
MaxdamantusI think it should work with that, but it might be preferable to just copy a new ca-certificates file from somewhere and just override the default search path (using some openssl environment variable)21:12
MaxdamantusSince I just see a bunch of certificates in PEM format in /etc/certs/common-ca on maemo ..e dunno exactly what openssl's search behaviour is.21:14
Maxdamantusbut again, should at least be able to just point it to a single ca-certificates file that doesn't have to interfere with the rest of the system.21:15
halftuxok I see21:20
Maxdamantuseh, wtf, wonder what this /etc/certs/trusted/root.{ca,key} is .. has amaemo been doing a superfish all this itime?21:21
* Maxdamantus will look into it when he's onnot on the bus.21:21
*** lukedashjr has joined #maemo21:27
*** lukedashjr has quit IRC21:28
*** luke-jr has quit IRC21:29
*** luke-jr has joined #maemo21:30
*** luke-jr has quit IRC21:42
*** luke-jr has joined #maemo21:42
*** DarioA has quit IRC21:43
*** luke-jr has quit IRC21:45
*** luke-jr has joined #maemo21:46
MaxdamantusYeah, that's a matching certificate/private key (readable by non-root), hopefully it's not distributed to every maemo .. doesn't show a package with `dpkg -l`21:46
Maxdamantusf44094ac587d71cceb1510ffdae80e335e44d8ff  /etc/certs/trusted/root.ca21:46
* Maxdamantus wonders if someone else can show a sha1sum for that file.21:47
Vajbf44094ac587d71cceb1510ffdae80e335e44d8ff21:51
Vajblooks about the same Maxdamantus21:51
*** halftux has quit IRC21:54
MaxdamantusOkay, so someone fucked up.21:59
*** DarioA has joined #maemo21:59
MaxdamantusSo maemo beat superfish to not knowing how to handle certificates.22:00
Maxdamantusorcus:~# mv /etc/certs/trusted ~/untrusted22:01
* Maxdamantus will try to look into what that was for later.22:01
Maxdamantusand someone should probably fix that, depending on how certificate search paths work.22:02
*** dafox has joined #maemo22:34
*** shentey has joined #maemo23:06
*** shentey has quit IRC23:33

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