Skip to content

feat(tls): support encrypted app-managed client certificate identities - #2213

Open
morhaviv wants to merge 1 commit into
nextcloud:masterfrom
morhaviv:feature/manual-pkcs12-client-certificate
Open

morhaviv wants to merge 1 commit into
nextcloud:masterfrom
morhaviv:feature/manual-pkcs12-client-certificate

Conversation

@morhaviv

@morhaviv morhaviv commented Nov 15, 2026 •

Copy link
Copy Markdown

When using mTLS, Android makes the user have to re-select the client certificate being used every ~24 hours. Its frustrating and makes the auto-upload feature stop working, forcing you to force close the app every day and reopen it, just to make it keep the auto-upload enabled.

There have been multiple issues opened by different users here in the repo the complained about it as well.

nextcloud/android#16762
nextcloud/android#12931

This feature (along with another PR I'm opening to the android app) lets you choose a custom certificate manually, and makes the http client manually use this certificate - instead of relaying on the OS's feature. (nextcloud/android#18055)

I've been using this version of the app for the past 48 hours and it has been working just as expected, and I couldn't find anything it broke.

🤖 AI (if applicable)

Assisted-by: ChatGPT:GPT-6

  • [ V ] The content of this PR was partly or fully generated using AI (N/A)

Preserve existing system KeyChain fallback. Add an instrumented
import/removal smoke test and clear temporary key material on failures.

Assisted-by: ChatGPT:GPT-6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant