Repository navigation
feat: [stable-9.0][OCSRE-1629] add NATS JWT authentication with a .creds file - #13381
Merged
Merged
Conversation
…eds file Backport of #13220 to stable-9.0. Changes for the backport: - go.mod: use the reva backport owncloud/reva#798. Keep the NATS versions of stable-9.0. Use the plugins replace lines of the original change. - services/gateway: stable-9.0 has no create home cache. Drop its credentials and its changelog text. - services/storage-users/pkg/config/config.go: rename the Events fields to Endpoint, Cluster and TLSRootCACertificate, like the original change. - .github/workflows/acceptance-tests.yml: add the jobs nats-jwt-tests and nats-jwt-startup-check to the workflow of stable-9.0. Use the action versions of stable-9.0. - Keep the mask tags of the original change in the config structs. - tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md: no change. stable-9.0 has no entry for the scenario that the original change removed. (cherry picked from commit 99b5ec2) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Use the commit of owncloud/reva#798 that has the kobergj/plugins replace lines. The vendored code does not change. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
owncloud/reva#798 is merged. Use the merged stable-9.0 commit instead of the commit of the pull request branch. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mmattel
previously approved these changes
Nov 9, 2026
Fix the zizmor findings for the checkout steps. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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
enabled auto-merge (squash)
November 10, 2026 06:50
mzner
approved these changes
Nov 10, 2026
2403905
added a commit
that referenced
this pull request
Nov 10, 2026
…file (#13382) * feat: [master][OCSRE-1629] add NATS JWT authentication with a .creds 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]> * build: [OCSRE-1629] pin the merged reva commit 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]> * ci: [OCSRE-1629] fix the zizmor findings in the NATS JWT jobs - 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]> * ci: [OCSRE-1629] do not expect the cache-createhome bucket 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]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
mmattel
approved these changes
Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #13220 to stable-9.0.
The reva part is owncloud/reva#798.
Dependencies
go.moduses the commit of the reva branch of owncloud/reva#798. Do not merge before owncloud/reva#798 is merged. After the merge, changego.modandvendor/to the merged reva commit.Changes for the backport
go.mod: the NATS versions of stable-9.0 stay. Thereplacelines for thenats-js-kvandevents/natsjsplugins are the same as in the original change.services/gateway: stable-9.0 has no create home cache. The credentials and the changelog text for this cache are dropped.services/storage-users/pkg/config/config.go: theEventsfields have the namesEndpoint,ClusterandTLSRootCACertificate, like in the original change..github/workflows/acceptance-tests.yml: the jobsnats-jwt-testsandnats-jwt-startup-checkare added to the workflow of stable-9.0. They use the action versions of stable-9.0.tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md: no change. stable-9.0 has no entry for the removed scenario.How Has This Been Tested?
go build ./...andgo testpass for all changed packages, withGOWORK=off.nats-jwt-testsandnats-jwt-startup-checkhave not run yet.🤖 Generated with Claude Code