Commit Graph
22435 Commits
Author SHA1 Message Date
Roman Perekhod f04062e6bd chore: [OCSRE-1629] bump reva 2026-10-26 16:37:46 +01:00
Roman PerekhodandClaude Opus 5.5 2f795bbedd fix(gateway): [OCSRE-1629] pass the TLS settings to the create home cache
The create home cache of the gateway (create_personal_space_cache_config)
got the NATS credentials, but it had no TLS settings. With TLS on the
NATS server, this cache could not connect.

Add CreateHomeCacheEnableTLS, CreateHomeCacheTLSInsecure and
CreateHomeCacheTLSRootCACertificate with the same variables as the
provider cache, and pass them to reva.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:09:49 +02:00
Roman PerekhodandClaude Opus 5.5 df6a0625cf fix: [OCSRE-1629] check the registry NATS credentials only at startup
storeOptions checked the NATS credentials and called os.Exit(1) on an
error. ReconnectedCB calls Init, and Init runs storeOptions again. If
a reconnect happened while a rotated .creds file was only partly
written, the service stopped. In the same path, nats.UserCredentials
reads the file once when the option is applied. When this read
failed, the error was ignored and the connection had no credentials.

Now only the first call checks the credentials, at startup. Later
calls do not check the file. For a file, they set the JWT callbacks
without a read. The callbacks read the file on each connect, so a
partly written file fails only that connect attempt, and NATS
retries it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:53:08 +02:00
Roman PerekhodandClaude Opus 5.5 693a460d5e fix: [OCSRE-1629] let the more specific scope win for NATS credentials
Each config has two fields for the NATS credentials: CredsFile
(OCIS_NATS_CREDS_FILE;<SERVICE>_..._CREDS_FILE) and Creds
(OCIS_NATS_CREDS;<SERVICE>_..._CREDS). envdecode sets each field on
its own, and the content always won. Example: OCIS_NATS_CREDS set
globally and GRAPH_CACHE_CREDS_FILE set for the service. The graph
cache then used the global content and ignored the service file.

The registry already used a different rule: the registry variables
take precedence over the global variables.

Use the registry rule everywhere. After envdecode decodes a struct,
it resolves each CredsFile/Creds pair: when the file comes from a
more specific environment variable than the content, the content is
cleared. In the same scope the content still wins. A value from the
config file has the lowest scope, because environment variables
override the config file.

Update the descriptions of the Creds fields, the nats README, and the
changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:42:58 +02:00
Roman PerekhodandClaude Opus 5.5 2ec134f6e6 docs: [OCSRE-1629] set the pull request number in the changelog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:17:20 +02:00
Roman Perekhod 50c6e0b1c0 chore: [OCSRE-1629] temporary bump reva and replace github.com/kobergj/plugins 2026-10-23 17:08:23 +02:00
Roman PerekhodandClaude Opus 5.5 c564134624 fix(proxy): [OCSRE-1629] mask all secret values in the debug output
go-masker copies a field without a mask tag unchanged, also a nested
struct. A mask:"password" tag thus has an effect only when every
parent field on the path has mask:"struct". Several parent fields did
not have this tag, and some secret fields had no mask tag.

- Add mask:"struct" to the proxy fields OIDC, OIDC.UserinfoCache,
  PreSignedURL, PreSignedURL.SigningKeys, ServiceAccount and Events,
  and to the shared Commons.Cache field.
- Add mask:"password" to the AuthPassword fields of the proxy and of
  the shared cache, and to ServiceAccountSecret.
- Add a test that sets a marker in every secret field of the proxy
  config and checks that the debug output does not show it. The test
  also fails when a secret-like field has no mask:"password" tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:23:56 +02:00
