Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
create: function (cb) {
var filename = 'secret_'+leftpad(keys.length, 2, '0')+'.butt'
ssbKeys.create(path.join(dir, filename), function (err, newKeys) {
keys.push(newKeys)
cb(err, newKeys.id)
})
},
publishAs: function (opts, cb) {