diff --git a/src/key.js b/src/key.js index 6d9f0abf..11a8d1cb 100644 --- a/src/key.js +++ b/src/key.js @@ -897,7 +897,6 @@ SubKey.prototype.update = function(subKey, primaryKey) { } }; - /** * Reads an OpenPGP armored text and returns one or multiple key objects * @param {String} armoredText text to be parsed @@ -984,7 +983,7 @@ export function generate(options) { /** * Reformats and signs an OpenPGP with a given User ID. Currently only supports RSA keys. - * @param {module:key~Key} options.privateKey The privateKey to reformat + * @param {module:key~Key} options.privateKey The private key to reformat * @param {module:enums.publicKey} [options.keyType=module:enums.publicKey.rsa_encrypt_sign] * @param {String|Array} options.userIds assumes already in form of "User Name " If array is used, the first userId is set as primary user Id @@ -1096,7 +1095,6 @@ function wrapKeyObject(secretKeyPacket, secretSubkeyPacket, options) { return new Key(packetlist); } - /** * Returns the preferred symmetric algorithm for a set of keys * @param {Array} keys Set of keys