bitfireat / cert4android Goto Github PK
View Code? Open in Web Editor NEWAndroid service + TrustManager for managing custom certificates in an app-private key store
License: GNU General Public License v3.0
Android service + TrustManager for managing custom certificates in an app-private key store
License: GNU General Public License v3.0
The way the module actually defines package names. As stated by Google in Android Developers, the package name should be stated in the build.gradle
file. Updating the build.gradle
file to add the namespace
option fixes the problem:
android {
defaultConfig {
namespace "at.bitfire.cert4android"
}
}
In any case, this change is recommended in AGP 7.3+. So it should be implemented.
We would have to care less about compile-time settings when this would be a real library. It would be easier to integrate with other projects.
I think of this is a separate library that
can be added as a normal dependency and then be used in other projects
has two components, something like a lib
and and sample-app
directory:
lib
contains the lib and is what is imported when other projects add the dependencysample-app
contains a minimum sample app that also allows to test cert4android in real when debugging (not imported with the dependency)make it a jitpack library
document how to embed the library
separate demo app from lib
When a certificate becomes invalid over time, users sometimes don't see the certification notification, and then the connections are rejected with time out.
Let's try with one level higher notifications (importance high):
NotificationUtils.createChannels
NotificationCompat.Builder
too, for Android versions that don't have channels yetIs MD5 secure enough to display a fingerprint to let users decide whether the certificate is trusted? Otherwise just keep SHA1
Tracking issue for:
There's currently just TrustCertificateActivity
in cert4android, so we can migrate it to Jetpack Compose, and see how it goes, before migrating icsx5 and the bigger projects.
Steps:
dataBinding
and enable compose
TrustCertificateActivity
activity_trust_certificate
from layouts.We don't need the AIDL interfaces; they are from times when cert4android had to communicate between multiple processes (because DAVx⁵ was split into multiple processes).
AIDL is disabled by default since AGP 8.0 and I think we should get rid of it.
It should be replaced by appropriate inter-thread communication.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.