Skip to content
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

Interoperate with Ceramic and IPFS [Nice to Have] #16

Open
katelynsills opened this issue Apr 17, 2023 · 0 comments
Open

Interoperate with Ceramic and IPFS [Nice to Have] #16

katelynsills opened this issue Apr 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@katelynsills
Copy link
Contributor

katelynsills commented Apr 17, 2023

As of 2023-04-17, we are using dag-cbor as the codec that allows us to transform our values to binary and store them in Hyperbee (See #4).

Originally, in #9 (Explore Signing and Adding Attestations Separately to IPFS), we had planned to use dag-jose as an easy way to sign, encrypt, and hash (get the CID for) the JSON values. However, in looking more closely at dag-jose, it uses dag-codec in part, and for the signing, uses a JS crypto library which appears to be unaudited. Therefore, I think we want to continue on the path that we started rather than switch to dag-jose.

However, there is still value being able to interoperate fully with IPFS and potentially Ceramic. Currently by just using dag-cbor, the values in our key-value store have their own CIDs and could be added directly to IPFS and pinned. This is more granular than our current plan of uploading Hyperbee snapshots to IPFS, where presumably the chunking is of the file itself and independent of the contents. Ideally, Hyperbee's hash pointers would be IPLD links (aka CIDs) and Hyperbee snapshots would be internally traversable as IPLD blocks. More research is required to find the right balance between using Hyperbee as is and attempting to integrate with IPFS fully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant