Skip to content

fix: if a version < 4.3.0 is specified create an old-style TDF - #234

Merged
mkleene merged 15 commits into
mainfrom
feature/hash-compat
Apr 7, 2025
Merged

fix: if a version < 4.3.0 is specified create an old-style TDF#234
mkleene merged 15 commits into
mainfrom
feature/hash-compat

Conversation

@mkleene

@mkleenemkleene commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

If a version less than 4.3.0 is specified:

  • encode hashes using a layer of hex-encoding
  • leave version information out of the manifest

@mkleenemkleene changed the title Feature/hash compatfix: if a version < 4.3.0 is specified create an old-style TDFApr 4, 2025
@mkleene
mkleene marked this pull request as ready for review April 4, 2025 19:35
@mkleene
mkleene requested review from a team as code ownersApril 4, 2025 19:35
pflynn-virtru
pflynn-virtru previously approved these changes Apr 4, 2025
Comment threadsdk/src/test/java/io/opentdf/platform/sdk/TDFTest.java
@strantalis
strantalis requested a review from CopilotApril 7, 2025 16:03

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Comment threadsdk/src/test/java/io/opentdf/platform/sdk/VersionTest.java Outdated
Comment threadsdk/src/main/java/io/opentdf/platform/sdk/TDF.java Outdated
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate FailedQuality Gate failed

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

See analysis details on SonarQube Cloud

@mkleene
mkleene merged commit 082a9e7 into mainApr 7, 2025
@mkleene
mkleene deleted the feature/hash-compat branch April 7, 2025 18:28
mkleene pushed a commit that referenced this pull request Apr 7, 2025
🤖 I have created a release *beep* *boop*
---
<details><summary>0.7.7</summary>
## [0.7.7](v0.7.6...v0.7.7)
(2025-04-07)
### Features
* **sdk:** EC-wrapped key support for ZTDF
([#224](#224))
([d062691](d062691))
### Bug Fixes
* **cmdline:** Disable failing encryptnano ecdsa
([#227](#227))
([80ca207](80ca207))
* **cmdline:** Enable ec-wrapped cfg
([#231](#231))
([ee39ed5](ee39ed5))
* if a version &lt; 4.3.0 is specified create an old-style TDF
([#234](#234))
([082a9e7](082a9e7))
* **sdk:** Fixes nano ECDSA policy binding config
([#225](#225))
([f3e9fed](f3e9fed))
* **sdk:** Remove temporary ec salt value
([#228](#228))
([0fe37c6](0fe37c6))
* **sdk:** Set ec-wrapped to new salt value
([#230](#230))
([d3be28e](d3be28e))
* **sdk:** Update version information
([#232](#232))
([f9eeb0d](f9eeb0d))
</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 freeto 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.

4 participants

@mkleene@strantalis@pflynn-virtru