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

Firmware command #3

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Firmware command #3

merged 2 commits into from
Apr 3, 2024

Conversation

mchack-work
Copy link
Member

@mchack-work mchack-work commented Mar 28, 2024

Replace SignPH() with GetFWDigest()

See tillitis/tkey-sign-cli#21 for a way of testing this.

Copy link
Member

@dehanj dehanj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just minor comments.

tkeysign.go Outdated Show resolved Hide resolved
tkeysign.go Outdated Show resolved Hide resolved
tkeysign.go Outdated Show resolved Hide resolved
tkeysign.go Show resolved Hide resolved
tkeysign.go Outdated Show resolved Hide resolved
tkeysign.go Outdated Show resolved Hide resolved
Instead of providing a function to get a pre-hashed signature,
SignPh(), we provide a function to ask the signer app for a hash
digest of some bytes of the firmware, GetFWDigest().

See corresponding changes in tkey-device-signer.
@dehanj dehanj merged commit 77b1b8b into main Apr 3, 2024
1 check passed
@dehanj dehanj deleted the firmware-commands branch April 3, 2024 06:57
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 this pull request may close these issues.

None yet

2 participants