maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   TLS1.2 and N9 (polishing brass on a sinking ship) (https://talk.maemo.org/showthread.php?t=101156)

nieldk 2023-10-22 08:16

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
Quote:

Originally Posted by dredlok706 (Post 1575739)
Hi, I would like to repeat your steps. However I have stupid question - where did you get source of packages from? Like, CODeRUS N9 mirror has only DEBs, and I can't find e.g. Grob on Thecust mirror of SDK repository (which has sources).

Thanks in advance

The (available) Source code for n9 is here , as ISO image http://maemo.cloud-7.de/HARM/N9/1.3/

dredlok706 2023-10-22 10:36

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
Great! Thank you!

dredlok706 2023-10-22 17:07

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
It's missing a lot... no grob, libqt4-network and other packages... :(

n9erator 2023-10-26 01:10

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
Quote:

Originally Posted by dredlok706 (Post 1575743)
It's missing a lot... no grob, libqt4-network and other packages... :(

Sorry it's been so long since I've replied to anything here. I haven't really done any other work on my N9 since - I started this thread mainly to share the info before I had to quit using the N9 daily, due to the 2G/3G sunset here in the USA. Also a lot of major life changes moved my focus.

Qt4 builds to many different binary packages (libqt4-network being one of them), but there's only one source package. I think it's qt4-x11.

Grob is closed source - there is no source package. If I had access to the grob source, I'd have fixed some bugs and also rebuilt it against a newer WebKit. The worst part is that the particular WebKit lib that grob uses is not in the source distribution (it's a different lib than libqt4-webkit).

I believe I used the ISO that nieldk linked to for source packages.

dredlok706 2023-10-26 12:12

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
God! Thanks. Everything is clear now.

dredlok706 2023-10-30 20:53

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
https://i.imgur.com/w4tf6Ld.png
Do you know how to fix it perhaps? I have OpenSSL 1.0.1t compiled and installed, while all other OpenSSL are "removed" to ensure only latest one is used. Everything built successfully, even Qt4 uses new SSL now - but not qca2-plugin-ossl, ends with error like on screen. Any ideas?

Halftux 2023-10-31 22:35

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
Is somewhere in qca-ossl source code the evp.h file included or openssl/evp.h file? You need to add the directory to the include directories.

dredlok706 2023-11-01 12:22

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
evp.h exists in /usr/include/openssl, and the cpp file in qca2-plugin-ossl does #include <openssl/evp.h>...

Halftux 2023-11-03 19:24

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
You can add configure options for your openssl path to the debian/rules file.

Code:

$(DEB_BUILDDIR)/Makefile:
        cd $(DEB_BUILDDIR) && ./configure

configure options:

Code:

--with-openssl-inc=[path]    Path to OpenSSL include files
--with-openssl-lib=[path]    Path to OpenSSL library files

I hope this helps.

dredlok706 2024-08-17 14:53

Re: TLS1.2 and N9 (polishing brass on a sinking ship)
 
I managed to repeat the things done by @n9erator and TLS 1.2 in default browser of my N9 is working!!!

Sadly not certificates thing. I mean - TLS 1.2 in browser itself works. But every site complains about certificates. "Security certificate is not trusted" I know that to fix this aegis-certman-common-ca changes were needed. But.

1. Applying the postinst patch worked
2. In etc/ssl/certs/common-ca I removed all files and inserted crt files from ca-certificates of Ubuntu, moved to *.pem as they were text ones
3. Patch on certman_main.cpp didn't work, something got rejected. I applied changes manually then.

Building worked fine, installing not, though. Error during postinst part:

Code:

ERROR: cannot not convert '00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61-1' to key id
Checking /etc/ssl/certs, it's the first cert. I can't remove them, because they are owned by weird aegis users and chowning to root has no effect. I understand that patched postinst causes that, but what's wrong then?

Tried different way, usually working - injecting PEM files into /usr/local/ssl/certs (my OpenSSL 1.0.1t is in /usr/local + /usr/local/ssl), doing c_rehash then (had to use custom perl), it worked but still browser always complains.

What certs did you use and how did you put them to aegis-certman source? But don't think that's the cause, because only applying patch to postinst causes error on installing as well (keeping default certs from source).

Thanks in advance


All times are GMT. The time now is 10:29.

vBulletin® Version 3.8.8