user can select public key, fixes #19