Repository navigation
Prepare Go SDK v1.7.0 with SHA-384 list signing - #50
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #50 +/- ##
==========================================
+ Coverage 82.60% 82.63% +0.02%
==========================================
Files 6 6
Lines 345 357 +12
==========================================
+ Hits 285 295 +10
- Misses 32 33 +1
- Partials 28 29 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Go SDK v1.6.0 sends bare SHA-1 for list requests. Those requests fail when the key requires SHA-256 or stronger. Main already signs list requests with prefixed HMAC-SHA384. The Transloadit API has accepted these signatures for keys with a SHA-1 or SHA-256 minimum since mid-November 2026.
Changes
Template.MarshalJSONfrom v1.6.0 so a JSON round trip retains the signature-authentication setting.This is a product code change.
Validation
Local HTTP tests verify HMAC-SHA384 over the exact query params, the auth key and expiry, pagination, and a fresh nonce on repeat requests. They cover all three list methods and
GetTemplateas an ordinary request. The list cases fail against the v1.6.0 signer and the ordinary case passes. The nonce and template JSON round-trip regressions failed before their fixes. The focused tests, race checks, and example builds pass.Two list integration tests in the first CI run failed with
SIGNATURE_REUSE_DETECTED. The fresh nonce addresses the shared signing input that caused those failures. The first review round also identified the template serialization regression and the missing template credential coverage. The next two rounds extended the template regression to cover the exact v1.6.0 JSON field names and both values of the integer auth flag. The fourth round completed the changelog. The fifth and final round had no findings.Release
After merge and release approval, tag the merge commit
v1.7.0, push that tag, and create a GitHub release with the changelog and generated notes since v1.6.0. The merge commit already carries the version bump.Release tracking: #49. The issue stays open until v1.7.0 is published.
Claimed by kvz on 2026-11-28.