From 11e1040a307f572614c145176da38f4c21078dd0 Mon Sep 17 00:00:00 2001 From: Sanjana Rajan Date: Tue, 31 Jan 2017 14:18:13 -0800 Subject: [PATCH] remove extra input param --- src/openpgp.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/openpgp.js b/src/openpgp.js index aec0f9c4..b027991e 100644 --- a/src/openpgp.js +++ b/src/openpgp.js @@ -117,7 +117,6 @@ export function generateKey({ userIds=[], passphrase, numBits=2048, unlocked=fal * Generates a new OpenPGP key pair. Currently only supports RSA keys. Primary and subkey will be of same type. * @param {Array} userIds array of user IDs e.g. [{ name:'Phil Zimmermann', email:'phil@openpgp.org' }] * @param {String} passphrase (optional) The passphrase used to encrypt the resulting private key - * @param {Number} numBits (optional) number of bits for the key creation. (should be 2048 or 4096) * @param {Boolean} unlocked (optional) If the returned secret part of the generated key is unlocked * @param {Number} keyExpirationTime (optional) The number of seconds after the key creation time that the key expires * @return {Promise} The generated key object in the form: