makekeypair and sendalert