Upgrade Liquor Cabinet and enable hashed access tokens
CI / Test (pull_request) Successful in 45s
Release Drafter / Update release notes draft (pull_request) Successful in 3s

Liquor Cabinet 2.0.0-rc.2 can look up remoteStorage authorizations by the SHA256 digest of the presented bearer token, which matches how Akkounts now stores them. Set RS_HASHED_ACCESS_TOKENS=true in the dev Compose setup so the two sides agree; Liquor Cabinet still falls back to the plaintext key for authorizations created before hashing.
This commit is contained in:
raucao committed 2026-11-04 15:35:45 +04:00
1 parent 7c9a6a0ee0
commit 7b1f33abd0
1 file changed
+2 -1
+2 -1
View File
@@ -97,7 +97,7 @@ services:
GARAGE_DEFAULT_BUCKET: remotestorage
liquor-cabinet:
image: gitea.kosmos.org/5apps/liquor-cabinet:2.0.0-rc.1
image: gitea.kosmos.org/5apps/liquor-cabinet:2.0.0-rc.2
networks:
- external_network
- internal_network
@@ -108,6 +108,7 @@ services:
command: ["bundle", "exec", "rainbows", "-c", "/etc/liquor-cabinet/rainbows.conf.rb", "--listen", "0.0.0.0:4567"]
environment:
RACK_ENV: staging
RS_HASHED_ACCESS_TOKENS: "true"
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_DB: 1