diff --git a/.gitattributes b/.gitattributes
index 3a2b05ca57c22ab64a196380fc82e50674acb2aa..5cca731e346e7fe074993c4424a740dd89547bbc 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,6 +1 @@
-[attr]binary -text -crlf -diff -ident
 * text -ident
-*.pdu binary
-/src/testsuite/UTF-8-test.txt binary
-LICENSE eol=crlf
-/src/testsuite/rapid7-ssh-pdu/README eol=crlf
diff --git a/spki/testsuite/cdsa-cases/.gitattributes b/spki/testsuite/cdsa-cases/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..631044237516c46d034429d9680b0accdfa38c38
--- /dev/null
+++ b/spki/testsuite/cdsa-cases/.gitattributes
@@ -0,0 +1,2 @@
+*.in -text
+*.out -text
diff --git a/src/testsuite/rapid7-ssh-pdu/.gitattributes b/src/testsuite/rapid7-ssh-pdu/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..5f7b080f0ab635c2a544dbc16a323a833f4d694b
--- /dev/null
+++ b/src/testsuite/rapid7-ssh-pdu/.gitattributes
@@ -0,0 +1 @@
+*.pdu binary