So each peer has its own key (and optional additional keys), but it seems there is no API which would allow one to sign messages using those keys (except by storing them inside IPNS).
@whyrusleeping thoughts?
This would require exposing a new API.
@richardschneider has been working a ton on the ipfs key API, he will have thoughts here :)
Hopefully the Key API https://github.com/ipfs/js-ipfs/pull/1133 will be merged soon.
Then the options sign <key> and encrypt <key> can be added to file/block/message creation commands. They would generate a CMS structure, see https://github.com/richardschneider/ipfs-encryption/issues/9
A bunch of folks have also requested signed pubsub messages.
@richardschneider Is it merged? If so, where is documentation how to use it?
I would like to be able to sign some arbitrary data by one node private key, so it can be attributed forever to that node by any other node just by verification of signature.
To be frank, I did a interview with protocol labs and they never got back to me. After a month I reached out and got a "Oh sorry we don't need you response". This after a year+ of contributing to the projects.
I suggest you take a look at https://github.com/libp2p/js-libp2p-keychain
Also, https://github.com/richardschneider/ipfs-encryption contains my original designs and questions
I wish to use keystore and node keys in other software
But I miss relation between
"PeerID": "Qm*" and "PrivKey" that can be found in ./.ipfs/config
And ed25519 keypair as in https://scuttlebot.io/more/protocols/secure-scuttlebutt.html
Any clarification is welcome.
Most helpful comment
A bunch of folks have also requested signed pubsub messages.