feat: signed, verifiable PDF reports
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
- 25/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ệ
- typescript
- Lĩnh vực
- backend, full-stack, security
Hướng nghiên cứu
Start by tracing the browser extension's test summary and PDF export, then inspect the server routes and Cloudflare Worker traffic handling. The issue proposes a /sign endpoint, traffic validation, Ed25519 signing, and client-side verification, but leaves the test-to-traffic binding and self-hosted key behavior unresolved. Done means reports can be verified against signed figures while meeting the stated Cloudflare free plan constraint.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The PDF report shows a Report ID on every page. It is a SHA-256 fingerprint of the results, so an edited copy no longer matches a fresh export of the same tests. It is not proof, though: the results are measured in the browser and anyone with the code can compute an ID for made-up numbers.
A signed report would let someone who receives a PDF check that the numbers came from a real MeterX test against the MeterX server and were not changed afterwards.
Possible approach:
- During a test the worker already sees the download and upload traffic. At the end, the extension sends its summary (speeds, ping, time, test ID) to a new
POST /signendpoint. - The worker checks the summary against what it observed for that test (bytes served and received, timing), within a tolerance, and signs it with a key stored as a Worker secret (Ed25519 through WebCrypto).
- The extension stores the signature with the result, and the PDF prints a short verification code plus a link such as
meterx.ajithakdev.com/verify#<code>. - The verify page checks the signature with the public key, client side, and shows the signed figures next to what the PDF claims.
Open questions:
- How to tie a summary to the traffic the worker saw without storing anything. A short-lived signed token issued at test start, checked at
/sign, might be enough. - Self-hosted servers would need their own key, or their reports stay unsigned.
- It has to stay inside the Cloudflare free plan: no KV or Durable Objects writes per test unless they fit the free limits.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 0
- Merge trung bình
- 15 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 ajithakdev/meterx
-
community enhancement UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ajithakdev/meterx#45 ·
-
enhancement good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
ajithakdev/meterx#20 ·
-
cross-browser enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
ajithakdev/meterx#99 ·
-
enhancement UX
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ajithakdev/meterx#56 ·
-
enhancement UX
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ajithakdev/meterx#54 · 1 bình luận ·
Tất cả issue của ajithakdev/meterx
Issue tương tự
-
Translate the appĐang mởgood first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Mikiyas-Meles-Assefa/opensourcebook#154 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rowbinary: typeStringToReader keeps Variant members in text order, so Variant(Int64, Float64) reads 7 as 3.5e-323Có thể đã có người làm @rwits08 đã nhận hôm nay. Đang mởbug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-js#1293 · 1 bình luận ·
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 68/100
sidebandstudio/clawtrate#1863 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent/quality testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
cncf/techdocs#463 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Có thể đã có người làm @carlosrobert0 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 2 ngày