Skip to content

feat: add NATS NKey authentication and rework docker build config - #1

Merged
paullatzelsperger merged 1 commit into
mainfrom
feat/nats-nkey-auth
Jul 15, 2026
Merged

feat: add NATS NKey authentication and rework docker build config#1
paullatzelsperger merged 1 commit into
mainfrom
feat/nats-nkey-auth

Conversation

@paullatzelsperger

@paullatzelsperger paullatzelsperger commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the nats-auth-nkey EDC module to the controlplane, identity-hub and issuerservice runtimes to enable NKey authentication for the NATS connection (seed file delivered by the deployment)
  • Exclude bcprov-lts8on (transitively pulled in by jnats) in all subprojects: its glibc-linked JNI natives crash with UnsatisfiedLinkError on the musl-based alpine images, and it duplicates org.bouncycastle.* classes already provided by bcprov-jdk18on in the shadow jar
  • Rework the root build: replace the afterEvaluate-based docker/shadow wiring with declarative plugin application — subprojects apply the plugins in their own plugins {} blocks and the root configures the dockerize task via plugins.withId
  • Apply the docker plugin to issuerservice so it builds a docker image as well

- add the nats-auth-nkey EDC module to controlplane, identity-hub and
  issuerservice runtimes to enable NKey authentication for the NATS
  connection
- exclude bcprov-lts8on (pulled in by jnats) everywhere: its glibc-linked
  JNI natives crash on the musl-based alpine images and it duplicates
  classes already provided by bcprov-jdk18on
- replace the afterEvaluate-based docker/shadow wiring in the root build
  with declarative plugin application: subprojects apply the plugins in
  their own plugins {} blocks, the root reacts via plugins.withId
- add the docker plugin to issuerservice so it builds an image too

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@paullatzelsperger paullatzelsperger added the enhancement New feature or request label Jul 15, 2026
@paullatzelsperger
paullatzelsperger merged commit d39b96b into main Jul 15, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant