Skip to content
This repository has been archived by the owner. It is now read-only.

ipfs name publish to same hash from separate computers #88

Closed
doesntgolf opened this issue Jan 1, 2016 · 8 comments
Closed

ipfs name publish to same hash from separate computers #88

doesntgolf opened this issue Jan 1, 2016 · 8 comments

Comments

@doesntgolf
Copy link

doesntgolf commented Jan 1, 2016

I'm wondering if publishing to the same IPNS hash from separate computers is 1) doable now, 2) not yet doable but planned, or 3) not possible or not planned.

@fazo96
Copy link

fazo96 commented Jan 1, 2016

It would be number two as far as I know 👍 It's planned but not doable yet

@whyrusleeping
Copy link

whyrusleeping commented Jan 5, 2016

this is planned, and should be implemented fairly soon (many other things will depend on this capability) https://github.com/ipfs/specs/tree/master/keystore

@RichardLitt
Copy link
Contributor

RichardLitt commented May 2, 2016

@whyrusleeping What is the status on this? Curious.

@wigy-opensource-developer

We need this feature for an open source project we are working on atm. Since there seems to be little progression on this, we would like to help implementing parts of it on our fork.

Our use-case is that the private key used for signing the IPNS record is not shared with the IPFS node that republishes the record. For that we need to

  • Allow the IPNS record author ID to be different from the peer ID of the IPFS node (requires some refactoring of the existing code that would be needed for the keystore feature anyway)
  • Add an API command to publish an IPNS record that was already signed by the caller
    • the IPFS node maintains a list of allowed author IDs and rejects to republish records written by other authors
    • if the IPFS node finds a record with greater sequence number, it reports an error including the highest sequence number found on the network

@whyrusleeping Would these changes be something that you would be happy to merge back?

@Kubuxu
Copy link

Kubuxu commented Nov 10, 2016

@wigy-opensource-developer there is separate program that can be used for that: https://github.com/whyrusleeping/ipns-pub
and you can use ipns-key program to generate key-pair. This can be the workaround for now.

@wigy-opensource-developer
Copy link

wigy-opensource-developer commented Nov 11, 2016

Thanks, I have already seen those tools. Our use case cannot assume that the author has internet access every 12 hours to republish the IPNS record. Also, we cannot give the private key to the node that has continuous internet access. Correspondingly, we need to separate the responsibilities of signing and publishing the record.

@ghost
Copy link

ghost commented Nov 12, 2016

@wigy-opensource-developer we have IPRS (record system) in the works on and off, which will allow you to pin other nodes' IPNS records and should benefit your use case. It's likely not gonna happen in the few weeks left this year :(

But we're on it and it would be great to have your feedback: https://github.com/ipfs/specs/search?q=iprs&type=Issues&utf8=%E2%9C%93

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 23, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants