Repository navigation
Releases
Releases · strangemattersystems/hamnir
v1.0.1
Changelog
Bug fixes
- fix(provider): keep auth_time on refreshed id_tokens
- fix(provider): record every login and clear it on logout
- fix(provider): keep a persona's login time while it meets max_age
Others
- Merge pull request #76 from peterp/keep-login-time-for-max-age
v1.0.0
Changelog
Others
- Merge pull request #52 from strangemattersystems/chore/go-1.27
- build(deps): bump golangci-lint from 2.12.2 to 2.13.2
- refactor(provider): use slices.Clip in withOfflineAccess
- chore: upgrade to Go 1.27
- Merge pull request #51 from strangemattersystems/chore/dependency-updates
- ci(deps): bump anchore/sbom-action/download-syft from 0.24.0 to 0.24.2
- ci(deps): bump docker/setup-buildx-action from 4.2.0 to 4.3.0
- chore(deps): bump golang from 1.26 to 1.27
- chore(deps): bump distroless/static-debian12 from 1b7b9f0 to afa5c87
- chore(deps): bump github.com/urfave/cli/v3 from 3.10.1 to 3.11.0
- chore(deps): bump golang.org/x/oauth2 from 0.36.0 to 0.37.0
- chore(deps): bump github.com/coreos/go-oidc/v3 from 3.20.0 to 3.21.0
- chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.5
- chore(deps): bump github.com/zitadel/oidc/v3 from 3.49.2 to 3.49.6
v0.3.2
Changelog
Others
- Merge pull request #32 from strangemattersystems/dependabot/go_modules/github.com/zitadel/oidc/v3-3.49.2
- chore(deps): bump github.com/zitadel/oidc/v3 from 3.48.1 to 3.49.2
- Merge pull request #35 from strangemattersystems/dependabot/go_modules/golang.org/x/text-0.41.0
- chore(deps): bump golang.org/x/text from 0.40.0 to 0.41.0
- Merge pull request #33 from strangemattersystems/dependabot/docker/examples/webapp/distroless/static-debian12-1b7b9f0
- Merge pull request #30 from strangemattersystems/dependabot/docker/examples/webapp/golang-2005724
- Merge pull request #34 from strangemattersystems/dependabot/docker/distroless/static-debian12-1b7b9f0
- Merge pull request #29 from strangemattersystems/dependabot/docker/golang-2005724
- Merge pull request #31 from strangemattersystems/dependabot/github_actions/actions/attest-build-provenance-4.2.2
- Merge pull request #36 from strangemattersystems/jgmw/bump-go-1.26.6
- chore(deps): bump golang from
3aff665to0d1d3a7in /examples/webapp - chore(deps): bump golang from
3aff665to0d1d3a7 - build: bump Go toolchain to 1.26.6
- chore(deps): bump distroless/static-debian12 from
f5b485eto1b7b9f0 - chore(deps): bump distroless/static-debian12 in /examples/webapp
- ci(deps): bump actions/attest-build-provenance from 4.1.1 to 4.2.2
- Merge pull request #28 from strangemattersystems/dependabot/github_actions/docker/login-action-4.6.0
- ci(deps): bump docker/login-action from 4.5.2 to 4.6.0
- Merge pull request #27 from strangemattersystems/dependabot/github_actions/docker/login-action-4.5.2
- ci(deps): bump docker/login-action from 4.5.1 to 4.5.2
- Merge pull request #26 from strangemattersystems/jgmw/warm-proxy-release
- build: wait for proxy.golang.org to report the tag before releasing
v0.3.1
Changelog
Others
- Merge pull request #25 from strangemattersystems/jgmw/bump-go-1.26.5
- build: bump Go toolchain to 1.26.5
- Merge pull request #24 from strangemattersystems/dependabot/go_modules/github.com/zitadel/oidc/v3-3.48.1
- Merge pull request #23 from strangemattersystems/dependabot/github_actions/docker/login-action-4.5.1
- chore(deps): bump github.com/zitadel/oidc/v3 from 3.48.0 to 3.48.1
- ci(deps): bump docker/login-action from 4.5.0 to 4.5.1
- Merge pull request #22 from strangemattersystems/dependabot/github_actions/docker/login-action-4.5.0
- ci(deps): bump docker/login-action from 4.4.0 to 4.5.0
- Merge pull request #21 from strangemattersystems/dependabot/go_modules/github.com/zitadel/oidc/v3-3.48.0
- chore(deps): bump github.com/zitadel/oidc/v3 from 3.47.9 to 3.48.0
v0.3.0
Changelog
Features
- feat(provider): report token audience in introspection responses
- feat(config): resolve relative static paths against the config directory
Bug fixes
- fix(provider): reject prompt=none combined with other values
Documentation
- docs(examples): use a config-relative avatars path
- docs(examples): add preferred_username claims to example personas
Others
v0.2.2-rc.1
Changelog
Bug fixes
- fix(release): use cosign v3 bundle format for checksum signing
Others
- Merge pull request #17 from strangemattersystems/dependabot/github_actions/sigstore/cosign-installer-4.1.2
- Merge pull request #18 from strangemattersystems/jgmw/cosign-v3-bundle
- Merge pull request #14 from strangemattersystems/dependabot/docker/distroless/static-debian12-f5b485e
- Merge pull request #15 from strangemattersystems/dependabot/docker/examples/webapp/distroless/static-debian12-f5b485e
- Merge pull request #16 from strangemattersystems/dependabot/github_actions/actions/checkout-7.0.1
- ci(deps): bump sigstore/cosign-installer from 3.10.1 to 4.1.2
- ci(deps): bump actions/checkout from 7.0.0 to 7.0.1
- chore(deps): bump distroless/static-debian12 from
aef9602tof5b485e - chore(deps): bump distroless/static-debian12 in /examples/webapp
v0.2.1
Changelog
Others
- Merge pull request #13 from strangemattersystems/jgmw/goreleaser-tag-pin
- ci: pin goreleaser to the tag that triggered the release
v0.2.0-rc.1
Changelog
Features
- feat(web): device verification pages over the persona picker
- feat(provider): store and decide device authorizations
- feat(web): auto-login and search prefill from login_hint
- feat(provider): carry login_hint and prompt on auth requests
- feat(web): add live persona search to the picker
- feat(web): stamp picker cards with a search haystack
- feat(provider): default exchange audience from configured audiences
- feat(provider): identify persona tokens with a hamnir token-type URI
- feat(provider): let registered public clients use the token exchange
- feat(provider): implement RFC 8693 token exchange over persona tokens
- feat(config): add persona tokens for programmatic login
Bug fixes
- fix(provider): drop private_key_jwt signing algs from discovery
- fix(provider): let a device's final poll outlive the request expiry
- fix(provider): stop advertising the jwt-bearer grant
- fix(provider): stop advertising the implicit flow
- fix(web): search personas by email; guard IME enter and announce the empty state
- fix(provider): harden token exchange (GET path, session pruning, introspection scope, body client_id)
- fix(provider): code-flow claim parity and malformed-auth hardening for the exchange
Documentation
- docs: document the device flow
- docs: document login_hint; forward it from the example webapp
- docs: point readme at prebuilt release binaries
- docs: document programmatic login via persona tokens
- docs(examples): single-client example with persona tokens
Others
- Merge pull request #12 from strangemattersystems/jgmw/more-mvp-work-1
- style(web): device result meta description and focus rings
- test: pin device escaping, script selectors, and sentinel errors
- test(server): poll the device grant through the exchange helper
- test(server): cover the device flow end to end
- build: sign releases and images with keyless cosign
- test(server): move e2e tests to an external package and split by domain
- style(command): reword the permissive mode warning
- build: describe the container image in its oci metadata
- test(provider): pin harmless prompt values keeping auto-login
- test(server): cover login_hint auto-login end to end
- ci: test on macos and windows via a single matrix job
- build: evaluate version stamping vars only in the build task
- build: restore gomod proxy for verifiable release builds
- Merge pull request #11 from strangemattersystems/jgmw/persona-tokens
- style: align exchange tests and comments with project conventions
- test(server): cover programmatic login via token exchange end to end
- Merge pull request #9 from strangemattersystems/dependabot/docker/examples/webapp/golang-3aff665
- Merge pull request #10 from strangemattersystems/dependabot/docker/golang-3aff665
- chore(deps): bump golang from
ae5a231to3aff665 - chore(deps): bump golang from
ae5a231to3aff665in /examples/webapp - Merge pull request #8 from strangemattersystems/jgmw/release-artifact-metadata-perm
- ci: grant artifact-metadata:write in the release workflow
v0.1.0
Changelog
Breaking changes
- feat!: require signing_key in config, drop the separate key file
Features
- feat(server): add /up liveness endpoint echoing the build version
- feat(server): gzip-compress compressible responses
- feat(static): give served assets a short cache lifetime
- feat(web): add a meta description to the login page
- feat: prove configured audiences end-to-end and document in the example
- feat(provider): resolve configured audiences into token requests
- feat(config): parse and validate optional audiences lists
- feat(config): configurable token lifetimes
- feat(cli): read config path and listen address from the environment
- feat(init): generate the signing key into the config file
- feat(config): parse optional signing_key into an RSA private key
Bug fixes
- fix(server): set WriteTimeout and IdleTimeout on the HTTP server
- fix(static): do not cache error responses
- fix(web): collapse --faint into --muted at WCAG AA contrast in both themes
- fix(provider): clone resolved audience lists before handing them to op
- fix(config): tolerate reflowed signing_key values and neutralise the missing-key hint
- fix(provider): derive the JWKS kid deterministically from the signing key
Documentation
- docs: write the root README
- docs(init): point the starter config at the repo for richer examples
- docs(example): rewrite the example README
- docs(example): clarify hamnir.yaml config comments
- docs: remove the deleted /static/ route from New and Routes comments
- docs(command): add package comment and document Serve
- docs(server): add package comment
- docs(web): document the Handler, its constructor, and route registration
- docs(provider): add package doc, token type docs, and CreateAccessToken note
- docs(config): document Load, Validate, exported errors and config types
- docs(static): document the static asset mount and directory-listing guard
- docs(persona): document exported symbols and claim-release precedence
- docs(examples): commit a signing key in the example config
Others
- Merge pull request #7 from strangemattersystems/jgmw/over-time-hardening
- chore(tooling): add an exec task that builds and runs the binary
- refactor(example): tidy and harden the webapp relying party
- refactor(example): sort webapp config by ownership
- chore(example): tweak gitignore comment
- Merge pull request #6 from strangemattersystems/jgmw/persona-hardening
- ci: run test and lint even when one fails, test first
- chore(web): document the gosec G203 exception for the inlined stylesheet
- test(server): cover the gzip Range passthrough guard
- refactor(web): inline the stylesheet and drop the /static/ route
- test(command): cover Serve/Init error paths and run in parallel
- test(command): fold TestInit_* subtests into TestInit
- test(server): cover New's error path and run the tests in parallel
- test(server): fold TestNew_ServesStatic into TestNew
- test(web): cover postSelect error paths and initial, run in parallel
- test(web): reorganize tests by handler method
- refactor(web): fold embed.go into login.go
- test(provider): run the provider tests in parallel
- test(provider): cover auth-request, revocation, and introspection edge paths
- test(provider): cover configured-client lookup and secret auth
- test(provider): normalize constructor test names to Test
- test(config): run the config tests in parallel
- test(config): cover static-ref traversal, malformed refs, and load errors
- test(static): cover file serving and the directory-listing guard
- test(persona): cover claim-release precedence and persona edge cases
- refactor(persona): return a read-only iterator from Set.All
- Merge pull request #5 from strangemattersystems/jgmw/access-token-audiences
- Merge pull request #4 from strangemattersystems/jgmw/signing-key-in-config
- test(command): gate signing_key injection on an explicit table knob
- build(release): anchor breaking-change detection and drop dead changelog regexp branches"
- build(release): group breaking changes into their own changelog section
v0.1.0-rc.2
Changelog
Features
- feat(config): validate clients and static mounts; sync schema
- feat(web): enlarge picker avatars and add initials placeholder
- feat(examples): give example personas avatars via static content
- feat(web): show persona avatars in the picker
- feat(static): serve configured mounts under /.static/
- feat(static): resolve hamnir:// claim references at startup
- feat(config): add static content block (prefix + paths)
- feat(config): diverge init and example configs
- feat(examples): restyle the webapp distinct from hamnir
- feat(examples): single hamnir URL and a userinfo demo
- feat(provider): advertise browser-facing endpoints at browser_url
- feat(config): add browser_url for split front/back-channel discovery
- feat(release): publish multi-arch images to ghcr.io with attestation
- feat(server): graceful shutdown on SIGINT/SIGTERM
- feat(config): give the parent personas a custom catchphrase claim
- feat(web): restyle the persona picker — monospace, flat square borders, light/dark
- feat(examples): use the init starter personas in the compose demo
- feat(cli): expand the init starter config with two groups and example personas
- feat(cli): add init command to scaffold a config and signing key
- feat(cli): add validate command to check config without serving
- feat(examples): docker compose stack wiring hamnir and the web app
- feat(examples): minimal Go relying-party web app
- feat(provider): assert requested claims in the id_token and issue refresh by default
- feat(server): assemble provider, picker and CLI wiring
- feat(web): persona picker page and selection handler
- feat(provider): zitadel op.Storage adapter over persona config
- feat(provider): stateless refresh token manager with sid revocation
- feat(provider): persist or generate the RSA signing key
- feat(persona): scope-aware claim release with optional gating
- feat(persona): persona set lookup and display-name resolution
- feat(config): validate personas, groups and colours on load
- feat(config): parse persona YAML into typed config
Bug fixes
- fix(provider,web): harden the request edges
- fix(config): align schema with validation and escape static claim URLs
- fix(provider): enforce token ownership on revocation per RFC 7009
- fix(provider): enforce the auth-request lifecycle and stop evicting live pickers
- fix(provider): scope logout by client and keep rotated sessions alive
- fix(provider): give refresh tokens a jti; real rotation, revocation and userinfo 401
- fix(provider): honour both client shapes and logout redirects in permissive mode
- fix(web): order picker sections by the configured group order
- fix(provider): derive code-encryption key from private material, not the public modulus
- fix(provider): bind refresh tokens to hamnir's audience and require a sid
Documentation
- docs(examples): credit the CC0 Open Peeps avatars
- docs(config): add JSON Schema for editor validation and hints
Others
- Merge pull request #3 from strangemattersystems/jgmw/gate-attestations
- ci: run attestation steps only when the repository is public
- Merge pull request #2 from strangemattersystems/jgmw/review-2-cleanup
- refactor: cleanup sweep from the second branch review
- Merge pull request #1 from strangemattersystems/jgmw/mvp-1
- refactor: share login handshake constants and dedupe test bootstrap
- perf(provider): bound the in-memory stores with lazy sweeps
- refactor(provider): make TokenClaims the single token payload carrier
- ci: pin GitHub Actions to commit SHAs
- refactor(provider): share one persona.Set between picker and storage
- refactor(config): resolve static claims and normalise URLs in Load
- chore: ignore macOS .DS_Store files
- chore(examples): optimise avatar SVGs with ImageOptim
- ci(dependabot): cap open PRs at 8 per ecosystem entry
- ci(dependabot): cover the example webapp's Go module and Dockerfile
- ci: add Dependabot for Go, Actions, and Docker updates
- build(goreleaser): show every commit in the release changelog
- ci: add SBOM and build provenance to the release
- build(goreleaser): polish changelog
- ci: add tag-triggered release workflow
- chore: add MIT license
- build: add goreleaser for reproducible release builds
- chore: tidy go.sum
- test: align test style with the table-driven/terse convention
- build: adopt a curated golangci-lint config
- refactor: modernize to current Go idioms
- refactor: harden the server, entrypoint, and login redirect
- ci: add GitHub Actions workflow running task ci
- build: run golangci-lint via a go tool dependency
- refactor: check or explicitly ignore error returns
- build: add Taskfile with build and test targets
- refactor(cli): extract command logic into urfave-free internal/command
- refactor(cli): embed the init config template from a yaml file
- refactor(provider): export GenerateKey for reuse by the init command
- refactor(cli): adopt urfave/cli v3 and migrate serve command
- build(docker): inject version, revision and date via ldflags
- build(docker): pin base images to digests in both Dockerfiles
- refactor(logging): use slog with JSON output across both binaries
- build(docker): minimal distroless image for hamnir
- test(server): cover PKCE failure, strict redirect rejection, and logout revocation
- test(server): end-to-end auth-code+PKCE flow with independent RP
- test(config): restructure into table-driven subtests
- chore: scaffold module and CLI skeleton
- origin commit