ssb-keymaker
v0.0.3
Published
sign an ephemeral ssb keypair using a master identity
Downloads
8
Maintainers
Readme
ssb-keymaker
Simple cli tool to generate and sign an ephemeral ssb keypair using a master identity.
usage
Running ssb-keymaker will read your ssb identity from ~/.ssb/secret
or generate
it if it doesn't already exist. It will also generate an ephemeral keypair and
sign the ephemeral keypairs public key.
ssb-keymaker
Which will generate an object and print it too the console...
{
ephemeral: {
curve: 'ed25519',
public: '+zKX54LLmvKGksJ7zrUyiSkRkqLbbNt9CLoS86AIRwQ=.ed25519',
private: '01Obt3/Yzq0RrDohIPsxTTaw+AbTl/CTv81724i6vX77Mpfngsua8oaSwnvOtTKJKRGSotts230IuhLzoAhHBA==.ed25519',
id: '@+zKX54LLmvKGksJ7zrUyiSkRkqLbbNt9CLoS86AIRwQ=.ed25519'
},
master: 'xX4fSbR38HrgxDq1al1fjrQABxCybokAEFXcZ758840=.ed25519',
public: '+zKX54LLmvKGksJ7zrUyiSkRkqLbbNt9CLoS86AIRwQ=.ed25519',
expires: 'never',
signature: '+ABk2/FsEVN8TR1QW9UMTKOHSUBxv8TxIIWB7kogGCq31GVe1ospRGKPGWdWyn2BDh9bjWebrG/VYFnKTEEuBA==.sig.ed25519'
}
todo
- add an expiry to the generated keypair
- add help and more command line options
- split into library and cli tool
- get feedback and peer review
- allow signing the entire keypair for some use cases?
feedback
Please leave feedback and comments as issues. Cheers!
related
install
npm i ssb-keymaker -g