add option to exclude public key from EC keys