mats 0f8ed97878 fix(auth): write the shared API-key store world-readable so other services see key changes
The key store holds only SHA-256 hashes + metadata (no plaintext keys) and is
read by other services in their own containers running as different non-root
uids. saveLocked wrote it 0600, so when the backoffice pod (running as root)
minted or revoked a key the file became root-owned 0600 — unreadable to the
ledger/cart services, freezing their mtime-reload snapshots: new keys 401'd
and revocations never took effect. Write 0644 so every reader reloads.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-17 21:53:37 +02:00
2026-07-26 21:53:08 +02:00
2026-07-26 21:53:08 +02:00
2026-07-18 23:28:51 +02:00
2026-07-26 13:01:07 +02:00
2026-07-26 13:01:07 +02:00
2026-07-20 00:15:42 +02:00
2026-07-18 23:28:51 +02:00
2026-07-18 23:28:51 +02:00
2026-07-25 18:13:22 +02:00
2026-06-28 17:52:49 +02:00
2026-07-03 19:30:32 +02:00
2026-06-29 13:17:43 +02:00
2026-07-26 13:01:07 +02:00
2026-06-28 17:52:49 +02:00
2026-06-29 12:35:32 +02:00
2026-06-28 17:52:49 +02:00
2026-06-28 17:52:49 +02:00
2026-07-03 18:14:28 +02:00
2026-06-27 21:48:09 +02:00
2026-06-28 17:52:49 +02:00
S
Description
No description provided
4.5 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 99%
Dockerfile 0.5%
Shell 0.4%
Makefile 0.1%