GithubHelp home page GithubHelp logo

Comments (9)

schildbach avatar schildbach commented on July 17, 2024

The issue is reproducable on my Nexus One.

@mdyrna

from public-transport-enabler.

mdyrna avatar mdyrna commented on July 17, 2024

You mean it reproducible every time even with a stable Internet connection?

from public-transport-enabler.

schildbach avatar schildbach commented on July 17, 2024

I tried only once but it crashed immediately.

I'm thinking of disabling certificate validation for Android 2.3.

from public-transport-enabler.

mdyrna avatar mdyrna commented on July 17, 2024

What happens if you open https://www.vrsinfo.de in your browser on Android 2.3?

from public-transport-enabler.

mdyrna avatar mdyrna commented on July 17, 2024

The certificate chain is the following:

(root)
CN = GeoTrust Primary Certification Authority
O = GeoTrust Inc.
C = US

CN = GeoTrust EV SSL CA - G4
O = GeoTrust Inc.
C = US

CN = www.vrsinfo.de
OU = Informationstechnologie
O = Verkehrsverbund Rhein-Sieg GmbH
L = Koeln
ST = Nordrhein-Westfalen
C = DE
Object Identifier (2 5 4 5) = HRB 16883
Object Identifier (2 5 4 15) = Private Organization
Object Identifier (1 3 6 1 4 1 311 60 2 1 1) = Koeln
Object Identifier (1 3 6 1 4 1 311 60 2 1 3) = DE

GeoTrust claims that Android >= 2.3 should include their root certificate:
https://www.geocerts.com/ssl/browsers

I can't test it myself since my last Android 2.3 device is long gone. :-)

from public-transport-enabler.

schildbach avatar schildbach commented on July 17, 2024

It redirects to https://m.vrsinfo.de/ and that page shows a broken lock. However, Options > Page info > View certificate claims the cert is valid. I'm not sure but I guess the browser is separate to the Java HTTP client.

from public-transport-enabler.

mdyrna avatar mdyrna commented on July 17, 2024

So the conclusion is you will disable certificate validation in de.schildbach.pte.util.ParserUtils for Android < 3?

from public-transport-enabler.

schildbach avatar schildbach commented on July 17, 2024

That's my suggestion, yes. Sadly Android 2.3 is still at 10% of the installed user base. But at least they'd get opportunistic encryption.

from public-transport-enabler.

schildbach avatar schildbach commented on July 17, 2024

I was able to work around this issue in Öffi.

from public-transport-enabler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.