add function to get public key in authorized keys format
Add argument to specify initial state of constraint checkbox