diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:52:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:52:52 +0000 |
commit | 424f663819ec59abc4edab03a667845835e57ac1 (patch) | |
tree | 63b79645aaee07c3de90e4b70dd8d6371faa1747 /debian/patches/1673481589.FILE5_44-14-gbb955ca3.jar-manifest-signature-file-pkcs-7-signed-data-fc-stegerman.patch | |
parent | Adding upstream version 1:5.44. (diff) | |
download | file-424f663819ec59abc4edab03a667845835e57ac1.tar.xz file-424f663819ec59abc4edab03a667845835e57ac1.zip |
Adding debian version 1:5.44-3.debian/1%5.44-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/1673481589.FILE5_44-14-gbb955ca3.jar-manifest-signature-file-pkcs-7-signed-data-fc-stegerman.patch')
-rw-r--r-- | debian/patches/1673481589.FILE5_44-14-gbb955ca3.jar-manifest-signature-file-pkcs-7-signed-data-fc-stegerman.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/1673481589.FILE5_44-14-gbb955ca3.jar-manifest-signature-file-pkcs-7-signed-data-fc-stegerman.patch b/debian/patches/1673481589.FILE5_44-14-gbb955ca3.jar-manifest-signature-file-pkcs-7-signed-data-fc-stegerman.patch new file mode 100644 index 0000000..44537f9 --- /dev/null +++ b/debian/patches/1673481589.FILE5_44-14-gbb955ca3.jar-manifest-signature-file-pkcs-7-signed-data-fc-stegerman.patch @@ -0,0 +1,31 @@ +Subject: JAR Manifest & Signature File, PKCS#7 Signed Data (FC Stegerman) +Origin: FILE5_44-14-gbb955ca3 <https://github.com/file/file/commit/FILE5_44-14-gbb955ca3> +Upstream-Author: Christos Zoulas <christos@zoulas.com> +Date: Wed Jan 11 23:59:49 2023 +0000 + +--- a/magic/Magdir/der ++++ b/magic/Magdir/der +@@ -137,3 +137,10 @@ + >>>>&0 der seq + >>>>>&0 der obj_id3=550403 + >>>>>&0 der utf8_str=x \b, Subject=%s ++ ++# PKCS#7 Signed Data (e.g. JAR Signature Block File) ++# OID 1.2.840.113549.1.7.2 (2a864886f70d010702) ++# Reference: https://www.rfc-editor.org/rfc/rfc2315 ++0 der seq ++>&0 der obj_id9=2a864886f70d010702 DER Encoded PKCS#7 Signed Data ++!:ext RSA/DSA/EC +--- a/magic/Magdir/java ++++ b/magic/Magdir/java +@@ -43,3 +43,10 @@ + >6 leshort >0x00 \b, version %d + >4 leshort x \b.%d + !:mime application/x-java-image ++ ++# JAR Manifest & Signature File ++# Reference: https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html ++0 string/t Manifest-Version:\x201.0 JAR Manifest ++!:ext MF ++0 string/t Signature-Version:\x201.0 JAR Signature File ++!:ext SF |