Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warn before certificates expire #10

Open
restena-sw opened this issue Mar 2, 2017 · 2 comments
Open

warn before certificates expire #10

restena-sw opened this issue Mar 2, 2017 · 2 comments

Comments

@restena-sw
Copy link
Contributor

It would be nice to warn users that they need to refresh their configs if either their client certificate or the last of all configured trust anchor CA certificates expire.

@GarethAyres
Copy link
Contributor

How would we best like to achieve this?

  1. We can set the app to check the certs expiry date, when its running. This means the app will only check if the user starts the app, or leaves it running. I imagine after connecting and the next reboot, the app is not started again by users unless they have problems connecting. In which case it is too late?

  2. We can start the app on a reboot. There is some persistence with the app then to perform the check once a day, for example.
    Downside to this is adding a new app permission:
    https://developer.android.com/reference/android/Manifest.permission.html#RECEIVE_BOOT_COMPLETED

This will mean all current installs need to accept the new permission for the feature to work, on update.
Another downside is some users may not like the app always starting itself. But now permissions are optional, its an option they can make. We can minimise the system resources used for this by creating a service to start, and only load the app if required.

Gareth

@restena-sw
Copy link
Contributor Author

restena-sw commented Jul 10, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants