Skip to content

Commit f9eae58

Browse files
chore(deps): bump github.com/xdg-go/scram from 1.1.2 to 1.2.0 in /examples/sasl_scram_client (#3394)
Bumps [github.com/xdg-go/scram](https://github.com/xdg-go/scram) from 1.1.2 to 1.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/xdg-go/scram/releases">github.com/xdg-go/scram's releases</a>.</em></p> <blockquote> <h2>v1.2.0</h2> <h3>Added</h3> <ul> <li><strong>Channel binding support for SCRAM-PLUS variants</strong> (RFC 5929, RFC 9266)</li> <li><code>GetStoredCredentialsWithError()</code> method that returns errors from PBKDF2 key derivation instead of panicking.</li> <li>Support for Go 1.24+ stdlib <code>crypto/pbkdf2</code> package, which provides FIPS 140-3 compliance when using SHA-256 or SHA-512 hash functions.</li> </ul> <h3>Changed</h3> <ul> <li>Minimum Go version bumped from 1.11 to 1.18.</li> <li>Migrated from <code>github.com/xdg-go/pbkdf2</code> to stdlib <code>crypto/pbkdf2</code> on Go 1.24+. Legacy Go versions (&lt;1.24) continue using the external library via build tags for backward compatibility.</li> <li>Internal error handling improved for PBKDF2 key derivation failures.</li> </ul> <h3>Deprecated</h3> <ul> <li><code>GetStoredCredentials()</code> is deprecated in favor of <code>GetStoredCredentialsWithError()</code>. The old method panics on PBKDF2 errors to maintain backward compatibility but will be removed in a future major version.</li> </ul> <h3>Notes</h3> <ul> <li>FIPS 140-3 compliance is available on Go 1.24+ when using SCRAM-SHA-256 or SCRAM-SHA-512 with appropriate salt lengths (≥16 bytes). SCRAM-SHA-1 is not FIPS-approved.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/xdg-go/scram/blob/master/CHANGELOG.md">github.com/xdg-go/scram's changelog</a>.</em></p> <blockquote> <h2>v1.2.0 - 2025-11-24</h2> <h3>Added</h3> <ul> <li><strong>Channel binding support for SCRAM-PLUS variants</strong> (RFC 5929, RFC 9266)</li> <li><code>GetStoredCredentialsWithError()</code> method that returns errors from PBKDF2 key derivation instead of panicking.</li> <li>Support for Go 1.24+ stdlib <code>crypto/pbkdf2</code> package, which provides FIPS 140-3 compliance when using SHA-256 or SHA-512 hash functions.</li> </ul> <h3>Changed</h3> <ul> <li>Minimum Go version bumped from 1.11 to 1.18.</li> <li>Migrated from <code>github.com/xdg-go/pbkdf2</code> to stdlib <code>crypto/pbkdf2</code> on Go 1.24+. Legacy Go versions (&lt;1.24) continue using the external library via build tags for backward compatibility.</li> <li>Internal error handling improved for PBKDF2 key derivation failures.</li> </ul> <h3>Deprecated</h3> <ul> <li><code>GetStoredCredentials()</code> is deprecated in favor of <code>GetStoredCredentialsWithError()</code>. The old method panics on PBKDF2 errors to maintain backward compatibility but will be removed in a future major version.</li> </ul> <h3>Notes</h3> <ul> <li>FIPS 140-3 compliance is available on Go 1.24+ when using SCRAM-SHA-256 or SCRAM-SHA-512 with appropriate salt lengths (≥16 bytes). SCRAM-SHA-1 is not FIPS-approved.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/xdg-go/scram/commit/b6d6a0b27c123984bef7d14cdb7f487bdbdd68d2"><code>b6d6a0b</code></a> Bump version in CHANGELOG</li> <li><a href="https://github.com/xdg-go/scram/commit/eb4bcac1e88ea79b22138fb272e3559315121079"><code>eb4bcac</code></a> Add error handling to xorBytes for unequal length arguments</li> <li><a href="https://github.com/xdg-go/scram/commit/711c747ce82666b482ba75783a0de05a6d6ad2a3"><code>711c747</code></a> Implement channel binding support for SCRAM-PLUS</li> <li><a href="https://github.com/xdg-go/scram/commit/d58dc75423f7f750e8c20a79944bbac67c05ae51"><code>d58dc75</code></a> Replace server error strings with typed RFC-compliant constants</li> <li><a href="https://github.com/xdg-go/scram/commit/753038a625c5bfb06fa0e111cd83b20dfe70bb3e"><code>753038a</code></a> Further modernize GH actions CI</li> <li><a href="https://github.com/xdg-go/scram/commit/17fcfe4138b5d77bb0df2ada3da8340b675c5a37"><code>17fcfe4</code></a> go mod tidy</li> <li><a href="https://github.com/xdg-go/scram/commit/4dc71f3b26dadac39402794e214890793ba6e6cf"><code>4dc71f3</code></a> Bump minimum Go version to 1.18</li> <li><a href="https://github.com/xdg-go/scram/commit/b85dd84a3a554babd720289083f186c8f2210421"><code>b85dd84</code></a> Update Github action versions</li> <li><a href="https://github.com/xdg-go/scram/commit/8dff94cf86a0f638962574cf4978ed58bb40e78f"><code>8dff94c</code></a> Restore backward-compatible error handling</li> <li><a href="https://github.com/xdg-go/scram/commit/6891e94ddcff40c01b093217c06e937b669dc5da"><code>6891e94</code></a> Use stdlib pbkdf2 in go 1.24</li> <li>Additional commits viewable in <a href="https://github.com/xdg-go/scram/compare/v1.1.2...v1.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/xdg-go/scram&package-manager=go_modules&previous-version=1.1.2&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 65cf6e1 commit f9eae58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/sasl_scram_client/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.24.0
44

55
require (
66
github.com/IBM/sarama v1.46.3
7-
github.com/xdg-go/scram v1.1.2
7+
github.com/xdg-go/scram v1.2.0
88
)
99

1010
require (

examples/sasl_scram_client/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
4747
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
4848
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
4949
github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
50-
github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY=
51-
github.com/xdg-go/scram v1.1.2/go.mod h1:RT/sEzTbU5y00aCK8UOx6R7YryM0iF1N2MOmC3kKLN4=
50+
github.com/xdg-go/scram v1.2.0 h1:bYKF2AEwG5rqd1BumT4gAnvwU/M9nBp2pTSxeZw7Wvs=
51+
github.com/xdg-go/scram v1.2.0/go.mod h1:3dlrS0iBaWKYVt2ZfA4cj48umJZ+cAEbR6/SjLA88I8=
5252
github.com/xdg-go/stringprep v1.0.4 h1:XLI/Ng3O1Atzq0oBs3TWm+5ZVgkq2aqdlvP9JtoZ6c8=
5353
github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gijq1dTyGkM=
5454
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=

0 commit comments

Comments
 (0)