Created
June 30, 2010 03:53
-
-
Save benhoskings/458221 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo bash | |
cd "/Library/Application Support/VMware Fusion/isoimages" | |
mkdir original | |
mv darwin.iso tools-key.pub *.sig original | |
perl -n -p -e 's/ServerVersion.plist/SystemVersion.plist/g' < original/darwin.iso > darwin.iso | |
openssl genrsa -out tools-priv.pem 2048 | |
openssl rsa -in tools-priv.pem -pubout -out tools-key.pub | |
openssl dgst -sha1 -sign tools-priv.pem < darwin.iso > darwin.iso.sig | |
for A in *.iso ; do openssl dgst -sha1 -sign tools-priv.pem < $A > $A.sig ; done | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment