Support the Kubo RPC API authentication in the client

Đang mở
#3,656 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend, cli, security

Hướng nghiên cứu

Start by locating ClientBuilder, IpfsFileDownloader, and the cardano-db download command, then trace how the client sends Kubo RPC requests and how command secrets are handled. The issue also calls for end-to-end coverage, potentially requiring IPFS devnet changes, and documentation updates. Done means optional credentials authenticate each downloader request and the CLI exposes them as a secret, with tests and documentation updated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature :rocket:

Why

Exposing an unprotected Kubo RPC API to a LAN or to the public internet is strongly discouraged, which forces the Kubo node and the client to run on the same machine.

What

Support the authentication of the Kubo RPC API in the client library and CLI.

How

  • Add optional credentials to the ClientBuilder and send them with each request of the IpfsFileDownloader
  • Add the option to the cardano-db download command, handled as a secret
  • Cover the authenticated download in the end to end tests? (would need modifications in IPFS devnet)
  • Update the documentation
Ngôn ngữ chính
Rust
Star
155
Fork
52
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
38

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của IntersectMBO/mithril

Tất cả issue của IntersectMBO/mithril

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.