Skip to content

Conversation

@opentdf-automation
Copy link
Contributor

Description

Backport of #2857 to release/sdk/v0.10.

### Proposed Changes

1.) Expose `PolicyBinding` method that returns a implementation of the
new `PolicyBind` interface.
2.) Create new `PolicyBind` interface with methods `String()` and
`Verify()`.

DSPX-1875

### Checklist

- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation

### Testing Instructions

(cherry picked from commit 5221cf4)
@opentdf-automation opentdf-automation bot force-pushed the backport-2857-to-release/sdk/v0.10 branch from ab3f267 to 6ff7414 Compare November 3, 2025 18:48
@github-actions github-actions bot added comp:sdk A software development kit, including library, for client applications and inter-service communicati size/s labels Nov 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 185.454039ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 105.673656ms

Standard Benchmark Metrics Skipped or Failed

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 373.713224ms
Throughput 267.58 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 39.57652284s
Average Latency 392.481639ms
Throughput 126.34 requests/second

NANOTDF Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 27.360784919s
Average Latency 272.584622ms
Throughput 182.74 requests/second

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 180.368919ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 104.36428ms

Standard Benchmark Metrics Skipped or Failed

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 357.039743ms
Throughput 280.08 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 38.928033817s
Average Latency 387.437931ms
Throughput 128.44 requests/second

NANOTDF Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 27.204302976s
Average Latency 271.088337ms
Throughput 183.79 requests/second

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@strantalis strantalis merged commit 556a0e2 into release/sdk/v0.10 Nov 4, 2025
20 of 34 checks passed
@strantalis strantalis deleted the backport-2857-to-release/sdk/v0.10 branch November 4, 2025 19:05
strantalis pushed a commit that referenced this pull request Nov 4, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.10.1](sdk/v0.10.0...sdk/v0.10.1)
(2025-11-04)


### Features

* **sdk:** Expose policy binding hash from Nano. [backport to
release/sdk/v0.10]
([#2869](#2869))
([556a0e2](556a0e2))


### Bug Fixes

* **deps:** bump toolchain to go1.24.9 for CVEs found by govulncheck
[backport to release/sdk/v0.10]
([#2872](#2872))
([fbda5d1](fbda5d1))

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

comp:sdk A software development kit, including library, for client applications and inter-service communicati size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants