Image hashes differ between Rebuilder instances
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing the Rebuilder image-generation path and identify where signing keys are included in the generated output. Compare outputs from separate Rebuilder instances and determine how the build can remain reproducible without instance-specific key material. Done means equivalent rebuilds produce matching image hashes while preserving the intended signing behavior.
Written by the indexing model from the issue text.
Description
When I tried out the Rebuilder feature, every rebuild got flagged as invalid.
🚫 https://sysupgrade.antennine.org/
🚫 https://sysupgrade.guerra24.net/
I then generated an image from each Rebuilder and noticed that the hashes didn’t match. Diffing the images revealed the following differences:
< 00780250 64 20 62 79 20 6b 65 79 20 38 61 65 66 65 31 65 |d by key 8aefe1e|
< 00780260 62 66 35 61 64 32 63 66 38 0a 52 57 53 4b 37 2b |bf5ad2cf8.RWSK7+| ...
---
> 00780250 64 20 62 79 20 6b 65 79 20 33 62 64 30 65 36 34 |d by key 3bd0e64|
> 00780260 34 31 36 36 66 36 63 30 38 0a 52 57 51 37 30 4f |4166f6c08.RWQ70O| ...
489898c489898
< 00780300 72 6f 6d 00 00 00 00 00 68 b1 ea a5 84 00 00 18 |rom.....h.......|
---
> 00780300 72 6f 6d 00 00 00 00 00 68 b1 f3 34 84 00 00 18 |rom.....h..4....|
489900c489900
< 00780320 6a 93 1e 25 83 00 00 6d 00 06 70 75 62 6b 65 79 |j..%...m..pubkey|
---
> 00780320 6a 93 26 b4 83 00 00 6d 00 06 70 75 62 6b 65 79 |j.&....m..pubkey|
489903,489906c489903,489906
< 00780350 6c 64 20 6b 65 79 0a 52 57 53 4b 37 2b 48 72 39 |ld key.RWSK7+Hr9|
< 00780360 61 30 73 2b 4b 42 67 76 49 62 72 42 58 6c 62 43 |a0s+KBgvIbrBXlbC| ...
---
> 00780350 6c 64 20 6b 65 79 0a 52 57 51 37 30 4f 5a 45 46 |ld key.RWQ70OZEF|
> 00780360 6d 39 73 43 50 7a 75 62 45 52 4c 56 50 6d 69 56 |m9sCPzubERLVPmiV| ...
489909,489917c489909,489917
< 007803b0 69 67 6e 65 64 20 62 79 20 6b 65 79 20 38 61 65 |igned by key 8ae|
< 007803c0 66 65 31 65 62 66 35 61 64 32 63 66 38 0a 52 57 |fe1ebf5ad2cf8.RW| ...
---
> 007803b0 69 67 6e 65 64 20 62 79 20 6b 65 79 20 33 62 64 |igned by key 3bd| ...
Because the signing keys are included in the output, each Rebuilder instance produces a unique image. I’m not sure how best to address this, but I really appreciate the Rebuilder feature and would be grateful if this could be fixed.
- Dominant language
- Python
- Stars
- 461
- Forks
- 116
- Avg merge
- 8d 30m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwrt/asu
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
Similar issues
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
docling-project/docling-core#1067 ·
Maintainers usually reply within 3 days
-
correction metadata
Difficulty 1/5 Under an hour Newbie friendliness 85/100
acl-org/acl-anthology#11101 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG] crewai tool create/install/login exit 0 when they failPossibly taken @Kiko0301 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vllm-project/compressed-tensors#1033 ·
Maintainers usually reply within 3 days
-
chore kaizen ui-rewrite
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
IBM/mcp-context-forge#7681 ·
Maintainers usually reply within 2 days