From 1cb4f83cb22417db6261dfc91820b2b086d17ee0 Mon Sep 17 00:00:00 2001 From: Daniel Braun Date: Sat, 30 Sep 2023 13:52:01 +0000 Subject: [PATCH] feat: sha512 filtering --- nanolayer/installers/gh_release/resolvers/asset_resolver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanolayer/installers/gh_release/resolvers/asset_resolver.py b/nanolayer/installers/gh_release/resolvers/asset_resolver.py index 82a6958f..cde33e86 100644 --- a/nanolayer/installers/gh_release/resolvers/asset_resolver.py +++ b/nanolayer/installers/gh_release/resolvers/asset_resolver.py @@ -66,7 +66,7 @@ class PlatformType(Enum): MISC_REGEX_MAP = { "packages": r"(\.deb|\.rpm|\.pkg|\.apk|\.[Aa]ppImage|\.snap)", - "checksums": r"(\.sig$|\.text$|\.txt$|[Cc]hecksums|sha256|\.sha1$|\.md5$)", + "checksums": r"(\.sig$|\.text$|\.txt$|[Cc]hecksums|sha256|sha512|\.sha1$|\.md5$)", "certificates": r"(\.pub$|\.pem$|\.crt$|\.asc$|pivkey|pkcs11key)", "metadata": r"(\.json$|\.sbom$|\.blockmap$)", }