I have the following .mobileconfig file. Of interest is the VPN configuration. The VPN is using IPSec, with shared-secret as the machine authentication method. In the iPhone Configuration Utility, the shared-secret is masked as ******* (asterisks). In textedit/wordpad/notepad, the .mobileconfig file shows a hash for the shared-secret.
<key>SharedSecret</key>
<data>
Yj1WNV81eEB6ViNXNUZMNFQ5JlUtJnMh
</data>
Notice that the above has to be a hash because it is encapsulated by <data> tags. It has to be encrypted somehow.
Is there a way to get to the shared-secret?
For reference, the .mobileconfig can be found here, feel free to open it up in iPhone Configuration Utility or notepad/textedit/wordpad:
http://autoconnect.it.ubc.ca/iphone/mobileconfigs/UBC_iPhone_NetCon.mobileconfig
<key>SharedSecret</key>
<data>
Yj1WNV81eEB6ViNXNUZMNFQ5JlUtJnMh
</data>
Notice that the above has to be a hash because it is encapsulated by <data> tags. It has to be encrypted somehow.
Is there a way to get to the shared-secret?
For reference, the .mobileconfig can be found here, feel free to open it up in iPhone Configuration Utility or notepad/textedit/wordpad:
http://autoconnect.it.ubc.ca/iphone/mobileconfigs/UBC_iPhone_NetCon.mobileconfig