nextcloud / nextcloud/ios

Encryption app is enabled but keys are not initialized

Open
#3,474 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Nextcloud version 6.6.2: Encryption app is enabled but keys are not initialized. Logged out and logged in. Error message: Your browser is not supported. Please upgrade to a newer version or a supported one. If you continue with the old browser, Nextcloud will open in this window, i.e. in the browser instead of the application. OS IOS 18.5. Nextcloud version: 31.0.4.

InvalidTokenException Token does not exist: token does not exist Renewing session token failed: Token does not exist.

It's not a problem on another iPhone if you're already logged in. However, this problem arises as soon as you have to log in, i.e., with a username and password.

Update: If you create an app password and scan the QR code with your phone in the app, the connection will be established successfully.

Best regards

hume1991

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by reproducing a password-based login on iOS 18.5 and compare it with an app-password QR login, then trace the InvalidTokenException and key-initialization failure; done means normal login initializes encryption keys without the unsupported-browser or session-token errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.