use openssl to get encrypted key directly, remove M2Crypto dependency