* chore(deps): consolidate dependency and security bumps Dependabot PRs applied: - #12878 qs 6.15.2 -> 6.16.0 (web/web-runtime) - #13013 alpine 3.24.1 -> 3.24.2 - #13061 actions/checkout -> v7.0.1 (missed instance in k8s.yml) - #13062 actions/setup-node -> v7.0.0 (missed instance in k8s.yml) - #13075 simple-git 3.36.0 -> 4.0.1 (security) - #13076 katex 0.16.45 -> 0.18.2+ (security) - #13077 dompurify 3.4.13 -> 3.4.16 (security) - #13079 go deps minor-and-patch group, 18 updates (opa 1.19.0 -> 1.21.1, otel 1.46 -> 1.47, bleve, govips, grpc-gateway, lico, tablewriter, logrus, gjson, x/exp, x/image, genproto, etc.) Skipped (already satisfied on master): #12513, #12624, #12625, #12633 Manual security bumps via pnpm.overrides (no dependabot PR existed): - axios -> 1.20.0 - smol-toml -> 1.9.0 - postcss -> 8.5.23 - postcss-selector-parser -> 7.1.6 - colord -> 2.9.4 - unhead -> 2.1.13 - markdown-it -> 14.3.1 - esbuild -> 0.28.1 - brace-expansion 5.0.11 -> 5.0.12 Not fixable: sprintf-js and elliptic have no patched version released upstream yet; left as-is. go build and pnpm install verified clean. * chore(deps): fix residual transitive vulns found by trivy trivy flagged duplicate/stale resolutions that survived the earlier override pass: dompurify (3.4.12 -> 3.4.16), qs (6.14.2 -> 6.16.0), and fast-uri (3.1.7 -> 3.1.8, CVE-2026-86472). Added/bumped pnpm.overrides accordingly. trivy fs scan of web/pnpm-lock.yaml now clean. * chore(deps): bump reva to bac0e1ee144ab853a81c6b02142032f102dd245a Pins github.com/owncloud/reva/v2 to bac0e1ee144ab853a81c6b02142032f102dd245a, pulling in its go-playground/locales and huandu/xstrings version bumps. Appends this PR to changelog/unreleased/bump-reva.md. go build ./... verified clean after go mod vendor resync. * fix(ci): revert unhead override, breaks web build * revert: keep k8s.yml actions/checkout and setup-node pinned
80 lines
3.9 KiB
Plaintext
80 lines
3.9 KiB
Plaintext
Changes
|
|
=======
|
|
|
|
v1.4.0 20 Aug 2026
|
|
* Add ML-DSA (FIPS 204) support: the `MLDSA44`, `MLDSA65`, and `MLDSA87`
|
|
algorithms, the `SignMLDSA()` / `VerifyMLDSA()` primitives, and a new
|
|
`MLDSAFamily` algorithm family. ML-DSA requires Go 1.27 or later, which is
|
|
when `crypto/mldsa` joins the standard library; on earlier toolchains the
|
|
constants are not declared and the algorithms are not registered.
|
|
|
|
An ML-DSA key carries its own parameter set, so naming an algorithm that
|
|
disagrees with the key is an error on both the sign and verify paths.
|
|
`SignMLDSA()` takes a `crypto.SignerOpts` so that both signing modes stay
|
|
reachable: an `*mldsa.Options` supplies a context string, and
|
|
`crypto.MLDSAMu` signs a pre-hashed mu message representative.
|
|
`VerifyMLDSA()` takes an `*mldsa.Options` because verification has a single
|
|
mode. `SignDigest()` and `VerifyDigest()` return an error for ML-DSA, as
|
|
they already do for EdDSA.
|
|
|
|
* The minimum Go version is now 1.25.
|
|
|
|
v1.3.0 13 Apr 2026
|
|
* Add `SignWithOpts()` and `VerifyWithOpts()`, which thread an optional
|
|
`crypto.SignerOpts` through to the underlying signer. For built-in
|
|
families (HMAC, RSA, ECDSA, EdDSA) the opts argument is ignored. For
|
|
the `Custom` family, opts are forwarded to the algorithm's Meta when
|
|
it implements the new `SignerWithOpts` / `VerifierWithOpts` interfaces;
|
|
otherwise the dispatcher falls back to the plain `Signer` / `Verifier`
|
|
methods and the opts are dropped. The canonical use case is composite
|
|
ML-DSA signatures, where a per-call domain-separation context
|
|
(`*mldsa.Options`) must reach `filippo.io/mldsa`.
|
|
|
|
* `Sign()` is now a one-line wrapper around `SignWithOpts()` (and
|
|
`Verify()` likewise wraps `VerifyWithOpts()`). The public signatures
|
|
of `Sign` and `Verify` are unchanged; the only observable difference
|
|
for existing callers is one extra call frame.
|
|
|
|
* `RegisterAlgorithm()` for the `Custom` family now accepts a Meta that
|
|
implements only `SignerWithOpts` / `VerifierWithOpts` (in addition to
|
|
the existing `Signer` / `Verifier` paths).
|
|
|
|
* In dsig v2, `Sign` / `Verify` will absorb the opts parameter and
|
|
`SignWithOpts` / `VerifyWithOpts` will be removed. The same migration
|
|
is planned for `SignDigest` / `VerifyDigest` once a `DigestSigner`
|
|
interface for the `Custom` family lands. Doc comments on all four
|
|
entry points flag the upcoming change.
|
|
|
|
v1.2.2 13 Apr 2026
|
|
* Add `SignECDSADER()` and `VerifyECDSADER()` primitive helpers for ECDSA
|
|
signatures in ASN.1 DER-encoded `Ecdsa-Sig-Value` form (RFC 3279 §2.2.3),
|
|
as used by X.509/PKIX and composite signature schemes. The existing
|
|
`SignECDSA()`/`VerifyECDSA()` functions remain the canonical entry points
|
|
for the JWS-native fixed-length r||s format (RFC 7515 §3.4).
|
|
|
|
v1.2.1 7 Apr 2026
|
|
* Add `SignDigest()` for signing pre-computed digests. Supported for HMAC,
|
|
RSA (PKCS1v15 and PSS), and ECDSA families. EdDSA and Custom return an error.
|
|
|
|
v1.2.0 6 Apr 2026
|
|
* Add `VerifyDigest()` for verifying signatures against pre-computed digests.
|
|
Supported for HMAC, RSA, and ECDSA families. EdDSA and Custom return an error.
|
|
|
|
* Add low-level digest verification functions: `VerifyHMACDigest()`,
|
|
`VerifyRSADigest()`, `VerifyECDSADigest()`.
|
|
|
|
v1.1.0 2 Apr 2026
|
|
* Add `Custom` algorithm family for registering user-defined sign/verify
|
|
implementations. For the `Custom` family, `AlgorithmInfo.Meta` must implement
|
|
the `Signer` and/or `Verifier` interfaces. The implementation struct can
|
|
carry any additional metadata it needs (hash functions, curves, etc.).
|
|
|
|
* Add `UnregisterAlgorithm()` for removing previously registered custom
|
|
algorithms. Built-in algorithms are protected and cannot be unregistered.
|
|
|
|
* `RegisterAlgorithm()` now rejects re-registration of an already-registered
|
|
algorithm name. Use `UnregisterAlgorithm()` first if you need to replace it.
|
|
|
|
v1.0.0 - 18 Aug 2025
|
|
* Initial release
|