ipfs / ipfs/specs

IPNS: support Ethereum wallet signing

Open
#323 10 comments 4 reactions 0 assignees View on GitHub
kind/enhancement P2
Dominant language
HTML
Stars
1.2k
Forks
247
Avg merge
5d 21h
Merged PRs (30d)
4

Description

I think it would be pretty useful if ipns recognized the [signing prefix used by ethereum wallets](https://web3js.readthedocs.io/en/v1.7.5/web3-eth-personal.html#sign). That way users with metamask or other wallets could sign ipns records to send to trusted nodes or providers like cloudflare, web3-storage, pinata without having to manage their own set of keys.

I think this would open up some interesting possibilities of distributed blogs other frequently updated content.

I think this would be pretty possilble to do in both go|js-ipns. Been poking around with [a branch that can validate thos sigs](https://github.com/ipfs/go-ipns/pull/43)
But if desired not sure if it would be best to
1. Always check the eth prefix.
2. Make this a new nodeid in libp2p so we could go off its type.
3. use some other data in the ipns record to indicate it's a eth signed record.

Happy to try and contribute if wanted and someone is willing to guide preferences.

Some background [here](https://discuss.ipfs.tech/t/ethereum-signining-of-ipns/15173/3)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.