328-magic-add-ssh.dpatch 658 B

12345678910111213141516171819
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 325-magic-add-ssl.dpatch by Nicolas Collignon <tsointsoin@gmail.com>
  3. ##
  4. ## DP: New magic for OpenSSH key files (Closes: #439537).
  5. @DPATCH@
  6. diff -Naur file-4.21.orig/magic/Magdir/ssh file-4.21/magic/Magdir/ssh
  7. --- file-4.21.orig/magic/Magdir/ssh 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.21/magic/Magdir/ssh 2007-08-26 08:25:03.000000000 +0000
  9. @@ -0,0 +1,8 @@
  10. +# Type: OpenSSH key files
  11. +# From: Nicolas Collignon <tsointsoin@gmail.com>
  12. +
  13. +0 string SSH\ PRIVATE\ KEY OpenSSH RSA1 private key,
  14. +>28 string >\0 version %s
  15. +
  16. +0 string ssh-dss\ OpenSSH DSA public key
  17. +0 string ssh-rsa\ OpenSSH RSA public key