Skip to content

Release v1.2.1

Choose a tag to compare

@github-actions github-actions released this 05 Aug 07:23
· 24 commits to main since this release
8e03447

Go SDK v1.2.1 — authorization-decision parity repair

This release adds the PGP authorization-decision capability that was already available in the UQPAY Node.js, Python, and Java SDKs. It repairs an omission from the Go SDK's v1.2.0 bootstrap alignment; the other SDKs remain at v1.2.0.

Added

  • client.Issuing.AuthDecision for real-time card authorization decisions.
  • RSA-2048 PGP key generation and configuration from armored strings or key files.
  • Decryption of UQPAY requests, typed transaction delivery to a decision callback, and encrypted approve/decline responses.
  • String-preserving monetary values, including compatibility with JSON number payloads.
  • Configurable decision timeout, request-size limit, and fail-closed HTTP error handling.

Compatibility and security

  • The minimum supported runtime remains Go 1.19.
  • Authorization-decision configuration accepts only RSA keys of at least 2048 bits.
  • govulncheck reports conditional findings in the indirect CIRCL dependency for P-384 (GO-2026-4550) and FourQ (GO-2025-3754). Those algorithms are not accepted by this RSA-only SDK path. The CIRCL versions containing the upstream fixes require Go 1.22 or later.

Installation

go get github.com/uqpay/uqpay-sdk-go@v1.2.1
go mod tidy

See the Go SDK authorization-decision example and the UQPAY authorization-decision workflow.

Release commit: 8e03447a6fc4023603ee2a66140a07b8500755a6