Repository navigation
Highlights
TLS settings for LDAPS connections. Five new settings shape the TLS connection to an ldaps:// server: LDAP_TLS_MIN_VERSION, LDAP_TLS_MAX_VERSION, LDAP_TLS_CIPHER_SUITES, LDAP_TLS_CA_FILE and LDAP_TLS_SERVER_NAME, each with a matching flag (#738 by @CybotTM, requested by @NoJokeFNA in #737). Go has not offered cipher suites with static RSA key exchange by default since 1.22, so a directory server that offers only such a suite, as some eDirectory installations do, failed the handshake with remote error: tls: handshake failure. Naming the suite, for example LDAP_TLS_CIPHER_SUITES=TLS_RSA_WITH_AES_256_GCM_SHA384, enables it. LDAP_TLS_CA_FILE adds CA certificates to the system trust store, and LDAP_TLS_SERVER_NAME sets the host name for SNI and certificate verification. Contradictory settings stop the app at startup with a configuration error. A weak cipher suite, a minimum below TLS 1.2 and TLS settings on an ldap:// server are logged as warnings. Without these settings the client keeps the Go defaults, as before. The settings are described in SSL/TLS for LDAPS.
Security: Go 1.27.4 and a Debian 13 runtime image. The binaries and the container image are built with Go 1.27.4, which fixes GO-2026-6859 (CVE-2026-97054), an HTTP/1 server crash in net/http (#727). govulncheck reports the affected package as reachable from this code. The runtime image moves from distroless static-debian12 to static-debian13 (#731, #735 by @CybotTM): the Debian 12 image still shipped ca-certificates 20250419~deb12u1, which trusts the compromised eMudhra and Comodo roots (DLA-4845-1), and an outdated tzdata. The image still publishes linux/amd64, linux/arm/v7 and linux/arm64. Update to this release.
Changes
- Go module dependencies are updated, among them
gofiber/fiber/v33.7.0 (#726),a-h/templ0.3.1118 (#718, #730) andgofiber/storage/bbolt/v22.2.7 (#719, #720, #728, #732). - Development environment: the OpenLDAP containers of the dev stack, the integration tests and the e2e tests run
osixia/openldap2.6.15 instead of 1.5.0 (#741 by @CybotTM). The dev stack uses new volumes and creates a self-signed LDAPS certificate on its first start, so an existing setup starts with fresh seed data afterdocker compose --profile dev up -d. - Tests and CI: the OpenLDAP-backed web tests run in the integration job instead of being skipped (#723), gremlins now reads the mutation testing configuration (#734), and the companion browser checks run again on the Ubuntu 26.04 runner (#740), by @CybotTM.
Full changelog: v1.8.1...v1.9.0
Container image
ghcr.io/netresearch/ldap-manager:1.9.0
ghcr.io/netresearch/ldap-manager:1.9
ghcr.io/netresearch/ldap-manager:1
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ldap-manager-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ldap-manager-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ldap-manager:1.9.0 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ldap-manager:1.9.0 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.yml