Commit 5d1c0a63 authored by Dwayne Litzenberger's avatar Dwayne Litzenberger Committed by Chris Lamb

Don't assume every *.key file is an Apple Keynote file

https://bugs.freedesktop.org/show_bug.cgi?id=93656
parent 512bd51a
Pipeline #6039 passed with stage
in 2 minutes and 55 seconds
......@@ -293,6 +293,7 @@ command to generate the output files.
<glob pattern="*.asc" weight="10"/>
<glob pattern="*.pgp"/>
<glob pattern="*.gpg"/>
<glob pattern="*.key"/>
</mime-type>
<mime-type type="application/pgp-signature">
<_comment>detached OpenPGP signature</_comment>
......@@ -7112,7 +7113,7 @@ command to generate the output files.
<match type="string" value="index.apxl" offset="30"/>
</match>
</magic>
<glob pattern="*.key"/>
<glob pattern="*.key" weight="80"/>
<alias type="application/vnd.apple.keynote"/>
</mime-type>
......
......@@ -657,6 +657,9 @@ COPYING.asc application/pgp-signature xoo
test-public-key.asc application/pgp-keys xoo
test-secret-key.skr application/pgp-keys ooo
test-secret-key.asc application/pgp-keys xoo
# not all *.key should be detected as Apple Keynote
test-secret.key application/pgp-keys x
test-garbage.key application/octet-stream x
# copied from https://bitbucket.org/scons/scons/raw/f0d4664d36f8a4d4da53178cf947c86c86db3cb7/SConstruct
SConstruct text/x-scons oxo
......
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)
lQH9BFG4bv4BBADcXSfapilvuanHiRmWIY7sYm5TAf8yWvjdqOp1E8RO6Z5FPH6D
IeBruDaWVA5QEoMxF1oG7DXqliVWG1Y4Ki1sPHkST4J6B2j/w3u9kDhdHQQtRd1k
XQUz3b+rI7BvoEBNYW64t7rswyM8dh0MqNaCFfnf+PQ2yDL1ib5eMmnp0wARAQAB
/gMDAl/TqclmjUSrYMW3XdXp8iQ7JJBZcOfP1kz3rM/Kc3/8nzsH1sgTNG01jOT/
tJ4vBnIIA2naOLXUxPGcn9plS6iT30v3Z3ESmpMVwCYrBPXaNGcU87GQyEN6n71M
lHsGYJ8FijNv3Bafj5L1rP/tEMHwSDe7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Udp4
+ZiuPVhDQ+yiUv5xr4SZTGzVBAK7evLbUSsccO91iNI4EaUrWt31owRCLOCzyZEA
qJ3IQcmSenxC7FyAXPouawhaNtej7Y2Fmr8uD6ao95C4GHbitvjPryBpWu0YLZ5g
eUR4Q61pszdiXehc/9ftTApJwRloTI6HOOs04gw07I5u0IDyKH2vrM/N8R4pu0k+
dF79LAfetMIyPJqxVrXvjGgWvYzQIOp977o7z3qDlHsCIDM/UBsqD+S9dGDUIB4a
Ypl5q7GIpQQYAQIADwUCUbhu/gIbDAUJAAFRgAAKCRBCRpSb2tw4sD7rA/0e5EDv
NPrvZ2TyktgRJys2P76LMVxu56dANVgQFYyEE/0E+MI0FsD4HypvYGdiKLYqCq5y
hxRwqudHt6hNtL25dfJECkWSpl8hHpLOzferXb3+DABIR58NjJCuRxeUgO6mnJkS
2vbwFnQZdYqIMmwH+WaF+gkfDwAgQOHwGX+Htw==
=1xyV
-----END PGP PRIVATE KEY BLOCK-----
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment