Skip to content

BE-7712 Fixed an issue where child KD folder keys are not decrypted correctly#170

Merged
hleekeeper merged 2 commits into
mainfrom
be-7712
Jun 12, 2026
Merged

BE-7712 Fixed an issue where child KD folder keys are not decrypted correctly#170
hleekeeper merged 2 commits into
mainfrom
be-7712

Conversation

@hleekeeper

@hleekeeper hleekeeper commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Changes

  1. Fixed an issue where child KD folder keys are not decrypted correctly
    Before the fix, the unwrapKeys() was used to decrypt child KD folder keys. But the function used the Promise.all() under the hood, which runs decryption of keys asynchronously. This caused issues when child folders have parent-child relationship where the child's key should be decrypted by the parent key. Due to the async process, there was a chance where the child key was processed before the parent's key, which resulted in the decryption failure. To avoid the issue, the unwrapKey() was used instead.
  2. Version bump to v17.2.7

@hleekeeper hleekeeper merged commit 0e36a54 into main Jun 12, 2026
6 checks passed
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.

2 participants