Skip to content

Latest commit

History

History
39 lines (25 loc) 路 999 Bytes

README.md

File metadata and controls

39 lines (25 loc) 路 999 Bytes

keybase-generator Build Status

js-standard-style

馃攽 Using kbpgp to generate private keys

Install

$ npm install keybase-generator --save

Usage

const generator = require('keybase-generator')

try {

  const password = 'password'
  const userId = 'Jose Aguinaga <me@jjperezaguinaga.com>'

  generator(userid, password).then((keypair) => {
    console.log('Private Key', keypair.privateKey)
    console.log('Public Key', keypair.publicKey)
  })
  
} catch(err) {
  console.log('There was an error generating the keys', err)
}

Related

E.nigma - 馃攼 e.nigma.pw / generatorion toolbox utility

License

MIT 漏 Jose Aguinaga