mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
use sha256 checksum instead of md5 (#30018)
* use sha256 checksum instead of md5 * Chore: Rewrite ldap login test to standard library (#29998) * Chore: Rewrite ldap login test to standard library * Preserve original ldap enabled setting after test * Chore: Rewrite models alert test to standard library (#30021) * Chore: Rewrite models dashboard acl test to standard library (#30022) * Chore: Rewrite models dashboards test to standard library (#30023) * Chore: Rewrite login auth test to standard library (#29985) * Chore: Rewrite login auth test to standard library * Use assert.Empty when empty string expected * Chore: Rewrite brute force login protection test to standard library (#29986) * Update pkg/cmd/grafana-cli/services/api_client.go Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * Update pkg/cmd/grafana-cli/services/api_client.go Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * use sha256 checksum instead of md5 * Update pkg/cmd/grafana-cli/services/api_client.go Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * Update pkg/cmd/grafana-cli/services/api_client.go Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * grafana-cli: Remove MD5 Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Emil Hessman <emil@hessman.se> Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -33,12 +33,12 @@ type Version struct {
|
||||
Commit string `json:"commit"`
|
||||
URL string `json:"url"`
|
||||
Version string `json:"version"`
|
||||
// os-arch to md5 checksum to check when downloading the file
|
||||
// Arch contains architecture metadata.
|
||||
Arch map[string]ArchMeta `json:"arch"`
|
||||
}
|
||||
|
||||
type ArchMeta struct {
|
||||
Md5 string `json:"md5"`
|
||||
SHA256 string `json:"sha256"`
|
||||
}
|
||||
|
||||
type PluginRepo struct {
|
||||
|
||||
Reference in New Issue
Block a user