contrib/cap_sasl.pl: implement ECDSA key generation