Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize reconstructedKey #382

Open
pflynn-virtru opened this issue Nov 13, 2024 · 0 comments
Open

Optimize reconstructedKey #382

pflynn-virtru opened this issue Nov 13, 2024 · 0 comments

Comments

@pflynn-virtru
Copy link
Member

lib/tdf3/src/tdf.ts
'rewrap bad request; could indicate an invalid policy binding or a configuration error',
e

  const reconstructedKey = keyMerge([result.key]);

Member
@dmihalcik-virtru dmihalcik-virtru 1 hour ago
Merging one key just returns the first value

Suggested change
const reconstructedKey = keyMerge([result.key]);
const reconstructedKey = result.key;

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

No branches or pull requests

1 participant