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

Nitrokey:up-pr-nitropads-nx + circleci config fix + Makefile fix #1449

Conversation

tlaurion
Copy link
Collaborator

@tlaurion tlaurion commented Aug 3, 2023

Needed fix so that #1417 builds on CircleCI.

Purism was alone using build/x86/coreboot-git to use their coreboot fork. Now Nitrokey is also using the same directory and needs to switch repo to a specific commit, having all submodules inititalized properly with what is in the repo, reflecting it on disk prior of building.

Putting as draft, but might be a replacement to #1417 since my account is linked to CircleCI and will show build status and permit people to test that no regression happens

TODO

  • Regression testing of HOTP bersion bump on other platforms.

CircleCI status for builds should show up soon, direct link at https://app.circleci.com/pipelines/github/tlaurion/heads/1861/workflows/08f5fbf5-3073-4b60-8793-b64ae6d33743

@tlaurion tlaurion marked this pull request as draft August 3, 2023 19:52
@tlaurion tlaurion changed the title Nitrokey up pr nitropads nx circleci fix makefile fix Nitrokey:up-pr-nitropads-nx + circleci config fix + Makefile fix Aug 3, 2023
@tlaurion tlaurion force-pushed the Nitrokey_up-pr-nitropads-nx_circleci-fix_Makefile-fix branch from 682aafc to 74dd183 Compare August 3, 2023 21:42
krystian-hebel added a commit to Dasharo/heads that referenced this pull request Aug 5, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
daringer and others added 12 commits August 5, 2023 10:05
* use CONFIG_COREBOOT_COMMIT_HASH to enable configuration of commit hash
  inside the board configuration
* add Nitrokey 3 support
* corrected UI issues, when PIN is not set
* add serial number getter
* improve HID calls speed
* Full changelogs to be found here: https://github.com/Nitrokey/nitrokey-hotp-verification/releases
* CONFIG_GPG_DEFAULT_ALGO defaults to RSA 3072 if not set
* currently only p256 is supported as alternative
* added p256 for nitropad ns50/nv41 boards
CircleCI: depend on NV41 for save_cache
Makefile: consider that coreboot-git is now shared between forks on x86 (Nitrokey/Purism share build/x86/coreboot-git now)
modules/coreboot: have clevo/nv boards based on dasharo fork and apply clevo_patches

Addressesses requested change at linuxboot#1417 (review)

co-Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com> and insurgo@riseup.net
@tlaurion tlaurion force-pushed the Nitrokey_up-pr-nitropads-nx_circleci-fix_Makefile-fix branch from 74dd183 to 0c454d5 Compare August 5, 2023 14:06
@tlaurion
Copy link
Collaborator Author

tlaurion commented Aug 5, 2023

@daringer changes in last two commits:

  • modules/coreboot changed to point to dasharo/coreboot, taking into consideration what is under patches/coreboot-clevo_release in the build process to ease quick mitigation between Dasharo release (and dodging Nitrokey'sfork which applied that patch on top of Dasharo/coreboot and nothing else) giving dasharo proper credit for coreboot development and permitting to keep track of missing upstream patches on their side just looking in the patch directory before next release.
  • Makefile modified to be able to deal properly with fork switching and submodules init (thanks @krystian-hebel, I had not the proper git fu to deal with this properly, took me 2 days of testing while still failing, you saved my sanity).

Todo:

daringer pushed a commit to Nitrokey/heads that referenced this pull request Aug 7, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
daringer pushed a commit to Nitrokey/heads that referenced this pull request Aug 7, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Signed-off-by: Markus Meissner <coder@safemailbox.de>
daringer pushed a commit to Nitrokey/heads that referenced this pull request Aug 7, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
krystian-hebel added a commit to Dasharo/heads that referenced this pull request Aug 7, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
krystian-hebel added a commit to Dasharo/heads that referenced this pull request Aug 7, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
krystian-hebel added a commit to Dasharo/heads that referenced this pull request Aug 7, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
krystian-hebel added a commit to Dasharo/heads that referenced this pull request Aug 8, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
krystian-hebel added a commit to Dasharo/heads that referenced this pull request Aug 9, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
@tlaurion
Copy link
Collaborator Author

#1462 approach wins over this one

@tlaurion tlaurion closed this Aug 11, 2023
tlaurion pushed a commit to tlaurion/heads that referenced this pull request Aug 15, 2023
Another approach at linuxboot#1449

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
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.

2 participants