-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #455 from selfcustody/release-24.09.0
Release 24.09.0
- Loading branch information
Showing
197 changed files
with
2,841,648 additions
and
5,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[html] | ||
show_contexts = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
--- | ||
|
||
name: 🐞 Bug report | ||
about: Create a report to help us improve | ||
title: "[Bug] the title of bug report" | ||
about: Create a new report | ||
title: "[Bug] the summary of your report" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
#### Summary | ||
|
||
<!-- Describe some general things about the bug --> | ||
#### Describe the bug | ||
<!-- Please try to be specific in providing all the steps to reproduce the error. --> | ||
|
||
**Device** | ||
**Device(s) affected** | ||
- [ ] Amigo | ||
- [ ] M5stickV | ||
- [ ] Cube | ||
- [ ] Dock | ||
- [ ] Bit | ||
- [ ] Yahboom | ||
- [ ] WonderMV | ||
|
||
**Version** | ||
- [ ] Official release (selfcustody/krux): <!-- Specify version, like v23.09.1 --> | ||
- [ ] Beta release (odudex/krux_binaries): <!-- Specify version, like v24.01.0-beta14 --> | ||
|
||
#### Describe the bug | ||
|
||
<!-- Give some details about it --> | ||
**Version affected** | ||
- [ ] Official release (selfcustody/krux): vXX.YY.Z <!-- Specify the version! --> | ||
- [ ] Beta release (odudex/krux_binaries): vXX.YY.Z-betaWW <!-- Specify the version! --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
name: 🔥 Enhancement | ||
about: New feature or request | ||
title: "[Enhancement] the title of new feature or enhancement" | ||
about: New feature request | ||
title: "[Enhancement] summarize the new feature or enhancement" | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
#### Describe the new feature or enhancement | ||
#### Describe your request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
name: 🥺 Help wanted | ||
about: Help needed to use a feature, perform or understand a procedure | ||
title: "[Help] the title of help wanted report" | ||
labels: help wanted | ||
name: 🥺 Other | ||
about: Anything not related to a bug or feature | ||
title: "[Other] summarize what is" | ||
labels: other | ||
assignees: '' | ||
|
||
--- | ||
|
||
#### Describe the problem you need help | ||
#### Describe what it is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
<!-- Thank you for contributing! --> | ||
### What is this PR for? | ||
|
||
### Description | ||
|
||
<!-- Please insert your description here and provide especially info about the "what" this PR is solving --> | ||
|
||
### What is the purpose of this pull request? <!-- (put an "X" next to an item) --> | ||
|
||
### What is the purpose of this pull request? | ||
- [ ] Bug fix | ||
- [ ] New Feature | ||
- [ ] Documentation update | ||
- [ ] New feature | ||
- [ ] Docs update | ||
- [ ] Other |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,9 @@ | |
|
||
.md-typeset img.twemoji { | ||
margin: 0 !important; | ||
} | ||
|
||
.md-typeset h5 { | ||
color: black; | ||
text-transform: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## Background | ||
The examples below have been created so that you can test the workflow for scanning both 12 and 24 word mnemonics. (Scanning the left plate for a 12 word mnemonic and both plates for 24) The resulting fingerprint from an successful scan is also incldued in the image. | ||
|
||
### TinySeed | ||
![](../../img/tinyseed_binarygrid/tinyseed.jpg) | ||
|
||
### OneKey KeyTag | ||
![](../../img/tinyseed_binarygrid/onekey_keytag.jpg) | ||
|
||
### Binary Grid | ||
![](../../img/tinyseed_binarygrid/binarygrid.jpg) | ||
|
||
## Size, Offset and Padding Reference | ||
The general logic for how these are processed is: | ||
|
||
1. Krux first looks for a square (Which works best if with a well lit square, with clean edges, on a dark background) | ||
2. This square is checked and if the ratio of length to height is within a defined range for the given seed type, the square is further processed. (Uses the aspect_high and aspect_low variables) | ||
3. An X and Y offset are applied to work out the corner of the seed grid within the seed plate. Some devices like the Maix Amigo use a mirrored coordinate system and some seed types will have a slightly different layout on the front and back of the plate. (Uses the x_offset and y_offset variables, p0 for the front face and p1 for the reverse face) | ||
4. The location of each cell within the 12x12 grid is calculated. (This uses the xpad and ypad variables) | ||
5. Krux uses the grid created in 4 to evaluate which cells are marked and which are blank, once a seed with a valid checksum is detected, the user can then confirm the dots. | ||
|
||
If you have a different type of grid that you want to use, you will need to edit the offsets and padding numbers in tiny_seed.py. (All of the sizes are scaled based on the size of the square detected in step 1...) | ||
|
||
You can match the pre-sets for supported key-types to the physical dimensions of the tag as shown below. (The numbers for these offsets are in 1/10th of a millimeter) | ||
|
||
![](../../img/tinyseed_binarygrid/size_reference.jpg) |
Oops, something went wrong.