Repository navigation
Don't show a new encryption passphrase when the setup screen is recreated. - #17981
Open
shivytyahoo wants to merge 1 commit into
Open
shivytyahoo wants to merge 1 commit into
shivytyahoo wants to merge 1 commit into
Conversation
shivytyahoo
force-pushed
the
fix/11571-encryption-passphrase-recreation
branch
from
November 6, 2026 11:34
0cf0ae2 to
171ab8f
Compare
The setup activity showed a fresh dialog on every recreation, so the passphrase changed while the user was copying it somewhere else. Only show the dialog the first time; Android restores the existing one with its saved passphrase after rotation or when the app comes back. Fixes nextcloud#11571 Signed-off-by: shivytyahoo <335833302+shivytyahoo@users.noreply.github.com>
shivytyahoo
force-pushed
the
fix/11571-encryption-passphrase-recreation
branch
from
November 6, 2026 11:39
171ab8f to
fcaca1c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #11571
The setup screen was showing a fresh dialog every time the activity was recreated, so the passphrase changed while you were copying it somewhere else.
Now it only shows the dialog the first time, and Android restores the one you already had after a rotation or when the app comes back.
The file list path already did it this way, this just does the same for the settings screen.
Screenshots
No visual change.
Checklist
AI (if applicable)