Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal model #60

Closed
matejkriz opened this issue Jul 21, 2023 · 2 comments · Fixed by #62
Closed

Internal model #60

matejkriz opened this issue Jul 21, 2023 · 2 comments · Fixed by #62
Assignees

Comments

@matejkriz
Copy link
Member

matejkriz commented Jul 21, 2023

Create a new folder structure for firmwares, organizing them based on internal model names instead of major versions. However, maintain the existing structure for backward compatibility. This preservation is necessary for trezorctl, the Suite FW hash check feature, and any possible direct links from the Internet.

current (preserve as is):
https://data.trezor.io/firmware/{major_version}/trezor-{fw_version}.bin
https://data.trezor.io/firmware/{major_version}/releases.json
e.g.
https://data.trezor.io/firmware/1/trezor-1.11.2.bin

new:
https://data.trezor.io/firmware/{internal_model}/trezor-{internal_model}-{fw_version}.bin
https://data.trezor.io/firmware/{internal_model}/releases.json
e.g.
https://data.trezor.io/firmware/t2b1/trezor-t2b1-1.11.2.bin

  • Keep the names lowercase.
    • 1 -> t1b1
    • 2 -> t2t1
  • copy&rename existing FWs in new folders and edit paths in new releases.json files
@matejkriz
Copy link
Member Author

add readme as followup #61

@prusnak
Copy link
Member

prusnak commented Jul 21, 2023

ACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants