fix: properly check expiry and verify signature of signed urls (#8383)

fix: signed url expiry validation only checks for expiry and not for used before
This commit is contained in:
Thomas Müller
2024-02-07 17:13:28 +01:00
committed by GitHub
parent 60a1ec700c
commit 2b667003b5
4 changed files with 221 additions and 74 deletions
+1
View File
@@ -374,6 +374,7 @@ func loadMiddlewares(ctx context.Context, logger log.Logger, cfg *config.Config,
UserProvider: userProvider,
UserRoleAssigner: roleAssigner,
Store: storeClient,
Now: time.Now,
})
return alice.New(