serve s3: fix each server accepting the --auth-key credentials of all the others
gofakes3 kept the keys given with --auth-key in a store global to the process, so when more than one serve s3 was running in one rclone (eg started via the rc) each accepted the others' credentials and a client with the key for one server could read and write the backend of another. This updates gofakes3 to v0.0.9 which keeps auth keys per instance and adds a test that two servers only accept their own keys.
This commit is contained in:
@@ -74,7 +74,7 @@ require (
|
||||
github.com/quasilyte/go-ruleguard/dsl v0.3.23
|
||||
github.com/rclone/Proton-API-Bridge v1.0.5
|
||||
github.com/rclone/go-proton-api v1.0.4
|
||||
github.com/rclone/gofakes3 v0.0.8
|
||||
github.com/rclone/gofakes3 v0.0.9
|
||||
github.com/rfjakob/eme v1.2.0
|
||||
github.com/rivo/uniseg v0.4.7
|
||||
github.com/rogpeppe/go-internal v1.15.0
|
||||
|
||||
Reference in New Issue
Block a user