Add check if public key name has been used