Skip to content

Add test for hacker device when checking for genuine - #815

Merged
robin-nitrokey merged 1 commit into
Nitrokey:mainfrom
AdityaMitra5102:genuine-hacker
Nov 4, 2026
Merged

robin-nitrokey merged 1 commit into
Nitrokey:mainfrom
AdityaMitra5102:genuine-hacker

Conversation

@AdityaMitra5102

Copy link
Copy Markdown
Contributor

Apart from adding the check for hacker device certs, I also moved the register_complete check up before we test for the certificates. This is because, I feel, checking for replay resistance first before the certificates ensure a device is not passing the 'valid certificate' check with a replayed response.

@AdityaMitra5102
AdityaMitra5102 requested a review from a team as a code owner November 3, 2026 15:09
@AdityaMitra5102
AdityaMitra5102 requested review from daringer, james-knippes, mmerklinger, robin-nitrokey and sosthene-nitrokey and removed request for a team November 3, 2026 15:09
@robin-nitrokey
robin-nitrokey merged commit d87ce99 into Nitrokey:main Nov 4, 2026
25 checks passed

This branch was previously deployed

1 inactive deployment
testpypi — d87ce997 Deployed Nov 4, 2026 by robin-nitrokey via Publish to TestPyPI #621
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