Encoding key names with base32 #1937
Description
Type: Enhacement
Description:
As part of my PR ipfs/kubo#6012 go-ipfs will be encoding key's names into base32 in order to unify behavior across all platforms (case sensitivity). As a small bonus because of it, it will be able to use any characters for the key's names (like namespacing for example "websites/some-website").
I assume that since js-ipfs has a goal to have interoperable repositories with go-ipfs, this behavior should be propagated from go-ipfs to js-ipfs as well.
I am happy to provide PR for js-ipfs as well.
I have a few questions.
Is this desired from your side? Will you accept the PR?
My idea of implementation of it would be to create something like EncodedDatastore
wrapper that would be used in js-ipfs-repo
for the keys
property and would do the translation from/to base32.
I believe the base32 encoding won't be necessary for the datastore-level
, should I hardwire exception for it or also encode it?