-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
should be able to cat public keys. #1045
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
Comments
i was thinking of just storing the public key as a block. otherwise things will get messy |
but i guess we cant cat blocks... (or can we?) |
let's not, that sounds worrisome. a middle-ground is to re-define the merkledag without the protobuf encoding to be valid leaf objects. i dont like having to do this, but i may be necessary. the need is showing in several places |
Talking this over with @whyrusleeping on IRC earlier today, my feeling DHT key: /{per-node-thing-you-want}/{node-you're-asking-about} So /pk/QmbqDJaoZYoGNw4dz7FqFDCf6q9EcHoMBQtoGViVFw2qv7 gives you my DHT key: /{per-node-thing-you-want}/{node-you're-asking-about} and then in IPFS: IPFS key: {IPFS-key} For things that you need frequently (like node public keys), you can Migrating from {some-data-in-an-arbitrary-format} to |
Public keys should be accessible as ipfs objects:
this means we'd have an object wrapping a public key, which is fine and may be used to link to other useful information, but it does mean a bit of working in the pk exchange to ship the ipfs format.
The text was updated successfully, but these errors were encountered: