maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Nwer OpenSSL on Maemo Fremantle (https://talk.maemo.org/showthread.php?t=100343)

jonwil 2018-05-30 10:07

Nwer OpenSSL on Maemo Fremantle
 
So it looks like (at least per what happens when I try to use wget on the relavent URL) Translink have updated their system to require TLS 1.2. Which means I need to add TLS 1.2 support to QT. Which means I need a newer OpenSSL than the 0.9.8zh version currently in use on Fremantle.

I know there are ports of newer OpenSSL for Fremantle but I dont know which one I should use or where to get it from. I also dont know if anyone has already done the work to support TLS 1.2 in the Maemo QT version or not and if so where to get it from (if not, I will have to do the back-port myself). Can anyone help me out?

Halftux 2018-05-30 11:22

Re: Nwer OpenSSL on Maemo Fremantle
 
1 Attachment(s)
I am struggling to make a newer openssl version running in parallel with an old version. So from myside I can't help here atm.:(
Regarding TSL1.2 and qt4 I don't have a clue, if there are some patches.

For qt 4.8.7 there is a debian openssl 1.1.0 patch I will attach it.

Halftux 2018-05-30 11:59

Re: Nwer OpenSSL on Maemo Fremantle
 
Here I found something about backport tls version to qt4.

https://github.com/mkrautz/mumble-de...b523a3eccb8b58

This one is maybe newer:
https://github.com/mkrautz/mumble-de...bc7545b80bd7fe

And here a backport of Support for DH and ECDH key exchange for QSslSocket servers.
So this one is not needed for clients.
https://github.com/mkrautz/mumble-de...9129d74f609f40

jonwil 2018-05-30 13:07

Re: Nwer OpenSSL on Maemo Fremantle
 
Looks like the main issue then is getting a newer OpenSSL working and running on-device without breaking the older OpenSSL.

jonwil 2018-06-04 05:03

Re: Nwer OpenSSL on Maemo Fremantle
 
I have identified that there are no local Nokia-specific changes needed for OpenSSL 1.1.0h (all the patches in Nokia 0.9.8n that aren't in Debian 0.9.8n are either not needed or got merged upstream). All I need to do know is to figure out how to get Debian 1.1.0h to compile on Fremantle.

jonwil 2018-06-06 13:31

Re: Nwer OpenSSL on Maemo Fremantle
 
I have managed to get OpenSSL 1.1.0h to compile in Scratchbox. Current source tree is at https://github.com/jonwil/openssl/

The openssl test cases are failing on Scratchbox armel (doesn't surprise me given how "unique" scratchbox is in the way it runs the arm binaries and stuff) so I have turned them off in the packaging.
All the tests pass on my N900 so I am going to continue and test the actual packages on my N900 and see what happens.

Once I get OpenSSL working, I will then move onto getting TLS 1.2 support into QT and then getting Fahrplan fixed.

jonwil 2018-06-06 15:37

Re: Nwer OpenSSL on Maemo Fremantle
 
Ok, new OpenSSL works so far in that I can run openssl s_client -connect blah and get the results I expect (I had to run a command on the certificates to get them in the format the new OpenSSL wants but my analysis of the N900 rootfs suggests nothing is reading the certificates that way, they are all either using maemosec-certman or reading the maemosec-certman pem files so it should be safe to run that rehash)

New packages are at http://maemo.merlin1991.at/cssu/comm...ree/o/openssl/

Next up, QT and Fahrplan :)

jonwil 2018-06-06 16:41

Re: Nwer OpenSSL on Maemo Fremantle
 
For reference, these are the packages on a stock N900 PR1.3 install that link to OpenSSL:
Closed packages:
as-daemon (active sync daemon for Microsoft email servers)
osso-wlan-security (provides security stuff for WiFi)
nokiamessaging (nokia messaging stuff, no longer works AFAIK)
adobe-flashplayer (Flash plugin)
sharing-services-default (sharing services stuff, its the OVI plugin that uses OpenSSL)
funambol-cpp-api (SyncML stuff)
location-proxy (proxy to handle the communications between the GPS hardware and the AGPS SUPL server)
osso-backup (backup program)
ota-settings (handles cellular data connection settings sent over the air)
maesync-backend (backend for syncing with Nokia PC application and things)
liblomesa (low level image viewer API)

Open packages:
maemo-security-certman (maemo certificate manager)
maemo-security-certman-applet (maemo certificate manager applet)
tinymail (tinymail backend stuff for modest)
xorg-server (main binaries for X11)
curl (command line tool for accessing URLs)
loudmouth (library for Jabber)
microb-eal (microb component)
qt4-x11 (QT4 package)
sofia-sip (SIP library)
clinkc (UPnP library)

Packages who's openness is unknown:
tablet-browser-ui (tablet browser main binary, I think I saw source code for this one somewhere but I cant find it and I may have been mistaken)
connui-internet (internet connectivity UI widgets, dont know if the clone done for maemo-leste is complete and can be compiled to work as a drop-in replacement for the Fremantle package)
connui-wlan (wlan connectivity UI widgets, dont know if the clone done for maemo-leste is complete and can be compiled to work as a drop-in replacement for the Fremantle package)

sicelo 2018-10-09 16:27

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by jonwil (Post 1545192)
Ok, new OpenSSL works so far in that I can run openssl s_client -connect blah and get the results I expect

I seem to be having a problem with this version:

Code:

Nokia-N900:~$ openssl version -a
OpenSSL 1.1.0h  27 Mar 2018
built on: reproducible build, date unspecified
platform: debian-armel
options:  bn(64,32) rc4(char) des(long) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/engines-1.1\""
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/engines-1.1"




Nokia-N900:~$ openssl s_client -connect www.google.com:443
CONNECTED(00000003)
depth=1 C = US, O = Google Trust Services, CN = Google Internet Authority G3
verify error:num=20:unable to get local issuer certificate
---
Certificate chain
 0 s:/C=US/ST=California/L=Mountain View/O=Google LLC/CN=www.google.com
  i:/C=US/O=Google Trust Services/CN=Google Internet Authority G3
 1 s:/C=US/O=Google Trust Services/CN=Google Internet Authority G3
  i:/OU=GlobalSign Root CA - R2/O=GlobalSign/CN=GlobalSign
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIEgjCCA2qgAwIBAgIIJkr7Y04MXcAwDQYJKoZIhvcNAQELBQAwVDELMAkGA1UE
BhMCVVMxHjAcBgNVBAoTFUdvb2dsZSBUcnVzdCBTZXJ2aWNlczElMCMGA1UEAxMc
R29vZ2xlIEludGVybmV0IEF1dGhvcml0eSBHMzAeFw0xODA5MTgxMjM0MDBaFw0x
ODEyMTExMjM0MDBaMGgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlh
MRYwFAYDVQQHDA1Nb3VudGFpbiBWaWV3MRMwEQYDVQQKDApHb29nbGUgTExDMRcw
FQYDVQQDDA53d3cuZ29vZ2xlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBALp6zTXM7aFhWh8XEFulRxlHdX1BQKt6F/rRZ36wuELrXhI41UQvC51B
B3OWTVsJM4iKlu3LX7ji3zx/wtkoYGW647AU+JPnUPHs65qmBI1Cshjrb6T7l0ew
E8FfI09Y7UedK3H7hcU98otBHHO1HPxJEbADcKbTew5HLgcjBS7eDgsNtLSFnMep
kOY6wKmWQfL1fs8dESoUroAm3zS1/+hJJ+HGCABABFID9J1AB1XGfADQM4GvBpEV
aWP+w1bK00DISBni4DIR13ZahL4epZvIP5DwawMZtMt4CvMnLhqcI2sJEfVyE8Fq
ykuPf9xf2/NV15n+j0sTftOZVLcW42kCAwEAAaOCAUIwggE+MBMGA1UdJQQMMAoG
CCsGAQUFBwMBMBkGA1UdEQQSMBCCDnd3dy5nb29nbGUuY29tMGgGCCsGAQUFBwEB
BFwwWjAtBggrBgEFBQcwAoYhaHR0cDovL3BraS5nb29nL2dzcjIvR1RTR0lBRzMu
Y3J0MCkGCCsGAQUFBzABhh1odHRwOi8vb2NzcC5wa2kuZ29vZy9HVFNHSUFHMzAd
BgNVHQ4EFgQUp6q8SfkDA+sKB9UNHw+i+P8ZqfgwDAYDVR0TAQH/BAIwADAfBgNV
HSMEGDAWgBR3wrhQmmd2drEtwobQg6B+pn66SzAhBgNVHSAEGjAYMAwGCisGAQQB
1nkCBQMwCAYGZ4EMAQICMDEGA1UdHwQqMCgwJqAkoCKGIGh0dHA6Ly9jcmwucGtp
Lmdvb2cvR1RTR0lBRzMuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQBHT9OHvfMJw+hx
QMyV4TdsrkV9Ks9tHKBRh4vM5MRw2h6tKwkJxsmBtRbIJzn47auznh26ddL5IwxO
/9OciSqS67FkaHKQHSXnlhHiovOIHLXyrn4un8oxM78XPMWDnsRcPLHK2dx+5qKI
fHlG3TM/UQpBMGkU6jS2O4dYteUrf76qs0030kARWnZMkR1aDvZVvRztdzb189gf
6SgB8eVEuiEgwDK6Fi3Be41EylmIvo1fOpaAjv5aSNguWLY3hh06+9sx4Ta0GLYE
lfoKorrzpuGGncQoZ5nYRo9g3HQjedK5KaAEG1jT70LmbAhTyKY4WaWJWfbTDitm
r63fkykp
-----END CERTIFICATE-----
subject=/C=US/ST=California/L=Mountain View/O=Google LLC/CN=www.google.com
issuer=/C=US/O=Google Trust Services/CN=Google Internet Authority G3
---
No client certificate CA names sent
Peer signing digest: SHA256
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 2954 bytes and written 261 bytes
Verification error: unable to get local issuer certificate
---
New, TLSv1.2, Cipher is ECDHE-RSA-CHACHA20-POLY1305
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-CHACHA20-POLY1305
    Session-ID: 19F8BCE849085E0809C3C0A2B8627397908AB1AD722DAA28A489B796FEF75A94
    Session-ID-ctx:
    Master-Key: CCFB428554021CD6349242DED35127D2A907B62A5748F0560A4667CF8EAB48670B52ECBDB7BF7BB28F86785B610909D5
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 100798 (seconds)
    TLS session ticket:
    0000 - 00 ae 27 6f f3 b5 e8 75-9c c4 c1 88 8e dd d3 a6  ..'o...u........
    0010 - 4a 04 16 b7 4a 09 ef b8-11 cc f9 0c 32 f2 2e 13  J...J.......2...
    0020 - 72 00 60 e9 29 e8 cf fe-1e 01 0b db 1f bc cc 13  r.`.)...........
    0030 - ae 4f 9b 09 41 56 5a 19-5f ff bf ea f5 14 ad 1c  .O..AVZ._.......
    0040 - 95 e6 ff d7 ed 3f 7b 1e-56 08 5a 72 28 f6 c5 e6  .....?{.V.Zr(...
    0050 - 1f 1b aa 2f 36 9d 5e 76-52 33 0c 36 c7 20 f1 ae  .../6.^vR3.6. ..
    0060 - 34 b2 91 e9 44 fb bd 52-57 93 67 0a dd f6 8b 62  4...D..RW.g....b
    0070 - 44 27 11 df 1c 5b 48 68-20 a3 8f 96 37 38 90 2d  D'...[Hh ...78.-
    0080 - ba af b3 17 0e 80 a6 70-b2 7f d3 7d b1 fa 90 16  .......p...}....
    0090 - f8 cf 16 e2 d8 e4 25 09-85 16 54 b9 f7 89 61 f1  ......%...T...a.
    00a0 - 2f bf 18 89 ea 1a 73 1a-fc 37 49 34 c4 9c c3 cf  /.....s..7I4....
    00b0 - f1 43 79 b2 b3 ff 3d 31-32 4e e2 32 ba fe 82 fe  .Cy...=12N.2....
    00c0 - 1f 5e b3 49 e0 41 bd 51-c8 c0 a4 03 e6 e6 1c 1c  .^.I.A.Q........
    00d0 - 87 f9 c6 84 a5 a8 2d f2-10 f6                    ......-...

    Start Time: 1539101657
    Timeout  : 7200 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
    Extended master secret: yes
---
read:errno=0
Nokia-N900:~$

EDIT: adding the CApath switch allows it to work, but I guess for 'average' applications that use openssl this won't help

Quote:

Originally Posted by jonwil (Post 1545192)
I had to run a command on the certificates to get them in the format the new OpenSSL wants but my analysis of the N900 rootfs suggests nothing is reading the certificates that way, they are all either using maemosec-certman or reading the maemosec-certman pem files so it should be safe to run that rehash

how did you run the rehash?
Code:

# perl /usr/bin/c_rehash /etc/certs/common-ca
didn't fix it for me

Halftux 2018-10-10 14:14

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by sicelo (Post 1549235)
I seem to be having a problem with this version:

EDIT: adding the CApath switch allows it to work, but I guess for 'average' applications that use openssl this won't help

Which application is not working with the newer openssl?

sicelo 2018-10-12 10:01

Re: Nwer OpenSSL on Maemo Fremantle
 
I don't have a specific example, hence i said 'guess.'
It is just that I could use openssl s_client without needing -CApath before.

There are a couple of SSL/TLS issues I have, but I won't directly say are a result of the new OpenSSL. For example, since I update it and the corresponding qt4-x11, some https feeds aren't refreshing for me with cutenews, etc. I doubt it is related, but yeah

Halftux 2018-10-12 11:52

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by sicelo (Post 1549304)
There are a couple of SSL/TLS issues I have, but I won't directly say are a result of the new OpenSSL. For example, since I update it and the corresponding qt4-x11, some https feeds aren't refreshing for me with cutenews, etc. I doubt it is related, but yeah

You could try to recompile cutenews with cssu packages. However it could be that cutenews need some patching. Or something with the certificates, or with qt something is not 100% ok.

So when recompiling did nothing then cutenews need more network connection debug output to analyse the problem. Sometimes redirection could be a pain.

Halftux 2018-10-16 15:57

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by sicelo (Post 1549304)
It is just that I could use openssl s_client without needing -CApath before.

After the rehash and restarting the console it should work also without -CApath.
Try to rehash without perl infront.

For my system and same openssl version it is working without the -CApath. Also myself compiled wget against new openssl is working without specifying --ca-directory=directory (Without this option Wget looks for CA certificates at the system-specified locations, chosen at OpenSSL installation time.) and it works.
I could upload wget for >=cssu-testing+openssl 1.1.0h to openrepos if it is needed.

Halftux 2018-10-17 11:18

Re: Nwer OpenSSL on Maemo Fremantle
 
2 Attachment(s)
@sicelo

I recompiled cutenews and qmlbrowser with cssu-devel libqt4.
For cutenews I set QSsl::AnyProtocol and for qmlbrowser I set QSsl::SecureProtocols.

Both should now support TLS 1.1 and 1.2

If you like you can try them. I will try qmlbrowser when I find some time for it.

sicelo 2018-10-17 13:08

Re: Nwer OpenSSL on Maemo Fremantle
 
Thanks very much @Halftux. Even though my openssl still needs -CApath after the rehash without 'perl', it is really nice to see the updated qmlbrowser. https://howsmyssl.com now says it is Probably Okay, as opposed to Bad in the previous version. Thank you.

I will test my openssl situation properly later on.

Halftux 2018-10-17 15:01

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by sicelo (Post 1549420)
... it is really nice to see the updated qmlbrowser. https://howsmyssl.com now says it is Probably Okay, as opposed to Bad in the previous version.

Thats great.
Did you made this rehash as root?
From where do you starting openssl binary, from ssh or from osso-terminal? I will make also some test with openssl again and make a cross check.
I have also not so much experience with openssl 1.1.0h before I was using 1.0.1g + SNI patched libqt4 for cssu-testing.

Halftux 2018-10-17 19:06

Re: Nwer OpenSSL on Maemo Fremantle
 
@ sicelo

Ok you are right I have now a device where I installed openssl1.1.0 from scratch which it is not working without -CApath.

So this one is tricky can't remember what I did to the other device where it is working. I will dive into it. Stay tuned.

Halftux 2018-10-17 19:23

Re: Nwer OpenSSL on Maemo Fremantle
 
1 Attachment(s)
Ok here it is, I found the difference.

I created a "ssl.defs" file in "/etc/osso-af-init/". I will attach the file.
Furthermore I edited af-defines.sh in the same folder.

Add a new line around line 160(were other *.defs get loaded):
Code:

  source_if_is ssl.defs
After the changes restart the N900.
Congratulation now you are finished and all console tools like openssl, ssh and wget should work without -CApath.

I think I did it when I had some problems with other openssl in the past, the date of the file is 12.04.2018 and now it helps:).

sicelo 2018-10-17 20:17

Re: Nwer OpenSSL on Maemo Fremantle
 
Yay! That solved the issue, and I am ashamed it never occured to me to think about environment variables.

There are still lots of sites that won't open in qmlbrower or update in cutenews, but let me assume something changed in them. Will try downgrading qt4 though. Example feed that worked in cutenews up to the 29th September (around when I did the upgrade):

https://mybroadband.co.za/news/feed

Enabling cutenews' logging, I get:
Code:

Updating feed 'MyBroadband' using URL 'https://mybroadband.co.za/news/feed'
2018-10-17T22:23:37: Download::startDownload(). URL: https://mybroadband.co.za/news/feed
2018-10-17T22:23:37: Transfer::setStatus(). ID: 07de78d1-428f-4c2f-a7ee-74f460dc1a80, Status: Downloading
2018-10-17T22:23:39: Transfer::setStatus(). ID: 07de78d1-428f-4c2f-a7ee-74f460dc1a80, Status: Failed: SSL handshake failed

Thank you very much for all you've uncovered!

Halftux 2018-10-17 20:42

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by sicelo (Post 1549430)
Thank you very much for all you've uncovered!

No problem you are welcome I also want a bug free system so if somebody find something it is a big help too.

I need to have a look at the sources from libqt4 from repo, the patch at github looks smaller than I thought it would be.

Here as a goody:
I will attach wget and a libssl1.0.2 which you could use parallel with older openssl versions.
When you use openssl >=1.1.0h you should use the version from openrepos.
Both versions are only debianized and maemo optified. For the libssl1.0.2 I used the sources from ceene.

edit: post to wget for older openssl

Halftux 2018-10-17 20:57

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by sicelo (Post 1549430)

https://mybroadband.co.za/news/feed

Enabling cutenews' logging, I get:
Code:

Status: Failed: SSL handshake failed

Ok I will look what I can do but probably not this week.
The host is using TLSv1.2 but still provide for example TLSv1.0 so the older cutenews was set fixed to TLSv1.0.

derda 2018-10-25 08:47

Re: Nwer OpenSSL on Maemo Fremantle
 
Is there no easier solution for the problem?

Glamurös & auffallend: Exklusiver Schmuck mit funkelnden Kristallen. Online Shop Assistent. Gratislieferung über € 75. Sicheres Online-Shopping. Geschenkverpackung. Kostenlose Grusskarte. Finde exklusiv kuratierten Schmuck von Designern und Boutiquen aus aller Welt. Kuratierte Auswahl.

endsormeans 2018-10-25 10:03

Re: Nwer OpenSSL on Maemo Fremantle
 
Hm..
easier solution?

Actually ...
if you open up the cover that exposes the battery..
(make sure you have a nice clean flat area of ..say your kitchen table for this...don't want to be missing parts...)
Take the batt out...
remove the screws holding the assembly in...

Now you will notice an off - fuchsia colored wire, beside a deep magenta coupling.
Just go and rip that off - fuchsia colored wire right out...
Tie it in a bow on your left pinkie toe ...
and then put back the assembly and the batt. cover back on.

openssl should work now...
but only as long as the off - fuchsia colored wire tied in a bow on your left pinkie toe is within exactly 1.24 feet of the n900
Proximity issue ...
So you may need to figure out exactly how to walk and keep the device within left - pinkie - toe range.


There we go.
Much easier eh?

jonwil 2018-10-26 10:01

Re: Nwer OpenSSL on Maemo Fremantle
 
I am currently using QT4 with TLS 1.2 support on my N900.
I am using this OpenSSL source tree https://github.com/jonwil/openssl/ with binaries at http://maemo.merlin1991.at/cssu/comm...ree/o/openssl/
I am using the tls12 branch in this source tree https://github.com/community-ssu/qt-x11-maemo for QT with binaries at http://maemo.merlin1991.at/cssu/comm...ree/q/qt4-x11/

Both currently work on my N900 when I run Fahrplan (a QT app talking to a server that only accepts TLS 1.2) so I know they are good in that context.

ymartin59 2019-04-06 17:14

Re: Nwer OpenSSL on Maemo Fremantle
 
Since recently SoundCloud download from gPodder fails with sslv3 handshake error.
Notice, retrieving podcast list is still possible.

Upgrading openssl alone does not help.

What should I do? Rebuild GTK and gPodder from sources?

Halftux 2019-04-06 17:57

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by ymartin59 (Post 1555971)
Since recently SoundCloud download from gPodder fails with sslv3 handshake error.
Notice, retrieving podcast list is still possible.

Upgrading openssl alone does not help.

What should I do? Rebuild GTK and gPodder from sources?

Hmm it is hard to say. There is no import module from ssl python and there is no https call for soundcloud. So in the past it was everything done over http. I would say that the http request get redirected to https. I guess that you need to change python code and maybe patch and compile python against newer openssl.
But can't say for 100% sure maybe somebody else has more experience with python and give a better answer.

Maemish 2019-09-05 04:03

Re: Nwer OpenSSL on Maemo Fremantle
 
Is this the right way to change the line 160?

source_if_is osso-gtk.defs
source_if_is ssl.defs
# There is no matchbox.defs in Fremantle
# source_if_is matchbox.defs
source_if_is keyboard.defs
source_if_is sdl.defs

or this

source_if_is osso-gtk.defs
source_if_is ssl.defs
# source_if_is matchbox.defs
source_if_is keyboard.defs
source_if_is sdl.defs

The line 160 is # There is no matchbox.defs in Fremantle. So I can either put your edit before that line so it makes it to be line 160 or delete the line which doesn't really make sense cause the default line is already opt out. And when I installed man-db-N900 it could not find the file you had attached even it is in the folder/directory where you said it should be.

Halftux 2019-09-05 10:04

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by Maemish (Post 1559930)
Is this the right way to change the line 160?

In this case both would work but I mean to add a new line not replacing, because we don't want to remove something.
The line you are removing/replacing in your example is a comment line so the system will be not effected but you will lost some information for human readers.

So I will edit my post to make it more clear.
However I think this modification will effect mainly command line tools, but do it anyway because it doesn't hurt and is worth a try.

Maemish 2019-09-05 10:37

Re: Nwer OpenSSL on Maemo Fremantle
 
Can you figure why installation of man-db-N900 did not find the file you attached? How could I check the log what it says?

Halftux 2019-09-05 11:00

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by Maemish (Post 1559945)
Can you figure why installation of man-db-N900 did not find the file you attached? How could I check the log what it says?

Sorry I don't get it. The man command looking for man pages from install packages. Which attached file/package you mean has no manual.
It could be that I excluded man pages from some packages to keep them small.

Please be more precise so that I could update the package with the manual you like to have. Otherwise you could also extract man pages from some linux package and put them to the man directory.

I personally never used man on N900, but I guess in principle with mandb you could refresh the database for manually extracted man pages.

Maemish 2019-09-05 11:06

Re: Nwer OpenSSL on Maemo Fremantle
 
Well yes, I remember installation said installing manually after the error. I just thought that maybe it is not working at all but then it may concern only the man installation. Have by the way now started to go through youtube basic linux stuff so hopefully I don't fill this forum for long with my uneducationess. Like I don't know how to check installation logs to see what has happened. Or is it the same as in ham?

Halftux 2019-09-05 11:26

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by Maemish (Post 1559951)
Well yes, I remember installation said installing manually after the error.

Which installation:confused: Sometimes due to dependency problems package could not be configured. Try to reconfigure the package with dpkg and look what the output says.

Quote:

Originally Posted by Maemish (Post 1559951)
Like I don't know how to check installation logs to see what has happened. Or is it the same as in ham?

Usually it is /var/log/dpkg.log but it could be that there is no log file on N900 to prevent the root for filling up. Don't know about ham where should it be?

When there is no log file the best would be to read the console output during installation.

Maemish 2019-09-05 12:16

Re: Nwer OpenSSL on Maemo Fremantle
 
I was visiting doctor and she asked me to come in just when the installation finished and I accidentally shot the xterm before reading well the output.

zod 2020-09-01 13:49

Re: Nwer OpenSSL on Maemo Fremantle
 
Quote:

Originally Posted by ymartin59 (Post 1555971)
Since recently SoundCloud download from gPodder fails with sslv3 handshake error.
Notice, retrieving podcast list is still possible.

From last week I have same problem. So I compiled python2.5 against openssl1.1 and download is working again.
Not sure if it doesnt broke anything else so packages not in the repositories yet. Actually only _ssl.so from python2.5_2.5.4-1maemo7_armel.deb is needed.
If you want to revert back:
Code:

apt-get install python2.5=2.5.4-1maemo6
packages are here: python2.5-minimal_armel.deb python2.5_armel.deb python2.5.tar.gz

Dakon 2021-01-09 13:35

Re: Nwer OpenSSL on Maemo Fremantle
 
I have built the latest version of 1.0.2 as I needed it for OSM2go, the packages are here: https://github.com/osm2go/openssl/tree/openssl-1.0.2

Since 1.1.0 was longer out of support than 1.0.2 I skipped that one. Building 1.1.1 isn't possible without a Perl update as it seems, has anyone managed to build that?

I would be very much interested in having a more recent, more upstreamish (as in CSSU or so) version that can be installed in parallel to the old system library.


All times are GMT. The time now is 13:54.

vBulletin® Version 3.8.8