/etc/wicd/encryption/templates/wpa-psk is in wicd-daemon 1.7.2.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | name = WPA 1/2 (Passphrase)
author = Adam Blackburn
version = 1
require apsk *Preshared_Key
protected apsk *Preshared_Key
-----
ctrl_interface=/var/run/wpa_supplicant
network={
       ssid="$_ESSID"
       scan_ssid=$_SCAN
       proto=WPA RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP TKIP
       group=CCMP TKIP
       psk="$_APSK"
}
 |