=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-trust-keyto-0.3.7/src/Converter.js-102- static pad (hex) { node-trust-keyto-0.3.7/src/Converter.js:103: return hex.length % 2 === 1 ? `0${hex}` : hex node-trust-keyto-0.3.7/src/Converter.js-104- } ############################################## node-trust-keyto-0.3.7/src/index.js-272- if (selector === 'PRIVATE') { node-trust-keyto-0.3.7/src/index.js:273: let KeyType = asn.normalize(`${kty}PrivateKey`) node-trust-keyto-0.3.7/src/index.js-274- selector = 'private_pkcs1' ############################################## node-trust-keyto-0.3.7/src/index.js-276- } else if (selector === 'PUBLIC') { node-trust-keyto-0.3.7/src/index.js:277: let KeyType = asn.normalize(`${kty}PrivateKey`) node-trust-keyto-0.3.7/src/index.js-278- selector = 'public_pkcs1' ############################################## node-trust-keyto-0.3.7/src/index.js-294- node-trust-keyto-0.3.7/src/index.js:295: throw new InvalidOperationError(`Invalid format ${format}`) node-trust-keyto-0.3.7/src/index.js-296- } ############################################## node-trust-keyto-0.3.7/src/types/KeyType.js-104- static formatPem (base64pem, descriptor) { node-trust-keyto-0.3.7/src/types/KeyType.js:105: return `-----BEGIN ${descriptor} KEY-----\n` node-trust-keyto-0.3.7/src/types/KeyType.js-106- + base64pem.match(/.{1,64}/g).join('\n') node-trust-keyto-0.3.7/src/types/KeyType.js:107: + `\n-----END ${descriptor} KEY-----` node-trust-keyto-0.3.7/src/types/KeyType.js-108- } ############################################## node-trust-keyto-0.3.7/test/keys/index.js-14-const getKeys = (dir) => { node-trust-keyto-0.3.7/test/keys/index.js:15: let files = glob.sync(`${dir}/*.js`) node-trust-keyto-0.3.7/test/keys/index.js-16- let descriptors = files.map(file => { ############################################## node-trust-keyto-0.3.7/test/keys/index.js-33- */ node-trust-keyto-0.3.7/test/keys/index.js:34:module.exports = glob.sync(`${__dirname}/**/`) node-trust-keyto-0.3.7/test/keys/index.js:35: .filter(dir => dir !== `${__dirname}/`) node-trust-keyto-0.3.7/test/keys/index.js-36- .reduce((state, dir) => {