Skip to content

HOTP Security Token Tutorial App#335

Merged
bors[bot] merged 28 commits intomasterfrom
hotp-app
Jul 25, 2023
Merged

HOTP Security Token Tutorial App#335
bors[bot] merged 28 commits intomasterfrom
hotp-app

Conversation

@brghena
Copy link
Copy Markdown
Contributor

@brghena brghena commented Jul 25, 2023

HOTP Security Token tutorial.

This is in conjunction with tutorial text which will soon be pulled into the Tock Book. Multiple folders here are for checkpoints/milestones (whatever you want to call them) along the way. It is a little annoying that there's duplicated code across the apps, but at least we do check that each compiles. I've been careful to make sure that changes are synced across all of them.

Relies on tock/tock#3562 for the kernel side of things.

@brghena
Copy link
Copy Markdown
Contributor Author

brghena commented Jul 25, 2023

I've lost the thread on some of the issues we've run into lately and I'm not sure why CI is broken for this. Was there some PR that fixes RISC-V boards failing with "thread 'main' panicked at 'called Result::unwrap() on an Err value: Custom { kind: InvalidInput, error: "protected_region_size = 96 is too small for the TBF headers. Header size: 100" }',"? Maybe tock/elf2tab#74 or tock/elf2tab#75?

@bradjc
Copy link
Copy Markdown
Contributor

bradjc commented Jul 25, 2023

Oh, because we ran CI on #327 it updated elf2tab and now no CI will pass.

Merging #327 will fix this. Basically for riscv builds we aren't reserving enough space for the header any more with the fixed addresses.

alevy and others added 27 commits July 25, 2023 11:09
Starter has a basic HOTP application with a fixed secret
Milestone one allows for changing of the secret
Milestone two saves the secret in Flash
Complete application allows for multiple secrets (one per button)
Although maybe we should keep it? Seems neat, but I don't want to
maintain changes between all of them right now
Starter has a basic HOTP application with a fixed secret
Milestone one allows for changing of the secret
Milestone two saves the secret in Flash
Complete application allows for multiple secrets (one per button)
Although maybe we should keep it? Seems neat, but I don't want to
maintain changes between all of them right now
@bradjc
Copy link
Copy Markdown
Contributor

bradjc commented Jul 25, 2023

bors r+

@bors
Copy link
Copy Markdown
Contributor

bors Bot commented Jul 25, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors Bot merged commit 5d42123 into master Jul 25, 2023
@bors bors Bot deleted the hotp-app branch July 25, 2023 15:20
tyler-potyondy pushed a commit to tyler-potyondy/libtock-c that referenced this pull request Mar 13, 2024
335: HOTP Security Token Tutorial App r=bradjc a=brghena

HOTP Security Token tutorial.

This is in conjunction with tutorial text which will soon be pulled into the Tock Book. Multiple folders here are for checkpoints/milestones (whatever you want to call them) along the way. It is a little annoying that there's duplicated code across the apps, but at least we do check that each compiles. I've been careful to make sure that changes are synced across all of them.

Relies on tock/tock#3562 for the kernel side of things.

Co-authored-by: Amit Aryeh Levy <amit@amitlevy.com>
Co-authored-by: Leon Schuermann <leon@is.currently.online>
Co-authored-by: Branden Ghena <brghena@berkeley.edu>
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.

4 participants