Skip to content

fix(encryption): Improve type strictness on decryption check#58525

Merged
AndyScherzinger merged 1 commit intomasterfrom
fix/fix-decryption-failure-false-positive
Feb 26, 2026
Merged

fix(encryption): Improve type strictness on decryption check#58525
AndyScherzinger merged 1 commit intomasterfrom
fix/fix-decryption-failure-false-positive

Conversation

@come-nc
Copy link
Copy Markdown
Contributor

@come-nc come-nc commented Feb 23, 2026

Summary

Improve type strictness on decryption check. Otherwise decrypting a falsy value like '0' would be seen as a decryption failure.

Checklist

Otherwise decrypting a falsy value like '0' would be seen as a
 decryption failure.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc added this to the Nextcloud 34 milestone Feb 23, 2026
@come-nc come-nc self-assigned this Feb 23, 2026
@come-nc come-nc requested a review from a team as a code owner February 23, 2026 13:51
@come-nc come-nc requested review from leftybournes, nfebe, salmart-dev and sorbaugh and removed request for a team February 23, 2026 13:51
@AndyScherzinger AndyScherzinger merged commit 6df4909 into master Feb 26, 2026
186 of 192 checks passed
@AndyScherzinger AndyScherzinger deleted the fix/fix-decryption-failure-false-positive branch February 26, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants