libera/#maemo/ Saturday, 2023-04-08

hexnewbieHi. Is there anything out there that allows the Maemo Freemantle's modest mail client to use openssl 1.1.0h? I installed the libs (even got qml-browser working), but /proc/xyz/maps still points to 0.9.8zh11:56
hexnewbieWhich is obviously normal, of course11:57
hexnewbieI seem to notice that according to ldd, neither modern nor libtinymail-1.0-0 seem to link to libssl, and according to apt-cache show they don't depend on it (or I'm clueless as to which file/package to run those on, since they are very modular). And there are no new versions of either in any repo that I can find11:59
Maxdamantushexnewbie: have you tried using LD_PRELOAD=/path/to/libssl.so ?14:06
hexnewbieMaxdamantus: No, I might try that tomorrow. I am still trying to map where modest loads openssl from14:07
Maxdamantusthough I'm guessing that won't work, if the program is just using `dlopen` to load it instead of listing it as a library to load at linktime.14:07
MaxdamantusIf it's not listed by ldd, it will probably load it using `dlopen`14:08
Maxdamantusthe brute force way of figuring out where the reference comes from would be to just collect all relevant filenames using `strace -f -e file ...` then grep those files for the library name.14:09
Maxdamantus(though probably first grep the main binary, since that's an easy first step)14:09
hexnewbieCouldn't try with modest yet, but LD_PRELOAD=/usr/lib/libssl.so.1.1 doesn't work for openvpn. It says OpenSSL 0.9.8zh and doesn't connect to the secure remotes.14:15
hexnewbie(I am looking for modern SSL for modest and openvpn, though the latter I guess I will figure out how to recompile soon)14:16
MaxdamantusI'm not actively using an N900 anymore, but personally, I just wrote a reasonably lightweight MITM proxy that used a modern version of OpenSSL.14:18
Maxdamantusparticularly, for using Opera.14:18
hexnewbieI can just recompile openvpn, and VPN to the mail servers, and not use SSL at all14:19
hexnewbieProbably. I will be trying things after tomorrow, since the only charging cable I have with me is extremely hard to pull out, and my port is only half-soldered14:19
MaxdamantusThis is my MITM proxy anyway: https://gist.github.com/Maxdamantus/e32ab94dbc5d9d43298428400020620e14:20
hexnewbieBut I'm looking for know-how on working approaches for modest (and openvpn, too), so I don't improvise stupid things14:20
Maxdamantus(I used to just run it directly on the N900, didn't run it over the internet)14:20
Maxdamantus(note that it actually enables host validation (which requires something like openssl 1.0.2), so it doesn't just connect to a server without checking that that's what it actually connected to)14:24
hexnewbieThanks14:28
hexnewbieIt seems that libcamel-lite-1.2.so.0 uses /usr/lib/microb-engine/libssl3.so, but I'm not sure that's the one used for connecting to the mailbxoes14:37
joergiirc there was some problem from sth like API change that forbid updating ssl to >0.9.8zh14:48
joergpali, freemangordon and a few more devs in here will know details14:50
joergI guess there's even a related note in changelogs of CSSU14:53
joerghttp://wiki.maemo.org/Community_SSU/Changelog  21.2011.38-1Tmaemo12 (27.11.2017)  >>Upgrade to upstream 0.9.8zh + maemo patches <<14:58
joerghexnewbie: ^^^15:21
hexnewbiejoerg: Thanks, I checked those.16:19
hexnewbieI suppose my options are to either get OpenVPN recompiled with newer OpenSSL somehow, or make an SSH tunnel that reconnects and use the mail without TLS over the SSH tunnel16:20
hexnewbie(Or upgrade my Easy Debian to something newer, I suppose Wheezy might work, and use Sylpheed there; though then I might as well use my PinePhone; I like the Maemo mail client, and the notification it gives me)16:21
sicelohexnewbie: the maemo mail client is available and works in Maemo Leste, which supports Pinephone. And of course, the SSL-version thing is a non-issue there21:17
hexnewbiesicelo: Yeah, thanks. I do use Manjaro on the PinePhone, and the Maemo Leste wiki suggests it's not ready for prime time on the N900, which I use more significantly than the Pine21:21
sicelooh, you have N900 too? well, in recent weeks, N900 has seen some great improvements. on a 1300mAh battery, you can now get almost 30 hours runtime, up from about 821:42
hexnewbieThat sounds good.21:50
hexnewbieI was more worried about https://leste.maemo.org/Nokia_N900 that says Phone calls ‘No UI’, but I suppose that's only ‘Stable status’21:51
bencohactually leste has a phone dialer now21:53
bencohand there is some integration with contact list as well21:54
bencohupgrading easy debian to newer versions might give you a headache, since gnulibc no longer works on old kernels (there is a patched version on TMO from a few years ago)21:55
sicelohexnewbie: on N900, call ui is least problem - calls have one-way audio for now21:58
sixwheeledbeastWell I always end up talking to myself anyway...22:29

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!