Skip to content

Releases: xdg-go/scram

v1.2.0

24 Nov 13:42
@xdg xdg
b6d6a0b

Choose a tag to compare

Added

  • Channel binding support for SCRAM-PLUS variants (RFC 5929, RFC 9266)
  • GetStoredCredentialsWithError() method that returns errors from PBKDF2
    key derivation instead of panicking.
  • Support for Go 1.24+ stdlib crypto/pbkdf2 package, which provides
    FIPS 140-3 compliance when using SHA-256 or SHA-512 hash functions.

Changed

  • Minimum Go version bumped from 1.11 to 1.18.
  • Migrated from github.com/xdg-go/pbkdf2 to stdlib crypto/pbkdf2 on
    Go 1.24+. Legacy Go versions (<1.24) continue using the external
    library via build tags for backward compatibility.
  • Internal error handling improved for PBKDF2 key derivation failures.

Deprecated

  • GetStoredCredentials() is deprecated in favor of
    GetStoredCredentialsWithError(). The old method panics on PBKDF2
    errors to maintain backward compatibility but will be removed in a
    future major version.

Notes

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

v1.1.2

07 Dec 15:06
@xdg xdg
17629a5

Choose a tag to compare

  • Bump stringprep dependency to v1.0.4 for upstream CVE fix.

v1.0.2

28 Mar 19:38
@xdg xdg
2ad5018

Choose a tag to compare

  • Switch PBKDF2 dependency to github.com/xdg-go/pbkdf2 to
    minimize transitive dependencies and support Go 1.9+.

v1.0.1

27 Mar 15:12
@xdg xdg
e8ba582

Choose a tag to compare

  • Bump stringprep dependency to v1.0.2 for Go 1.11 support.

v1.0.0

27 Mar 14:43
@xdg xdg
981e4a7

Choose a tag to compare

First release as a Go module