Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rageguy

macrumors member
Original poster
Jun 25, 2009
79
79
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.