Skip to content

Object links command is not giving an answer for IPNS pubkeys #3080

Closed

Description

@pfrazee

Version/Platform/Processor information (from ipfs version --all): 0.4.1/darwin/64-bit

~/sites/ipfs-site ipfs version --all
Error: Unrecognized option 'all'

Type (bug, feature, meta, test failure, question): bug
Area (api, commands, daemon, fuse, etc): commands
Priority (from P0: functioning, to P4: operations on fire): P3

Description:

According to @diasdavid, I should be able to run ipfs object links <ipns-pubkey> and get the ipfs hash that it's currently mapped to.

To test this, I published with ipfs name publish <hash>, checked that it worked with ipfs name resolve <pubkey>, and then tried ipfs object links <pubkey>. The links command never responded.

The usecase for this is inside an electron app, so I need one of the core commands to do the resolution. Otherwise, I'd just use name-resolve.

Thanks

Activity

  1. Kubuxu commented on Aug 12, 2016

    @Kubuxu
    Member

    Are you using ipfs object links /ipns/<pubkey>?

  2. pfrazee commented on Aug 12, 2016

    @pfrazee
    Author

    @Kubuxu no, I just did <pubkey>. Adding the /ipn/ prefix didnt solve it

  3. pfrazee commented on Aug 12, 2016

    @pfrazee
    Author

    Wait! I take it back. It took a while, but adding the prefix solved it

  4. pfrazee commented on Aug 12, 2016

    @pfrazee
    Author

    Thanks, yes that solved it. It's very slow, but it works

  5. jbenet commented on Aug 13, 2016

    @jbenet
    Member

    yeah we need to make this much faster!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions