From 09626f9885e763938ab5df0c220459bef643121c Mon Sep 17 00:00:00 2001 From: alexandercerutti Date: Thu, 23 Aug 2018 23:28:39 +0200 Subject: [PATCH] Fixed comments --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index 91f984c..349cfdc 100644 --- a/index.js +++ b/index.js @@ -502,7 +502,6 @@ class Pass { * Edits the buffer of pass.json based on the passed options. * * @method _patch - * @params {Object} options - options resulting from the filtering made by filterPassOptions function * @params {Buffer} passBuffer - Buffer of the contents of pass.json * @returns {Promise} Edited pass.json buffer or Object containing error. */ @@ -608,7 +607,6 @@ class Pass { } } - /** * Parses the PEM-formatted passed text (certificates) * @@ -622,7 +620,6 @@ function parsePEM(element, passphrase) { if (element.includes("PRIVATE KEY") && passphrase) { return forge.pki.decryptRsaPrivateKey(element, String(passphrase)); } else if (element.includes("CERTIFICATE")) { - // PEM-exported certificates with keys are in PKCS#12 format, hence they are composed of bags. return forge.pki.certificateFromPem(element); } else { return null;