Skip to content

fix: keySplitInfo try all #381

Closed
pflynn-virtru wants to merge 7 commits intomainfrom
fix/split-unwrap-2
Closed

fix: keySplitInfo try all #381
pflynn-virtru wants to merge 7 commits intomainfrom
fix/split-unwrap-2

Conversation

@pflynn-virtru
Copy link
Copy Markdown
Member

Parallelize the KAS key rewrap attempts within unwrapKey for improved efficiency. All potential KAS sources are now processed concurrently, and the method uses the first successful result, enhancing performance and robustness. Errors are collected and the most relevant one is thrown if all attempts fail.

DSP-287

pflynn-virtru and others added 7 commits November 7, 2024 12:17
Updated the import path for EntityObject to ensure correct module resolution. Added a comprehensive set of tests for the unwrapKey function to validate error handling and successful key unwrapping scenarios.
Parallelize the KAS key rewrap attempts within unwrapKey for improved efficiency. All potential KAS sources are now processed concurrently, and the method uses the first successful result, enhancing performance and robustness. Errors are collected and the most relevant one is thrown if all attempts fail.
Removed the entire unwrapKey.spec.ts test suite as it is no longer necessary. Minor formatting adjustments were made in the tdf.ts file.
Introduced comprehensive error handling tests for various HTTP status codes in encryption-decryption processes, including 400, 401, 403, and 500 HTTP errors. Adjusted the mock server to validate error conditions based on custom headers and handle network failures.
@pflynn-virtru pflynn-virtru requested a review from a team as a code owner November 12, 2024 22:24
@sonarqubecloud
Copy link
Copy Markdown

@pflynn-virtru pflynn-virtru deleted the fix/split-unwrap-2 branch November 13, 2024 20:21
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.

1 participant