Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat(content-node): lock down the Kubo RPC API and gateway

Đang mở
#60 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 1 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
52/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ệ
docker-compose
Lĩnh vực
infrastructure, security

Hướng nghiên cứu

Start by reading the compose configuration and init scripts introduced by dependency #59, then verify Kubo's authorization settings against the pinned release. Test the node with unauthenticated and backend-secret RPC requests, and confirm the gateway rejects writes. Done means the compose init applies the configuration and the scripted checks pass.

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

Mô tả

enhancement kubo storage tier-2

Summary

Make sure the node cannot be used by the public to write, delete or reconfigure.

Estimated size: S

Motivation

The RPC API can add, remove and reconfigure; exposed publicly it is a full takeover.

Proposal

  • RPC bound to the internal network; require an authorization secret for the backend (use Kubo's API authorization settings; verify against the pinned release).
  • Gateway read-only; disable features we do not use; set swarm resource limits.
  • Document that the backend secret lives in env, never in the repo or logs.

Acceptance criteria

  • An unauthenticated RPC request is rejected.
  • A request with the backend secret succeeds.
  • The gateway cannot write.
  • Config is applied by the compose init, not by hand.

Dependencies

  • #59

Testing plan

  • Scripted negative and positive requests against the compose node.

Part of #43. Ground rules for the content layer: no secrets in the repo, content-layer failures must never block or discard quantum execution, and tests and docs ship with every PR.

Ngôn ngữ chính
Python
Star
2
Fork
4
Merge trung bình
6 giờ 54 phút
Pull request đã merge (30 ngày)
7

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 QMeshPy/distributed-quantum

Tất cả issue của QMeshPy/distributed-quantum

Issue tương tự

Thêm issue về Python

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.