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

feat(sdk): Allow for payload key retrieval. #1230

Merged
merged 6 commits into from
Aug 12, 2024

Conversation

c-r33d
Copy link
Contributor

@c-r33d c-r33d commented Jul 31, 2024

resolves #1310

  • Add the ability to retrieve the DEK using the SDK.

Note

If the NPE already has access to do the unwrap, then add a method to allow NPEs to retrieve the key.
This is helpful for use cases where the encryption/decryption is not done by Virtru, but by a 3rd party.
In such as case, Virtru is acting as an external key manager, and the key needs to be provided to the
party doing the enc/decr.

@c-r33d c-r33d requested review from a team as code owners July 31, 2024 15:34
sdk/tdf.go Outdated Show resolved Hide resolved
sdk/tdf_test.go Outdated Show resolved Hide resolved
c-r33d and others added 2 commits August 12, 2024 14:36
Co-authored-by: Ryan Schumacher <jschumacher@virtru.com>
Co-authored-by: Ryan Schumacher <jschumacher@virtru.com>

This comment has been minimized.

1 similar comment
Copy link
Contributor

Warning

This pull request does not reference any issues. Please add a reference to an issue in the body of the pull request description.

@strantalis strantalis added this pull request to the merge queue Aug 12, 2024
Merged via the queue into main with commit c3423fc Aug 12, 2024
19 checks passed
@strantalis strantalis deleted the f/MIC-915-add-dek-retrieval branch August 12, 2024 19:49
github-merge-queue bot pushed a commit that referenced this pull request Aug 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.3.5](sdk/v0.3.4...sdk/v0.3.5)
(2024-08-12)


### Features

* Adds IsValidTDF function - needs tests
([#1188](#1188))
([4750195](4750195))
* **sdk:** add assertion to tdf3
([#575](#575))
([5bbce71](5bbce71))
* **sdk:** Allow for payload key retrieval.
([#1230](#1230))
([c3423fc](c3423fc))


### Bug Fixes

* **core:** Autobump sdk
([#1313](#1313))
([0eda439](0eda439))
* **kas:** Regenerate protos and fix tests from info rpc removal
([#1291](#1291))
([91a2fe6](91a2fe6))
* **sdk:** Allow hyphens in attr namespaces
([#1250](#1250))
([a034bd5](a034bd5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
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.

Add UnsafePayloadKey function
3 participants