Sign a pack file and verify the signature before use

Đang mở
#391 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ó
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
42/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ệ
go
Lĩnh vực
cryptography, security

Hướng nghiên cứu

Start by reading the audit command key tooling and the SDK pack-loading entry point; the issue does not name specific files or tests. Trace how the runtime reads pack versions and hashes pack bytes, then identify the existing signing conventions. Done means detached sign and verify commands, SDK verification before load, documented key expectations and signature limits, and refusals for every listed invalid-signature case across supported pack versions.

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

Mô tả

enhancement public-surface

Observed. A pack's identity is the SHA-256 of its file bytes, and a lock pins it. There is no command that signs a pack or verifies a signature over it; signing exists for audit trails and for the release binaries. A party that publishes packs to others has no stated convention to follow, and each reader invents one.

Ask. Commands that produce and check a detached signature over a pack's file bytes, using the key tooling the audit commands already have, and the matching SDK call to verify before load. No canonical form of a pack is introduced: the signature is over the bytes the digest is over. The doc states the convention (file name of the signature, what is signed, how a verifier is told which key to expect) and what a valid signature establishes and does not.

Acceptance. Sign, verify, and refusals for: changed bytes, another key, a truncated or malformed signature file, an unexpected key. Works on a pack of any spec version the runtime reads.

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

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 Judgment-Pack/judgment-pack-runtime

Tất cả issue của Judgment-Pack/judgment-pack-runtime

Issue tương tự

Thêm issue về Go

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.