Commit bb29962
fix(sdk): Additional comments and cleanup of Rewrap V2 code (#780)
* feat(sdk): Move to rewrap v2 request/response format (#774)
* feat: Certificates & Obligations (#755)
* - Pin `@bufbuild/buf` and `@bufbuild/protoc-gen-es` dependencies to specific versions.
- Update copyright notices in `http_pb.ts` and `validate_pb.ts`.
* - Pin `@bufbuild/buf` and `@bufbuild/protoc-gen-es` dependencies to specific versions.
- Update copyright notices in `http_pb.ts` and `validate_pb.ts`.
* Add `obligations` and `rootCerts` attributes to test fixtures and mock data.
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* feat: upgrade tdf clients to rewrap v2 proto structure
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* updates to match go behavior
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* feat: Get Namespace (#756)
* - Pin `@bufbuild/buf` and `@bufbuild/protoc-gen-es` dependencies to specific versions.
- Update copyright notices in `http_pb.ts` and `validate_pb.ts`.
* - Pin `@bufbuild/buf` and `@bufbuild/protoc-gen-es` dependencies to specific versions.
- Update copyright notices in `http_pb.ts` and `validate_pb.ts`.
* Add `obligations` and `rootCerts` attributes to test fixtures and mock data.
* Add `getRootCertsFromNamespace` function and include headers initialization in `authProvider`
* Add input validation for `getRootCertsFromNamespace` and basic unit tests
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* feat(sdk): initial obligations support in rewrap flow (#748)
* feat(core): initial obligations support in rewrap flow
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* wip
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* more wip
* rm unused import
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* lint fix
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* tests
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* move file
* tdf3 client
* cleanup
* obligations method on opentdf reader classes
* requiredObligations on DecoratedReadableStream in tdf3
* wip: fetch decision if obligations haven't been set on reader
* wip
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* bugfix in case of no data attributes leading to no obligations
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* working state
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* fix
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* fix comments
* rm example web app hardcoded attributes and obligations
* unit tests for getRequiredObligations
* improve nullish operators
* cleanup
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* improvements
* fix
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* improve log
* put back package.json changes
* pr feedback
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* 🤖 🎨 Autoformat
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
* rm rewrap header for obligations over legacy http for older platforms
---------
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* chore: release sdk 0.5.0 (#658)
* chore(main): release sdk 0.5.0
* Update dependencies
---------
Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* feat(ci): Add a workflow to update the generated code for new protocol/go versions (#767)
* add a workflow to update the pbs
* trigger on PR
* correct platform location
* add gh token to env
* remove extra file after use
* detect changes on regen
* test with latest version
* remove, test changes
* test for signed commits
* try with api
* push the new branch
* use a shorter file name in the message
* fix for non existing files
* run slightly after midnight to avoid queues
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* 🤖 🎨 Autoformat
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* handle rewrap response
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* formatting
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* passing unit tests
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* format
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* chore(docs): bump playwright and @playwright/test in /web-app/tests (#763)
Bumps [playwright](https://github.com/microsoft/playwright) to 1.56.1 and updates ancestor dependency [@playwright/test](https://github.com/microsoft/playwright). These dependencies need to be updated together.
Updates `playwright` from 1.50.1 to 1.56.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.50.1...v1.56.1)
Updates `@playwright/test` from 1.50.1 to 1.56.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.50.1...v1.56.1)
---
updated-dependencies:
- dependency-name: playwright
dependency-version: 1.56.1
dependency-type: indirect
- dependency-name: "@playwright/test"
dependency-version: 1.56.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* chore(docs): bump vite from 6.3.6 to 6.4.1 in /web-app (#764)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.6 to 6.4.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.4.1/packages/vite)
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.4.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* v1 backwards compatability
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* error handling
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* cleanup
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* chore(docs): bump playwright and @playwright/test in /web-app (#775)
Bumps [playwright](https://github.com/microsoft/playwright) and [@playwright/test](https://github.com/microsoft/playwright). These dependencies needed to be updated together.
Updates `playwright` from 1.50.1 to 1.56.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.50.1...v1.56.1)
Updates `@playwright/test` from 1.50.1 to 1.56.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.50.1...v1.56.1)
---
updated-dependencies:
- dependency-name: playwright
dependency-version: 1.56.1
dependency-type: direct:development
- dependency-name: "@playwright/test"
dependency-version: 1.56.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* suggestions
---------
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Paul Flynn <43211074+pflynn-virtru@users.noreply.github.com>
Co-authored-by: jakedoublev <jake.vanvorhis@virtru.com>
Co-authored-by: Jake Van Vorhis <83739412+jakedoublev@users.noreply.github.com>
Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* additional comments and cleanup
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
* format
* fix merge
---------
Signed-off-by: Elizabeth Healy <ehealy@virtru.com>
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Paul Flynn <43211074+pflynn-virtru@users.noreply.github.com>
Co-authored-by: jakedoublev <jake.vanvorhis@virtru.com>
Co-authored-by: Jake Van Vorhis <83739412+jakedoublev@users.noreply.github.com>
Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent e7718d5 commit bb29962
4 files changed
+23
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
312 | 313 | | |
313 | 314 | | |
314 | | - | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
316 | 322 | | |
317 | 323 | | |
318 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
266 | 267 | | |
267 | 268 | | |
268 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
| 847 | + | |
847 | 848 | | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
851 | | - | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
852 | 858 | | |
853 | 859 | | |
854 | 860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | | - | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
0 commit comments