Offline Data Deleted after invalid Server Certificate
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
I connected my iPhone to a public Wifi, which triggered the invalid server certificate message on my phone because it responded with its own certificate before I went through the Wifi's internal login process. I looked at the wrong certificate in the app and it was for the domain of the airport I was at.
This logged out my Nextcloud and after I logged back in, all my offline data was gone.
Is this expected behaviour?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reproducing the invalid-certificate flow on iOS, then trace what happens to the login session and offline data after reauthentication. Done means the expected behavior is established and the reported data loss is either prevented or covered by a focused regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- authentication, mobile, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100