Skip to content

feat: [master][OCSRE-1629] add NATS JWT authentication with a .creds file - #13382

Merged
2403905 merged 4 commits into
masterfrom
OCSRE-1629-nats-creds-master
Nov 10, 2026
Merged

2403905 merged 4 commits into
masterfrom
OCSRE-1629-nats-creds-master

Conversation

@2403905

@2403905 2403905 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Backport of #13220 to master.

The reva part is owncloud/reva#799.

Dependencies

go.mod uses the commit of the reva branch of owncloud/reva#799. Do not merge before owncloud/reva#799 is merged. After the merge, change go.mod and vendor/ to the merged reva commit.

Changes for the backport

How Has This Been Tested?

  • go build ./... and go test pass for all changed packages, with GOWORK=off.
  • The CI jobs nats-jwt-tests and nats-jwt-startup-check have not run yet.

🤖 Generated with Claude Code

…file

Backport of #13220 to master.

The base of this commit is the backport to stable-9.0
(#13381). Changes for master:

- go.mod: use the reva backport owncloud/reva#799. The reva main
  branch needs newer versions of some modules, for example nats.go
  v1.55.0 and go 1.26.10. Use the plugins replace lines of the
  original change.
- vendor/: regenerate with go mod vendor.

(cherry picked from commit 99b5ec2)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@2403905
2403905 requested a review from a team as a code owner November 9, 2026 10:39
@kw-security

kw-security commented Nov 9, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

owncloud/reva#799 is merged. Use the merged main commit instead of the
commit of the pull request branch. The vendored code does not change.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mmattel
mmattel previously approved these changes Nov 9, 2026
- Set persist-credentials: false for the checkout steps.
- Use the action versions of master for setup-php and setup-node.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@2403905
2403905 requested a review from a team November 9, 2026 13:35
The gateway does not use a NATS create-home cache anymore.
The proxy keeps this state in memory. Remove the bucket from
the list of buckets that verify.sh expects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@2403905
2403905 merged commit ae98e5f into master Nov 10, 2026
@2403905
2403905 deleted the OCSRE-1629-nats-creds-master branch November 10, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants