-
Notifications
You must be signed in to change notification settings - Fork 14
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
U2F implementation #56
base: main
Are you sure you want to change the base?
Commits on May 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1e6ca27 - Browse repository at this point
Copy the full SHA 1e6ca27View commit details -
Configuration menu - View commit details
-
Copy full SHA for f50f336 - Browse repository at this point
Copy the full SHA f50f336View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d660d - Browse repository at this point
Copy the full SHA 98d660dView commit details
Commits on May 29, 2022
-
Progress on internal U2F protocol
This implements enough of the CTAP1 protocol to complete transactions, albeit with hard-coded responses that don't pass cryptographic muster.
Configuration menu - View commit details
-
Copy full SHA for e4b1cd2 - Browse repository at this point
Copy the full SHA e4b1cd2View commit details -
Update U2F implementation to be ready for crypto drop-in
This changes the u2f implementation around somewhat, so it no longer hard-codes lengths of some variable length fields. It moves the crypto functions out to their own file, ahead of implementation.
Configuration menu - View commit details
-
Copy full SHA for ae3e5f7 - Browse repository at this point
Copy the full SHA ae3e5f7View commit details
Commits on Jun 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 02ff0f7 - Browse repository at this point
Copy the full SHA 02ff0f7View commit details
Commits on Jul 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 260af72 - Browse repository at this point
Copy the full SHA 260af72View commit details -
Fix reading of config zone to get all 128 bytes, split initialisation into a helper function and initial (non-working) version of genkey.
Configuration menu - View commit details
-
Copy full SHA for ed6dc1d - Browse repository at this point
Copy the full SHA ed6dc1dView commit details
Commits on Aug 21, 2022
-
This sets up slot configs, suspected bit packing errors causing this not to work. It also exposes the lock functions in Python. Be very careful.
Configuration menu - View commit details
-
Copy full SHA for 6995c47 - Browse repository at this point
Copy the full SHA 6995c47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cec889 - Browse repository at this point
Copy the full SHA 6cec889View commit details
Commits on Aug 29, 2022
-
Provision ATECC108A and offer some initial helper functions
This allows provisioning the 108A to the point that genkey can be called, and offers helper functions for some basic funtionality. These functions can easily brick your badge, so don't run them unless you know what you're doing. The crypto outputs haven't been verified yet.
Configuration menu - View commit details
-
Copy full SHA for 7b0596a - Browse repository at this point
Copy the full SHA 7b0596aView commit details
Commits on Oct 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 42c115c - Browse repository at this point
Copy the full SHA 42c115cView commit details
Commits on Nov 27, 2022
-
U2F Implementation includes crypto functions
At this stage, the critical cryptographic functions of the U2F implementation are linked in. Unfortunately, it's not yet working, currently because the signature parameters aren't parsing correctly. I'm somewhat concerned that the fido raw message formats document specifies that cryptographic signatures are over the input bytestring, rather than the SHA-256 of that bytestring. The 108A only allows signatures of 32-byte strings, so I've gone that way. I don't think that's the problem I'm seeing yet though, I think it's a more general problem parsing. In addition, the code is currently hard-coded to use handle 1 for attestation and handle 6 for authentication. This is because only handle 6 is set up correctly on my main test device. Handle 1 will need the keys from keys/* loaded into it - I'm aware that it's silly to put a key in git, but in this case it's not part of the trust path and we have no way of distributing the key without exposing it unless we do it in person in 2024. No work yet on setting up the UI.
Configuration menu - View commit details
-
Copy full SHA for 51ee313 - Browse repository at this point
Copy the full SHA 51ee313View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e249c - Browse repository at this point
Copy the full SHA 91e249cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e26308f - Browse repository at this point
Copy the full SHA e26308fView commit details
Commits on Nov 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2a66ea5 - Browse repository at this point
Copy the full SHA 2a66ea5View commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 64564fd - Browse repository at this point
Copy the full SHA 64564fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 237bf9b - Browse repository at this point
Copy the full SHA 237bf9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaba9ee - Browse repository at this point
Copy the full SHA eaba9eeView commit details
Commits on Apr 4, 2024
-
Fix signature size, allowing authentication to work (!)
Co-authored-by: Skyler Mansfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99487ac - Browse repository at this point
Copy the full SHA 99487acView commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 44df071 - Browse repository at this point
Copy the full SHA 44df071View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a347cc - Browse repository at this point
Copy the full SHA 3a347ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb4a4f2 - Browse repository at this point
Copy the full SHA fb4a4f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 020440b - Browse repository at this point
Copy the full SHA 020440bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 818d729 - Browse repository at this point
Copy the full SHA 818d729View commit details -
Configuration menu - View commit details
-
Copy full SHA for b440c3c - Browse repository at this point
Copy the full SHA b440c3cView commit details
Commits on Apr 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7e94e9d - Browse repository at this point
Copy the full SHA 7e94e9dView commit details
Commits on Jul 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for be695b2 - Browse repository at this point
Copy the full SHA be695b2View commit details