Skip to content

Instantly share code, notes, and snippets.

@frogonwheels
Created May 30, 2011 02:53
Show Gist options
  • Save frogonwheels/998394 to your computer and use it in GitHub Desktop.
Save frogonwheels/998394 to your computer and use it in GitHub Desktop.
An encrypted file can be recognized by the "file" command, if you add these
lines to "/etc/magic", "/usr/share/misc/magic" or wherever your system has the
"magic" file:
0 string VimCrypt~ Vim encrypted file
>9 string 01 - "zip" cryptmethod
>9 string 02 - "blowfish" cryptmethod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment