Commit 81f0601
committed
also match sha256
This regex detect both the hex and alphanumeric format
This is useful because:
- Sha1 is insecure and going to be replaced by sha256 in git.
- As package maintainer we often use sha256 to verify packages.
- docker and other container engines uses sha256 for container images1 parent bcb40ac commit 81f0601
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments