Affected by GO-2024-2430
and 4 other vulnerabilities
GO-2024-2430: Authenticated users can crash the CubeFS servers with maliciously crafted requests in github.com/cubefs/cubefs
GO-2024-2431: Insecure random string generator used for sensitive data in github.com/cubefs/cubefs
GO-2024-2432: CubeFS timing attack can leak user passwords in github.com/cubefs/cubefs
GO-2024-2433: CubeFS leaks magic secret key when starting Blobstore access service in github.com/cubefs/cubefs
GO-2024-2434: CubeFS leaks users key in logs in github.com/cubefs/cubefs
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 2, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 12
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Raw []byte
}
Config defines the struct of a configuration in general.
LoadConfigFile loads config information from a JSON file.
LoadConfigString loads config information from a JSON string.
GetArray returns an array for the config key.
GetBool returns a bool value for the config key.
GetFloat returns a float value for the config key.
GetBool returns a int value for the config key.
GetBool returns a int64 value for the config key.
GetString returns a string for the config key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.