You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Object links command is not giving an answer for IPNS pubkeys #3080
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.
Activity
Kubuxu commentedon Aug 12, 2016
Are you using
ipfs object links /ipns/<pubkey>?pfrazee commentedon Aug 12, 2016
@Kubuxu no, I just did
<pubkey>. Adding the/ipn/prefix didnt solve itpfrazee commentedon Aug 12, 2016
Wait! I take it back. It took a while, but adding the prefix solved it
pfrazee commentedon Aug 12, 2016
Thanks, yes that solved it. It's very slow, but it works
jbenet commentedon Aug 13, 2016
yeah we need to make this much faster!