Would you please tell me, is it possible to encrypt the identity and password values in a netctl profile configuration file? This profile sets up a connection to a WPA2 Enterprise wireless network. Would you please instruct me on how to encrypt the plain text values, if it is possible?
My current netctl profile configuration file is:
Description='WiFi'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
'ssid="ssid"'
'proto=WPA RSN'
'key_mgmt=WPA-EAP'
'pairwise=CCMP'
'group=CCMP'
'eap=PEAP'
'anonymous_identity="[email protected]"'
'identity="USERNAME"'
'password="PASSWORD"'
'ca_cert="/path/to/cert.pem"'
'phase2="auth=MSCHAPV2"'
'priority=1'
)
USERNAME and PASSWORD in an example above are plain text values. I know it is possible to obfuscate the wireless passphrase when using WPA2-PSK. I'm looking for a similar functionality for WPA2 Enterprise.