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

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 15:44:33 +01:00
committed by GitHub
parent 571af9ecce
commit b12cff1016
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(