Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2015-12-28, 13:41
jonwil jonwil is offline
 
Join Date: Oct 2009
Posts: 567
Thanks!: 0
Thanked 2,964 Times in 448 Posts
Default Suggested roadmap for updating OpenSSL on Fremantle

Here is a suggested roadmap for what we should do in order to properly use the newest OpenSSL (and related features) on Maemo Fremantle:
1.Get the latest OpenSSL (or LibreSSL) building and working properly on Fremantle (including all the newest algorithms and features and protocols as well as correct debian packaging, optimization flags etc for Fremantle)

2.Examine the OpenSSL 0.9.8n source code for Maemo (in the SDK repos) and identify any local patches vs upstream 0.9.8n and if those patches are actually necessary, forward-port them to the new OpenSSL version from #1 (or otherwise deal with them)

3.Put this new OpenSSL version into CSSU as "openssl", "libsslx.y.z", "libssl-dev" and "libsslx.y.z-dbg" (depending on the exact version we are porting or whatever)

4.Ensure that the root certificates in https://github.com/community-ssu/maemo-security-certman are up-to-date and match with what they should be for best security

5.Recompile/Port-to-new-OpenSSL-version/Put into CSSU maemo-security-certman, maemo-security-certman-applet, xorg-server, clinkc, loudmouth, microb-eal, sofia-sip, qt4-x11 and curl. (as well as anything else using OpenSSL that is FOSS and isn't present on a stock root filesystem). If bringing in a newer (but still ABI compatible) curl is easier, do that.

6.Update any security defaults or other things chosen by libcurl and libqt4-network so that they are only using things considered secure (e.g. dropping SSL2/SSL3/TLS1.0)

7.Identify any cases in the APIs where its possible for a user of libcurl or libqt4-network to specify security settings so we can audit for users of those functions and make sure nothing (especially closed source things) is doing anything insecure that should be updated.

8.Remove obsolete packages nokiamessaging and sharing-service-ovi (they are now useless and they use OpenSSL)

9.Audit the use of OpenSSL by as-daemon-0, tablet-browser-ui, osso-wlan-security, connui-iapsettings, adobe-flashplayer, location-proxy, osso-backup, ota-settings and signond0 and figure out which uses are a potential security risk and figure out what to do about those cases (e.g. cloning things)

This should cover all the things we need to do if we want the newest OpenSSL on Maemo Fremantle (and we want software to be using that new version)
Reply With Quote
The Following 6 Users Say Thank You to jonwil For This Useful Post:
  #2  
Old 2015-12-28, 14:14
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

Xserver needs openssl only just for sha1 hash function which is used for hashmap of glyphs. See this Christ's sake email thread: http://lists.x.org/archives/xorg-dev...ne/042757.html

Xserver can be recompiled with other libs for sha1 support (instead openssl). Maybe we should choose different lib now?
Reply With Quote
  #3  
Old 2015-12-28, 14:16
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

Or revert that commit in xserver which removed internal sha1 implementation as written in: http://lists.x.org/archives/xorg-dev...ne/042774.html
Reply With Quote
  #4  
Old 2015-12-28, 14:17
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

TLS1.0 is still quite secure, please do not drop it as many server will need it.
Reply With Quote
  #5  
Old 2015-12-28, 17:30
Dongle Fongle Dongle Fongle is offline
 
Join Date: Apr 2014
Posts: 92
Thanks!: 340
Thanked 144 Times in 64 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

+ add sha256 support?
Reply With Quote
  #6  
Old 2015-12-28, 22:30
jonwil jonwil is offline
 
Join Date: Oct 2009
Posts: 567
Thanks!: 0
Thanked 2,964 Times in 448 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

Ok, I wasn't sure if the current recommendation was to switch off TLS1.0 or not.
Reply With Quote
  #7  
Old 2015-12-28, 23:00
nieldk nieldk is offline
 
Join Date: Oct 2014
Posts: 1,277
Thanks!: 1,132
Thanked 4,295 Times in 1,201 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

Quote:
Originally Posted by pali View Post
TLS1.0 is still quite secure, please do not drop it as many server will need it.
NIST (And PCI-SSC) certainly disagrees on that statement.

http://nvlpubs.nist.gov/nistpubs/Spe...P.800-52r1.pdf
Reply With Quote
  #8  
Old 2015-12-28, 23:51
peterleinchen's Avatar
peterleinchen peterleinchen is offline
 
Join Date: Aug 2010
Location: Ruhrgebiet, Germany
Posts: 4,117
Thanks!: 16,423
Thanked 8,901 Times in 3,168 Posts
Send a message via ICQ to peterleinchen
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

Quote:
Originally Posted by nieldk View Post
NIST (And PCI-SSC) certainly disagrees on that statement.

http://nvlpubs.nist.gov/nistpubs/Spe...P.800-52r1.pdf
afaik gmail still offers SSL only?
At least that was a few months ago.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
Reply With Quote
  #9  
Old 2015-12-29, 00:43
jonwil jonwil is offline
 
Join Date: Oct 2009
Posts: 567
Thanks!: 0
Thanked 2,964 Times in 448 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

Anyone know where I can get source code to debian OpenSSL 0.9.8n-1 (the version Maemo Fremantle OpenSSL is based on)? If I can get that, I can do a diff between the 2 and see whats new in Maemo Fremantle that might need to be forward ported to whatever OpenSSL/LibreSSL version we end up taking (which IMO should probably be whatever Debian ships these days)
Reply With Quote
  #10  
Old 2015-12-29, 00:46
jonwil jonwil is offline
 
Join Date: Oct 2009
Posts: 567
Thanks!: 0
Thanked 2,964 Times in 448 Posts
Default Re: Suggested roadmap for updating OpenSSL on Fremantle

Google still offers ssl3 on its sites because of backwards compatibility (i.e. many people using ancient versions of Intercrap Exploder that either don't support TLS at all or have it off-by-default for some stupid reason)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:58.