Skip to content

Commit

Permalink
use secure config defaults for OCM
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Oct 15, 2024
1 parent 49ea786 commit 59589cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/unreleased/secure-ocm-by-default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Bugfix: use secure config defaults for OCM

https://github.com/owncloud/ocis/pull/10307

3 changes: 2 additions & 1 deletion services/ocm/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ func DefaultConfig() *config.Config {
OCMProviderAuthorizerDriver: "json",
OCMProviderAuthorizerDrivers: config.OCMProviderAuthorizerDrivers{
JSON: config.OCMProviderAuthorizerJSONDriver{
Providers: filepath.Join(defaults.BaseConfigPath(), "ocmproviders.json"),
Providers: filepath.Join(defaults.BaseConfigPath(), "ocmproviders.json"),
VerifyRequestHostname: true,
},
},
OCMShareProvider: config.OCMShareProvider{
Expand Down

0 comments on commit 59589cd

Please sign in to comment.