[Feature] Integrity verification
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
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng cách đọc đặc tả định dạng AppImage hiện tại và các issue AppImageSpec được liên kết #29 và #34. So sánh các phương án được đề xuất là MD5, kích thước tệp và CRC, sau đó xác định cơ chế toàn vẹn nào mà đặc tả nên áp dụng và việc hoàn thành sẽ được xác minh như thế nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
AppImages are files which can get really big in size, and download errors can occur with such sizes
I propose to add some way to (at least try to) verify it's integrity at launch
Why ?
As of now, a partially downloaded AppImage will fail to launch with
Something went wrong trying to read the squashfs image.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
It is maybe harmless in this case, but I think it could potentially cause problems if the partially downloaded AppImage seems like a legit squashfs image. (This is only a theory, I do not have any proof this can happen)
Implementation propositions :
- Use https://github.com/AppImage/AppImageSpec/issues/29 and verify the md5sum of the AppImage on launch.
Cons : as pointed there, that would be costly. Plus, I'm not sure if this section is actually going to be in the specification - Store the file size in bytes in an ELF section, maybe
.appimage_size, and verify the size of the executed file is the same
Cons : some programs might zerofill the file and fill bytes as their download them - Store a CRC checksum in an ELF section, maybe
.crc_checksum, and verify it. I think that's the best option, because CRC is an algorithm made for file integrity (as opposed to a simple file size verification), and is more lightweight than MD5
I think this feature should be looked at before https://github.com/AppImage/AppImageSpec/issues/34 (because well, it would modify the spec)
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 94
- Fork
- 30
- 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 AppImage/AppImageSpec
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
AppImage/AppImageSpec#60 · 7 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
AppImage/AppImageSpec#59 · 15 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
AppImage/AppImageSpec#48 · 2 bình luận ·
-
help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
AppImage/AppImageSpec#44 · 10 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
AppImage/AppImageSpec#40 · 1 bình luận ·
Tất cả issue của AppImage/AppImageSpec
Issue tương tự
-
IzzyOnDroid inclusionĐang mởF-Droid FOSS question
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
d4rken-org/butler#365 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ShaftHQ/chaosengine-harness#423 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[External Plugin]: zooopĐang mởexternal-plugin ready-for-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/awesome-copilot#6655 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
X11Libre/xserver#4255 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
nightly-cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
max-sixty/worktrunk#4939 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày