From bfa38aa894c1c7b6800475532bc2a19512e052f8 Mon Sep 17 00:00:00 2001 From: Aleksandr Menenkov <119082209+Retengart@users.noreply.github.com> Date: Thu, 7 Aug 2025 17:10:46 +0300 Subject: [PATCH] upd: version regex in deniability --- src/Picocrypt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Picocrypt.go b/src/Picocrypt.go index b3c2f1c..ee0aa74 100644 --- a/src/Picocrypt.go +++ b/src/Picocrypt.go @@ -1528,7 +1528,7 @@ func work() { panic(err) } tmp, err = rsDecode(rs5, tmp) - if valid, _ := regexp.Match(`^v1\.\d{2}`, tmp); err != nil || !valid { + if valid, _ := regexp.Match(`^v\d\.\d{2}`, tmp); err != nil || !valid { os.Remove(inputFile) inputFile = strings.TrimSuffix(inputFile, ".tmp") broken(nil, nil, "Password is incorrect or the file is not a volume", true)