Skip to content

Commit 45c93b1

Browse files
committed
Correct the list of crypto extensions
They were the same as the archive/compressed extensions, and I never noticed!
1 parent fae0f38 commit 45c93b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/info/filetype.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ impl<'_> File<'_> {
5151

5252
pub fn is_crypto(&self) -> bool {
5353
self.extension_is_one_of( &[
54-
"zip", "tar", "Z", "gz", "bz2", "a", "ar", "7z",
55-
"iso", "dmg", "tc", "rar", "par",
54+
"asc", "enc", "gpg", "pgp", "sig", "signature", "pfx", "p12",
5655
])
5756
}
5857

0 commit comments

Comments
 (0)