Roman PerekhodandClaude Opus 5.5 40f18c2461 docs: [OCSRE-1629] describe NATS JWT authentication with an external cluster
The nats service README did not tell that the embedded nats service
cannot run in operator (JWT) mode. Add a section that describes the
.creds variables, the registry variables, and the steps to use an
external NATS cluster in JWT mode. Add the same note to the changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:17:05 +02:00
Roman PerekhodandClaude Opus 5.5 b253303a08 fix: [OCSRE-1629] pass the NATS credentials in the search and storage-users streams
The search service and the storage-users event stream build
stream.NatsConfig field by field. They did not set CredsFile and
Creds, so these two connections did not use the JWT credentials.
The NATS server rejected them with "Authorization Violation".

A test of "ocis server" against a NATS server in operator mode
found this. The compiler cannot find a missing field in a struct
literal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:48:38 +02:00
Roman PerekhodandClaude Opus 5.5 66342f5bf7 fix(proxy): [OCSRE-1629] use the events endpoint for the nats health check
The proxy health check used Events.Cluster, the cluster ID of the
event system, as the NATS address. The check thus never reached the
NATS server.

The check now uses Events.Endpoint. The proxy uses NATS only to
publish events, and an empty endpoint disables the events. So the
check returns no error when the endpoint is empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:34:32 +02:00
Roman PerekhodandClaude Opus 5.5 a6c51801b8 feat: [OCSRE-1629] add NATS JWT authentication with a .creds file
A NATS server in operator (JWT) mode authenticates a client with a
user JWT and an NKey seed. oCIS could connect to NATS only with a
username and a password.

All NATS connections now accept JWT credentials: events, caches,
persistent stores, the service registry, and the health checks.

- OCIS_NATS_CREDS_FILE: the path of a .creds file
  (nats.UserCredentials). The file is read again on each reconnect.
- OCIS_NATS_CREDS: the content of a .creds file
  (nats.UserCredentialBytes). It takes precedence over the file.
- Each events, cache and store struct has the fields CredsFile and
  Creds with a per-service override, for example
  PROXY_EVENTS_CREDS_FILE.
- The registry reads MICRO_REGISTRY_AUTH_CREDS_FILE and
  MICRO_REGISTRY_AUTH_CREDS. If they are empty, it uses the
  OCIS_NATS_* variables.
- store.Credentials is passed next to each store.Authentication call.
  The revaconfig maps pass the new reva keys.
- The new checks.NewNatsCheckWithConfig uses the authentication and
  TLS settings of the service. The NATS health checks connected
  without credentials and without TLS before.

