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: