remove extra input param

This commit is contained in:
Sanjana Rajan 2017-01-31 14:18:13 -08:00
parent 1c361cd4e1
commit 11e1040a30

View File

@ -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<Object>} 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<Object>} The generated key object in the form: