-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ipfs id --offline <peerid> does not work offline #8481
Comments
Agreed with triage and working on this. It seems to me that if we only need encoding conversion this should live in an independent command maybe. Regardless, I'll implement it here and we can decouple it later if we want. |
@lidel There is no |
(Is the daemon's |
The global offline option is in: |
Checklist
Installation method
built from source
Version
Config
(default)
Description
ipfs id --peerid-base base36 --offline <peerid>
does not work – it requires connection and hangs until one is established.Rationale why this should be prioritized
We would like to have an easy way for converting peerids to a CIDv1 in arbitrary multibase.
Right now, there is no universal way that works for all peerid types and is easy to use.
Example: https://discuss.ipfs.io/t/command-line-to-transform-base58-peerid-to-subdomain-friendly-base36/12330/3?u=lidel
ipfs id --peerid-base base36 --offline $PEERID | jq --raw-output .ID
nearly does the job, but it does not respect--offline
flag and requires connection to the peer.The text was updated successfully, but these errors were encountered: