generate keypair and copy public into clipboard