Skip to content

Conversation

@imdominicreed
Copy link
Contributor

@imdominicreed imdominicreed commented Nov 20, 2024

Adds Collection API to NanoTDF.

Decrypt: NanoTDF Client constructor will have a option to enable CollectionStore or pass in a custom CollectionStore implementation.

Encrypt: NanoTDFConfig will have an option WithCollection to enable writing as a Collection rather as individual NanoTDF's.

Examples for Collection are made in ExampleEncryptCollection and ExampleDecryptCollection and will successfully encrypt/decrypt with default OpenTDF Platform Fixtures. ExampleDecryptCollection will have only 1 Unwrap Request to Platform.

@imdominicreed imdominicreed requested review from a team as code owners November 20, 2024 21:10
@imdominicreed imdominicreed marked this pull request as draft November 20, 2024 21:11
Summary:

Test Plan:
Summary:

Test Plan:
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@imdominicreed imdominicreed changed the title feat: adds Collections API to SDK feat(sdk): adds Collections API Nov 20, 2024
@imdominicreed imdominicreed marked this pull request as ready for review November 20, 2024 22:05
@pflynn-virtru
Copy link
Member

Ignore the SonarCloud code coverage

@imdominicreed imdominicreed merged commit 1ee1367 into main Nov 20, 2024
6 of 7 checks passed
@imdominicreed imdominicreed deleted the feat/collection-sdk branch November 20, 2024 23:52
mkleene pushed a commit that referenced this pull request Feb 6, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>0.7.6</summary>

## [0.7.6](v0.7.5...v0.7.6)
(2025-02-06)


### Features

* Add assertion verification
([#216](#216))
([e0f8caf](e0f8caf))
* **cmdline:** assertions cli support
([#204](#204))
([3325114](3325114))
* **sdk:** Add and expose tamper error types
([#187](#187))
([b4f95e6](b4f95e6))
* **sdk:** adds Collections API
([#212](#212))
([1ee1367](1ee1367))


### Bug Fixes

* Correct null assertions when deserializing
([#211](#211))
([b075194](b075194))
* incorrect isStreamable serialized name
([#210](#210))
([32825b0](32825b0))
* NanoTDF secure key from debug logging and iv conflict risk
([#208](#208))
([6301d32](6301d32))
* **sdk:** deserialize object statement values correctly
([#219](#219))
([c513e8c](c513e8c))
* **sdk:** Fuzz testing and protocol fixes
([#214](#214))
([cf6f932](cf6f932))
* **sdk:** group splits with empty/missing split IDs together
([#217](#217))
([0f47702](0f47702))
* **sdk:** remove hex encoding
([#213](#213))
([e076d11](e076d11))
* **sdk:** uses offset for ByteBuffer array offset
([#209](#209))
([0d6e761](0d6e761))
* Use reusable start-additional-kas workflow
([#215](#215))
([cb6f757](cb6f757))
</details>

---
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.

3 participants