var exportKey = function exportKey(format, key, nonce){
  var args = arguments;
  console.log('exportKey args', nonce)
  return new Promise(function rejecter(resolve,reject){
    if (!key._export)
      reject(new Error("operation not supported"));
    else
      resolve(key._export.apply({},[format, key, nonce]))
  });
};

module.exports = exportKey;

var exportKey = function exportKey(format, key, nonce){
  var args = arguments;
  return new Promise(function rejecter(resolve,reject){
    if (!key._export)
      reject(new Error("operation not supported"));
    else
      resolve(key._export.apply({},[format, key, nonce]))
  });
};

module.exports = exportKey;

remove log