From 82de494f495481b5ae016038c7020898a135c8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 26 Oct 2022 15:23:24 +0200 Subject: Generate digest preferable with sha2, then sha512 and fallback to insecure sha1 --- capabilities.go | 1 + 1 file changed, 1 insertion(+) (limited to 'capabilities.go') diff --git a/capabilities.go b/capabilities.go index 62290d9..26a3532 100644 --- a/capabilities.go +++ b/capabilities.go @@ -74,6 +74,7 @@ type Capabilities struct { AccountACLs bool `json:"account_acls"` } `json:"tempauth"` TempURL *struct { + AllowedDigests []string `json:"allowed_digests"` IncomingAllowHeaders []string `json:"incoming_allow_headers"` IncomingRemoveHeaders []string `json:"incoming_remove_headers"` Methods []string `json:"methods"` -- cgit v1.2.3