From 8f1f4e7ffb7686f2bd6fef6f18ec7b9f6dee1725 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 4 Oct 2026 12:13:50 -0400 Subject: [PATCH] Git: mark PDFs, keys, fonts and images binary so Windows checkouts keep their bytes CI's Windows runner checks out with core.autocrlf=true, which rewrote the signed openssl-signed.pdf fixture and made validates_a_signature_made_by_openssl report Invalid there. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..4a67e8e0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Byte-exact fixtures and assets: never convert line endings (Windows checkouts use +# core.autocrlf=true, which changes the signed bytes of a PDF and breaks its signature). +*.pdf binary +*.p12 binary +*.pem -text +*.pfb binary +*.ttf binary +*.icc binary +*.png binary