add key.public-key-from-string to get public key from String