Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to sign things using IPFS keys #2880

Open
mitar opened this issue Mar 6, 2017 · 9 comments
Open

A way to sign things using IPFS keys #2880

mitar opened this issue Mar 6, 2017 · 9 comments
Labels
exp/novice Someone with a little familiarity can pick up kind/feature

Comments

@mitar
Copy link

mitar commented Mar 6, 2017

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).

@daviddias
Copy link
Member

daviddias commented Mar 14, 2017

@whyrusleeping thoughts?

@daviddias
Copy link
Member

daviddias commented Oct 17, 2017

This would require exposing a new API.

@daviddias
Copy link
Member

daviddias commented Jan 26, 2018

@richardschneider has been working a ton on the ipfs key API, he will have thoughts here :)

@richardschneider
Copy link
Contributor

richardschneider commented Jan 26, 2018

Hopefully the Key API #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 richardschneider/ipfs-encryption#9

@alanshaw
Copy link
Member

alanshaw commented Dec 4, 2018

A bunch of folks have also requested signed pubsub messages.

@fiatjaf
Copy link

fiatjaf commented Dec 4, 2018

@adamskrodzki
Copy link

adamskrodzki commented Dec 11, 2018

@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.

@richardschneider
Copy link
Contributor

richardschneider commented Dec 12, 2018

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

@zicmama
Copy link

zicmama commented Jan 18, 2020

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.

@achingbrain achingbrain transferred this issue from ipfs-inactive/interface-js-ipfs-core Mar 10, 2020
@achingbrain achingbrain added kind/feature exp/novice Someone with a little familiarity can pick up labels Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/novice Someone with a little familiarity can pick up kind/feature
Projects
No open projects
Development

No branches or pull requests

9 participants