Skip to content

Optimize reconstructedKey #382

Description

@pflynn-virtru

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions