IPNS pub key size concerns
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- distributed-systems
Hướng nghiên cứu
Bắt đầu bằng việc xem xét mã hóa protobuf của IPNS IpnsEntry và danh sách các thuật toán được Web Crypto hỗ trợ được liên kết. So sánh hai thiết kế được đề xuất và xác định một thay đổi cụ thể đối với đặc tả, các yêu cầu tương thích và các tiêu chí chấp nhận trước khi triển khai.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Recently I was told ed25519 are preferable for IPNS over other keys due to their smaller size. However it is not in the list of supported algorithms in web platform requiring bundling crypto libraries etc...
This got me thinking about potential ways to address this problem, especially since is safe to assume that over time longer keys may proof necessary.
Idea 1.
Right now public keys are endoded IpnsEntry protobuf (which is presumably where we small size is desired). In practice chances are node receiving a record already has a public key because:
- IPFS default is to use
selfkey so it was used in handshake. - Recipient has some interest in a IPNS record so key was previously obtained.
If thees assumptions holds, we could make next version of IpnsEntry encode CID for the public key instead. Furthermore small keys and rare keys could use identity hash CIDs. It is also assumed that Sequence 0 record will use identity hash.
Idea 2.
What if instead of basing mutable namespace on the public key we based it on mutex block (genesis block) CID instead that use designated muticodec code. Mutex blocks could encode multiple public keys allowed to perform updates, and also be fairly open ended to allow new or domain specific metadata to be added e.g.
- peer ids of nodes that are likely to have latest record.
- DNS alias(es)
I think this would also neatly combine IPFS and IPNS namespaces where /ipfs/$cid represents content on creation and /ipns/$cid represents content now. For /ipns/$cid where cid is not for mutex it would be identical to /ipfs/$cid because it's not a mutex so it could never change.
Additional benefit of such mutexes would be that they could cleanly integrate into IPLD as they are addresses by CID.
- Ngôn ngữ chính
- HTML
- Star
- 1.2k
- Fork
- 250
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ipfs/specs
-
Simplify Spec StatusesĐang mởneed/triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Revise steward and editor rolesĐang mởneed/triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
dnslink:// URIsĐang mởneed/triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
need/triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
volcano-sh/volcano#6323 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: facilitator bug complexity: trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
accensa/x402-facilitator-stellar#709 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
resiliency: ParseRetryConditionMatch fails when HTTPStatusCodes or GRPCStatusCodes contain whitespaceCó thể đã có người làm @patelshivani2283-lab đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] maxConcurrent{Activity,Workflow,Nexus}TaskPolls are accepted but never appliedCó thể đã có người làm @pcbeingused333 đã nhận 1 ngày trước. Đang mởsdk-typescript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
temporalio/sdk-typescript#2693 ·
Maintainer thường phản hồi trong vòng 1 ngày