Commit Graph

63 Commits (748d516ac4d96d6e87577dfe877d7232f4403022)

Author SHA1 Message Date
matejcik 748d516ac4 feat(core): introduce timeout to loop.wait()
12 months ago
matejcik 0c2851f379 refactor(core): get rid of passing Context around
12 months ago
grdddj 393bc48b6b fix(core): improve error popups
1 year ago
Andrew Kozlik 4cd88e16f7 feat(core): Introduce use_compact option for FIDO2.
1 year ago
Andrew Kozlik edeccde9f3 fix(core): Show app icon in Fido2ConfirmNoCredentials.
1 year ago
Andrew Kozlik 00dde0e312 feat(core): Handle .dummy RP ID in Chrome FIDO2.
1 year ago
Andrew Kozlik 2ee5b0aa15 fix(core): Fix FIDO2 falling back to U2F.
1 year ago
Andrew Kozlik deb38a2db5 feat(core): Ignore channel ID in U2F.
1 year ago
grdddj 996fec5aae chore(core): delete newlines in strings where they do not delimit useful info
1 year ago
grdddj 61277bd80a feat(core/ui): implement webauthn layouts for UI2
2 years ago
grdddj 0c3423b1c7 chore(core): decrease webauthn size by 1270 bytes
2 years ago
Martin Milata 2f987c3c5e refactor(core/ui): remove dependencies on old layouts
2 years ago
grdddj 9fc5bb546b style(core): full pyright-based type-checking
2 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
3 years ago
Martin Milata 2a91052b02 refactor(core/ui): move altcoin and webauthn layouts to separate file
3 years ago
Martin Milata 875cc0cb1a refactor(core): convert apps.webauthn to layouts
3 years ago
Andrew Kozlik 97ca1e3341 chore(core): Add offset parameter to cbor.decode().
3 years ago
matejcik b1e4246b46 refactor(core/webauthn): make sure KEY_AGREEMENT_*KEY is generated once per power-up
3 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
3 years ago
Martin Milata f1382bf892 refactor(core): model-dependent UI component directories
3 years ago
Pavol Rusnak 1e8673bf5f style(core/apps): use new syntax for typing
4 years ago
Martin Milata ee64b65b26 refactor(core): call super().__init__() in subclasses
4 years ago
Pavol Rusnak 952adc5961
style(core): use PEP515 Underscores in Numeric Literals
4 years ago
matejcik 4ca8f7b0d6 style(core): use relative imports everywhere
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago
Tomas Susanka a6acefbdf5 core: wipe before reset and recovery; introduce 'intialized' field
4 years ago
matejcik 872e0fb0e0 core: lower scheduler resolution to milliseconds
4 years ago
matejcik 2d0206c043 core: replace workflow.on_start/on_close with workflow.spawn
4 years ago
Andrew Kozlik 5469acfabf core/webauthn: Cache user verification for 3 minutes.
4 years ago
Andrew Kozlik b867ac1d01 core/webauthn: Implement FIDO2 unlocking from softlock.
4 years ago
Andrew Kozlik 0f81886c9f core/webauthn: Allow confirm_dialog() to return a new state as an alternative to the user response.
4 years ago
Andrew Kozlik c8ae5c157e core/webauthn: Implement U2F unlocking from softlock.
4 years ago
matejcik 8ca7ffc3b8 core: use wire.PinCancelled/PinInvalid instead of custom versions
4 years ago
Andrew Kozlik 9e4a8ca785 core/webauthn: Improve error codes for uninitialized device. Return ERR_OPERATION_DENIED only upon user decline or timeout, otherwise it cancels the operation on all connected authenticators.
4 years ago
Andrew Kozlik fca92d7344 core/webauthn: Update attestation certificate to comply with WebAuthn requirements.
4 years ago
Andrew Kozlik 25a39ea729 core/webauthn: Fix handling of interleaving frames to comply with the U2F HID specification.
4 years ago
Andrew Kozlik b3cd760df0 core/webauthn: Disable CTAPHID_WINK function.
4 years ago
Andrew Kozlik e5008eb332 core/webauthn: Remove indistinguishable credentials from the allow list.
4 years ago
Andrew Kozlik cda9de8dd1 core/webauthn: Add maxCredentialCountInList and maxCredentialIdLength to authenticatorGetInfo response.
4 years ago
Andrew Kozlik 0af0e06d5b core/webauthn: Truncate names in credential data to at most 100 bytes.
4 years ago
Andrew Kozlik f610787f8d core/webauthn: Clean up bytes/bytearray typing around uctypes.
4 years ago
Andrew Kozlik e378820f7f core/webauthn: Implement support for Ed25519 signatures in FIDO2.
4 years ago
matejcik a79279115e core: move confirm_signal evaluation into concrete Layout implementations
4 years ago
Andrew Kozlik 289d8276eb core/fido2: check for HID timeout in send_cmd() (#791)
4 years ago
Andrew Kozlik 0432f5e801 webauthn: Add use_self_attestation flag to FIDO apps.
5 years ago
matejcik 67b2ba558b core: auto-generate list of FIDO known apps
5 years ago
Andrew Kozlik 420a4b8ba7 core/webauthn: Close U2F confirmation screen if browser stops polling for more than 3 seconds.
5 years ago
Andrew Kozlik 0b851d6959 core/webauthn: Reply with ERR_CHANNEL_BUSY once a U2F request has been declined to stop Chrome from polling.
5 years ago
Andrew Kozlik 4d3c634732 core/webauthn: Use different return code when user verification is requested but PIN is not set to get better browser behavior. Related to cf6949332f.
5 years ago
Andrew Kozlik a63ff8f9b4 core/webauthn: Add bogus app ID used by Firefox to indicate error in U2F. Figure out which error to display based on past U2F_AUTHENTICATE check-only requests on the same channel.
5 years ago