This change needs the reva commit with pkg/natsauth and the natsjs
plugin with the NatsOptions option. go.mod and vendor/ follow when
these changes are pushed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:15:55 +02:00
Roman PerekhodandClaude Opus 5.5 f954f83dcd build: [OCSRE-1629] bump nats.go to v1.54.0 and go to 1.26.10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 13:59:02 +02:00
Roman Perekhod 17c1844b09 fix: [OCISDEV-1528] skip a not-ready node before reusing a cached grpc client (#13147) 2026-10-19 16:38:43 +02:00
Michal Klos 9132f73057 fix: [stable-8.0][OCISDEV-855] pin reva to stable-8.0 (#13152)
* Revert "fix: [stable-8.0][OCISDEV-855] bump reva (#13108)"

This reverts commit d066a6e11d.

* fix: [stable-8.0][OCISDEV-855] bump reva
2026-10-14 16:49:35 +00:00
Michal Klos d066a6e11d fix: [stable-8.0][OCISDEV-855] bump reva (#13108) 2026-10-09 14:17:49 +02:00
kobergjandClaude Opus 5 f4fbc125da ci: disable docker-build in the release workflow (#13057)
The release workflow built the oCIS image locally only to run a Trivy
gate against it. The Alpine edge pin for vips makes that build break
whenever the rolling repository drops the pinned revision, failing the
whole release for a reason unrelated to the release content.

Image building, scanning and publishing already happen in the
owncloud-docker/ocis repository, which keeps a per-minor .trivyignore.
Disable the job and unwire it from the downstream jobs, matching
stable-8.1, stable-8.2 and master.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
v8.0.9
2026-10-02 19:22:00 +02:00
kobergj 3db9757cd5 build(deps): bump axios to 1.20.0 (#13056)
The release filesystem scan (Trivy, fs scan of services/idp/pnpm-lock.yaml)
flagged 7 HIGH vulnerabilities in axios 1.19.0, all fixed in 1.20.0. Only the
8.0 line is affected, as services/idp no longer exists on 8.1, 8.2 and master.

Also adds the 8.0.9 section to CHANGELOG.md, which the 8.0.9 release commit
did not regenerate.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-10-02 16:03:56 +00:00
kobergj 4e5f9ddf7b chore: release 8.0.9 (#13050)
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-10-02 17:09:26 +02:00
Michal Klos 8f6333c83c feat: [backport][OCISDEV-1411] don't logout users on a transient IdP userinfo failure (#13047) 2026-10-02 13:04:38 +00:00
Roman PerekhodandClaude Opus 5 450c4141f0 fix: [ocisdev-1433] fix public share, add The grpc clients keepalive and more (#13020)
* fix: the public share configuration and fixed graceful shutdown

* fix: [OCISDEV-1433] remove GRPC_MAX_CONNECTION_AGE

The setting closed healthy grpc connections on a timer so that clients would redo
their DNS lookup. It never helped against the failure it was reached for - a
connection whose peer stopped answering - because the age limit is enforced by
the server, the grace period was left at infinity so a request already in flight
was never ended, and any value without a unit suffix silently disabled it again.

Detecting a peer that stops answering is now the job of the grpc clients, which
ping the peer while a request is in flight. The servers here got the matching
enforcement policy so they accept those pings; the client side arrives with the
next reva bump.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix: Added the new variable OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION that disable the resolution of public link shares when answering PROPFIND requests.

* chore: bump reva

* fix: The keepalive added to grpc clinet

* chore: bump reva

* build(deps): bump go 1.26.8, grpc-go dependency

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-02 10:02:54 +02:00
Roman PerekhodandClaude Opus 4.8 dbfd742112 fix: [backport] correct introductionVersion for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL (#12949)
Change the documented introductionVersion of the
OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL environment variable from 8.0.0 to 8.3.0.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-14 18:59:02 +02:00
Roman Perekhod 8cc1953d55 fix: [stable-8.0] Remove the unmarshalable request body field from graph log messages (#12918)
fix: Remove the unmarshalable request body field from graph log messages
2026-09-14 07:07:30 +00:00
Michal Klosandkobergj ad3b71e0d7 fix(storage-users): [stable-8.0] add --orphaned upload session filter (#12919)
Backport of #12739. Bump reva (stable-8.0 backport, reva#730, merged as
40663c5) to pick up the fix for upload sessions whose node metadata can no
longer be read, and wire up the new Orphaned session filter:

    ocis storage-users uploads sessions --orphaned
    ocis storage-users uploads sessions --orphaned --clean

backports: https://github.com/owncloud/ocis/pull/12739

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: kobergj <jkoberg@owncloud.com>
2026-09-11 10:08:30 +02:00
Roman Perekhod aca3df1078 fix: [OCISDEV-1115] harden nats communication (#12927) 2026-09-11 10:05:34 +02:00
Michal Klos 686aa52fe7 fix(graph): [stable-8.0] set introductionVersion 8.2.0 for GRAPH_RECEIVED_SHARES_STAT_TIMEOUT (#12867)
fix(graph): [stable-8.0] set correct introductionVersion 8.2.0 for GRAPH_RECEIVED_SHARES_STAT_TIMEOUT

PR #12862 merged this env var with introductionVersion:"NEXT", a placeholder
the docs process rejects. The variable was introduced in 8.2.0 (matching
master and stable-8.2), so pin it to 8.2.0.
2026-09-02 11:09:09 +02:00
Michal KlosandDavid Walter db40ce2a02 fix(graph): [stable-8.0] keep shares visible in sharedWithMe when a resource cannot be statted (#12862)
fix(graph): keep shares visible in sharedWithMe when a resource cannot be statted (#12430)

Co-authored-by: David Walter <115982880+dj4oC@users.noreply.github.com>
2026-09-01 11:01:20 +02:00
Roman Perekhod f6236debaf build(deps): bump go to 1.25.13 (#12832) v8.0.8 2026-08-21 06:55:20 +02:00
Roman Perekhod 13bb950ee3 build(deps): bump vips to 8.18.5-r0 (#12831) 2026-08-20 17:04:54 +00:00
Roman Perekhod 29b620a4fb build(deps): bump the minor-and-patch group with 9 updates (#12822)
Bumps the minor-and-patch group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | `2.14.4` | `2.14.5` |
| [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) | `1.52.0` | `1.53.1` |
| [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.32.0` | `2.32.1` |
| [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | `1.9.4` | `1.10.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.54.0` | `0.55.0` |
| [golang.org/x/image](https://github.com/golang/image) | `0.44.0` | `0.45.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.57.0` | `0.58.0` |
| [golang.org/x/text](https://github.com/golang/text) | `0.40.0` | `0.41.0` |
| google.golang.org/protobuf | `1.36.11` | `1.36.12` |
2026-08-20 16:16:23 +00:00
Roman Perekhod 17ae8fbac0 [full-ci] Release 8.0.8 (#12830)
Release 8.0.8
2026-08-20 17:09:42 +02:00
Roman Perekhod 8ac40ec030 fix: [OCISDEV-1360] Cache LDAP instance mapper lookups (#12823) 2026-08-20 11:05:31 +02:00
Martin cde8eda368 fix: fix the introduction version of envvar in stable (#12812) 2026-08-18 08:39:28 +00:00
LarsJurgensen ffabec20f8 chore: bump golang.org/x/image to v0.45.0 (#12808) 2026-08-18 10:12:41 +02:00
Martin 3829f5cfc6 docs: [8.0] fix the introduction version of two envvars (#12802) 2026-08-14 12:15:40 +00:00
Michal Klos 8cbe43b3bb feat: [stable-8.0][OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12787)
feat: [OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12621)
2026-08-14 13:10:21 +02:00
Michal Klos fcbfecf376 feat: [stable-8.0][OCISDEV-1115] harden nats communication (#12790)
feat: [OCISDEV-1115] harden nats communication (#12777)

* feat: [OCISDEV-1115] harden nats communication

* feat: bump reva for tls-enabled stores
2026-08-14 12:13:42 +02:00
Michal Klos e3916a06ea chore: [stable-8.0] bump go packages (#12773)
chore: bump go and web packages (#12765)

* chore: bump go packages

* chore: bump web packages
2026-08-12 13:29:22 +02:00
Michal Klos 6172ce5495 test: [stable-8.0] e2e ldap (#12702)
* test: e2e ldap

* test: e2e ldap distributed
2026-08-06 10:04:45 +02:00
Michal Klos 4282e66a6d fix: [OCISDEV-1031][OCISDEV-1032][stable-8.0] LDAP introductionVersion values (#12732)
fix: introductionVersion values
2026-08-06 10:02:54 +02:00
Roman Perekhod d725a6f499 chore: bump libvips to 8.18.4-r1 (#12700) v8.0.7 2026-07-31 14:46:52 +02:00
Roman Perekhod fb07886cd0 chore: bump axios to 1.19.0 (#12693) 2026-07-31 11:22:20 +00:00
Roman Perekhod 3b5acbf9f7 [full-ci] Release 8.0.7 (#12687)
Release 8.0.7
2026-07-31 12:13:18 +02:00
Michal KlosandRoman Perekhod cdb3ba2f67 feat: [OCISDEV-1032] ldap config and retry policy (#12672)
* feat: ldap config and retry policy

Co-authored-by: Roman Perekhod <2403905@gmail.com>
2026-07-30 18:49:55 +02:00
Roman Perekhod 359b145c9d [docs-only] chore: update the changelog (#12679)
chore: update the changelog
2026-07-30 11:48:21 +02:00
Lukas Hirt 9d9a03747c feat(ldap): [OCISDEV-1031] add opt-in LDAP connection pool (#12660)
* feat(ldap): [OCISDEV-1031] add opt-in LDAP connection pool

Bump the vendored reva dependency to pick up the opt-in bounded LDAP
connection pool (owncloud/reva#658, #665), and wire it into oCIS: add
pool_enabled/pool_size/pool_checkout_timeout config to auth-basic,
users, groups and graph, forward it into the reva config map for the
first three, and unify graph's identity backend onto reva's LDAP
client (utils.GetLDAPClientFromConfig) instead of its own hand-rolled
reconnecting client, now that reva implements PasswordModify and
ModifyWithResult on both LDAP clients. Pooling is off by default and
fully backwards compatible.

Signed-off-by: Lukas Hirt <info@hirt.cz>

* test(ldap): [OCISDEV-1031] run graph LDAP suites with pooling enabled in CI

Add a dedicated ldap-pool-tests job to acceptance-tests.yml that reruns
apiGraphUser/apiGraph/apiGraphGroup with OCIS_LDAP_POOL_ENABLED=true, so
concurrent behat requests exercise checkout/release, eviction and the
pooled PasswordModify/ModifyWithResult path end-to-end, in addition to
the existing pooling-disabled runs of the same suites.

Signed-off-by: Lukas Hirt <info@hirt.cz>

---------

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-07-30 09:34:52 +02:00
kobergjandClaude Opus 5 6950f47885 fix(webdav): log unmapped thumbnail errors at error level (#12663)
Failures of the thumbnails service were logged at debug level only, so
errors which are not a property of the requested file — such as the
thumbnails service being unreachable — were invisible at production log
levels. A complete preview outage produced HTTP 500 responses without a
single log line explaining them.

Unmapped errors are now logged at error level, while expected per-file
outcomes such as an unsupported file type or a file still being processed
stay at debug level. Two of the four thumbnail handlers also logged
without the request context, so their messages carried no request id.

Also add the missing codesEnum entries for 403, 425 and 429 and fall back
to a generic exception name for any remaining unmapped status code, so
error responses no longer render an empty <s:exception></s:exception>.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 10:51:10 +02:00
Lukas Hirt f28552c629 chore(deps): bump go-chi/chi/v5 and otel to fix govulncheck failures (#12662)
CI's govulncheck step fails on stable-8.0 HEAD due to newly disclosed,
fixable CVEs against the currently pinned versions: GO-2026-5774/5775/5777
(IP spoofing via X-Forwarded-For in chi's RealIP middleware) and
GO-2026-5158 (unbounded baggage header parsing in otel). Bump
github.com/go-chi/chi/v5 to v5.3.0 and go.opentelemetry.io/otel (plus
metric/trace) to v1.44.0 to pick up the fixes.

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-07-28 09:03:04 +02:00
Roman PerekhodandClaude Opus 4.8 67deb75f7d feat(graph): [OCISDEV-1033] eliminate LDAP read-after-write on create/update (#12618)
* feat(graph): eliminate LDAP read-after-write on create/update

Every graph LDAP create/update wrote the entry, then immediately re-read it
back by DN solely to recover the entry ID for the response model. Against a
replicated directory reached through a proxy, that read-back can hit a lagging
replica and fail or return stale data.

When oCIS generates the UUID itself (GRAPH_LDAP_SERVER_UUID disabled, the
default), the read-back returns nothing new: create responses are now
synthesized from the data already sent, and update responses are built by
folding the applied modifications onto the entry read before the write. When
the directory assigns the ID (GRAPH_LDAP_SERVER_UUID enabled), creates keep the
existing read-back since the generated ID cannot otherwise be recovered.

New ldap_writeback.go with two pure helpers:
- attrsFromAddRequest: flatten an AddRequest for ldap.NewEntry (create paths)
- applyModifyToEntry: fold a ModifyRequest (Replace/Add/Delete,
  case-insensitive, non-mutating, ByteValues populated for octet-string id
  parity) onto a copy of the pre-read entry (update paths)

All 9 write sites updated:
- creates (user, group, education user/class/school): synthesize when the ID is
  client-generated, keep the read-back when the server assigns it
- updates (user, education user): fold the ModifyRequest onto the pre-read
  entry; the AccountEnabled trailing override and the rename read-back inside
  changeUserName are preserved (rename is out of scope)
- education school update: updateSchoolProperties now returns its ModifyRequest
  so the caller can fold it; the displayName ModifyDN rename is folded as a
  displayName attribute replace
- education class update: pre-read widened from name/id only to the full
  education-class attribute set so classification/externalID are not dropped
  from the response; the externalID ModifyDN rename is folded as an attribute
  replace

Model builders are untouched, preserving the response shape. Existing update
tests were reconciled: read-back Search mocks that are no longer issued were
removed and the pre-read fixtures now carry the full baseline entry, with all
assertions unchanged.

OCISDEV-1033

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix: hardcoded groupAttributeMap.id and wrong getLDAPGroup filter

* fix(graph): reject octet-string IDs without server-assigned UUIDs

Octet-string ID attributes (e.g. Active Directory's objectGUID) are assigned by
the directory server and require GRAPH_LDAP_SERVER_UUID=true. With
GRAPH_LDAP_SERVER_UUID=false oCIS generates the ID and writes it as a string
UUID, so an octet-string ID attribute would be decoded from raw string bytes
and produce a corrupt ID on both the read-back and the synthesize path.
NewLDAPBackend now rejects this incompatible combination at startup instead of
silently returning bad IDs.

Also adds regression tests for the id-attribute and group-name lookup fixes:
- CreateGroup / CreateEducationClass synthesize the response id under the
  configured GroupIDAttribute (not a hardcoded attribute name)
- getLDAPGroupByNameOrID filters by the group name attribute, not the user one

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix: update the staled DN

* test(graph): assert no read-back by search scope, not hard-coded DN

The synthesize-on-create test matched the read-back on a hard-coded
createdDN whose correctness relied on the school base DN being empty.
Match on ScopeBaseObject instead: DN-independent and precise about the
read-back being eliminated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix: fixed calling it with a nil argumets. prevent the slice mutations

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 13:59:45 +02:00
8951c623ae fix(graph): [OCISDEV-751] return correct issuerAssignedId on /me (#12635)
fix(graph): [OCISDEV-751] return correct issuerAssignedId on /me (#12411)

The /graph/v1.0/me endpoint reported the internal user UUID as
identities[].issuerAssignedId instead of the OIDC sub. The fast path
built the user model from the CS3 context user, which does not carry the
external identity. /me now always resolves the user through the identity
backend; group memberships are still only expanded on $expand=memberOf.



(cherry picked from commit 61a97e162b)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: kobergj <jkoberg@owncloud.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 09:23:29 +02:00
kobergj 5344650298 fix: upgrade Go to 1.25.12 (#12602)
fix: upgrade Go to 1.25.12 (CVE-2026-39822)

The release image Trivy scan blocks on CVE-2026-39822 in the Go stdlib
(os.Root symlink following / directory traversal, HIGH), present in the
Go 1.25.11 binary and fixed in 1.25.12.

Bump the go directive in go.mod to 1.25.12 (this drives the golang-alpine
build image the docker-build job derives from go.mod) and update the
pinned GOLANG_BUILD_IMAGE in release.yml to the matching 1.25.12 digest.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
v8.0.6
2026-07-17 10:53:55 +02:00