Comments (4)
Hi @darwind,
What manufacturers do you see this across?
According to the docs SHA-256 should be supported across all Android OS versions (since API 1).
Throwing random thoughts out there, do you use any JNI in your app? https://stackoverflow.com/questions/17877419/android-messagedigest-nosuchalgorithmexception-after-calling-jni-function
from certificate-transparency-android.
Hi @darwind,
What manufacturers do you see this across?
According to the docs SHA-256 should be supported across all Android OS versions (since API 1).
Throwing random thoughts out there, do you use any JNI in your app? https://stackoverflow.com/questions/17877419/android-messagedigest-nosuchalgorithmexception-after-calling-jni-function
Thanks for getting back to me.
Yes I would also expect all devices to support SHA-256, unless the manufacturers mess up something of course.
We see this on:
Huawei (P30 lite, P20 Pro, P smart 2019, Mate 9 Pro and P20 Lite)
Samsung (Galaxy S9 and Galaxy A41)
OnePlus (6T)
However we've only seen roughly 10 crashes with 10 different users, but with a userbase of roughly 300.000 users on Android it's not affecting a lot of users obviously.
I went digging through our 3rd party libraries and we're actually using an OCR engine, which is a proprietary library so I don't have access to the source code apart from the obfuscated code and this OCR engine is actually using RenderScript, so yes indirectly we're using JNI I suppose :-) The OCR engine is initialised inside our Application class as the first thing we're doing and then the first call to our backend is made a little later when the user presses a button, so I guess this could actually be the issue.
I don't have access to any of the users that experience this issue so it's gonna be hard to test out whether changing the call order will fix this issue of course.
from certificate-transparency-android.
I can put a workaround in by having a fallback implementation of SHA-256, however, I am concerned it's just going to shift the problem elsewhere in the code.
Of course it's hard to know if it is the OCR library causing the issues... seems other Android libraries have experienced similar issues with no real resolution (Mixpanel, Amplitude-Android).
from certificate-transparency-android.
Next release will use SHA256 directly from BC rather than through MessageDigest so the above exception can no longer occur. I guess we'll have to see whether there are any further unexplained exceptions further down the line
from certificate-transparency-android.
Related Issues (20)
- Traffic Interception In Certificate Transparency HOT 3
- Unable to load log servers issue. HOT 8
- Does the lib support IP address ? HOT 1
- Unknown dependency - kotlinx-coroutines-core-jvm HOT 1
- How to create one separate βjarβ or βaarβ by this CTL project ? HOT 1
- Enable explicitApi mode for android module
- SerializationException while getting ParsedLogEntry using HttpLogClient for CTlog url -> http://ct.googleapis.com/logs/argon2021/ct/v1/ HOT 2
- NullPointerException in LogListJsonParserV2.parseJson HOT 2
- Using includeHost() could be error prone HOT 1
- Format of Trusted.toString() is slightly confusing
- Use LogClientService in external Java Project? HOT 2
- ClassNotFoundException when trying to use the builder or DSL funtion to build the interceptor
- ClassNotFoundException when trying to use the builder or DSL funtion to build the interceptor HOT 1
- CertificateTransparency: Failure: No certificates
- Migrating away from JCenter HOT 5
- JCenter deprecation HOT 1
- jcenter is being shutdown HOT 1
- Sun setting on JCenter HOT 1
- Could not resolve com.babylon.certificatetransparency:certificatetransparency-android:0.3.0. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from certificate-transparency-android.