When using newer openssl with version 0.3.4, the subject key algorithm is not properly set when parsing a certificate, the signature key algorithm is set instead (in addition to the property it should be set in).
This is in https://github.com/Southern/node-x509/blob/master/src/x509.cc#L280