Hi, this is a really nice functional extension to IPFS gateway. Yet, it would be great if we could make it easily extensible to support more blockchain signatures like ethereum, solana, etc.
So, here is one proposal: instead of using Basic Authentication header token in format of
Authorization: Basic <base64(PubKey:SignedMsg)>
How about using base64 JSON signature like:
Authorization: Basic <base64({"chain":xx, "address":xx, "msg":xx, "sig":xx, "timestamp":xx})>
For example, "chain" value "ethereum / polkadot / crust" indicates an ethereum / polkadot / crust signature respectively.
Hi, this is a really nice functional extension to IPFS gateway. Yet, it would be great if we could make it easily extensible to support more blockchain signatures like ethereum, solana, etc.
So, here is one proposal: instead of using Basic Authentication header token in format of
How about using base64 JSON signature like:
For example, "chain" value "ethereum / polkadot / crust" indicates an ethereum / polkadot / crust signature respectively.