diff --git a/internal/formats/spdx22json/to_format_model.go b/internal/formats/spdx22json/to_format_model.go index 2e1a0c65cff..c69518f1703 100644 --- a/internal/formats/spdx22json/to_format_model.go +++ b/internal/formats/spdx22json/to_format_model.go @@ -67,7 +67,7 @@ func toPackages(catalog *pkg.Catalog, relationships []artifact.Relationship) []m filesAnalyzed = true for _, digest := range javaMetadata.ArchiveDigests { checksums = append(checksums, model.Checksum{ - Algorithm: digest.Algorithm, + Algorithm: strings.ToUpper(digest.Algorithm), ChecksumValue: digest.Value, }) }