Commit Graph

28 Commits

Author SHA1 Message Date
J.C. Jones 5e85019f1c Fix pre rust 1.43 warning for directives on conditionals 2020-08-12 22:30:41 -07:00
J.C. Jones 9999c339f5 Build a software U2F stub, add tests to authenticatorservice and util, and refactor StateCallback to be constructed outside the Register and Sign methods 2020-08-12 21:58:26 -07:00
J.C. Jones e52d163df6 Add a higher-level AuthenticatorService that can query multiple backends
- Add the basic structure for virtual devices:
  a framework for macos_touchid, and the WebDriver WPT virtual device mechanism

This commit will get broken into logical subsections, utlimately, but it's easier to rebase for now as one monolith.
2020-08-10 15:07:00 -07:00
J.C. Jones 51c576a2db Create status channel for MacOS 2020-08-10 14:58:49 -07:00
J.C. Jones b820bd23dc Add authenticator USB and Firmware details to the C API
Fixes #92
2020-08-10 14:49:25 -07:00
J.C. Jones 9c403d0346 Issue #50 - Rename project to authenticator-rs with the package name authenticator 2019-03-27 10:50:54 -07:00
J.C. Jones 9818cb7d99 rustfmt updates for rust 1.31.0 2018-12-14 10:43:02 -07:00
J.C. Jones 790240a7cb Fix #35 - Run Clippy at TravisCI, and clean up Clippy warnings (#70)
* Add fuzzing corpuses to gitignore

* Fix #35 - Run Clippy at TravisCI, and clean up Clippy warnings

Lots of this is taken from https://github.com/serianox/u2f-hid-rs/tree/ci --
thanks @serianox!
2018-10-25 12:00:37 +02:00
J.C. Jones 78a71f2b46 Make rust fmt run on "stable" only for TravisCI, and run it. (#69) 2018-10-23 01:53:29 -06:00
J.C. Jones 9a79669796 rustfmt 2018-10-22 16:22:45 +02:00
J.C. Jones ea7244febb Fix #65 - Update to WinAPI 0.3 (#66)
This updates to the new package layouts for the WinAPI 0.3.x crate, which doesn't appear to have had any semantic changes over 0.2.x.
2018-09-20 13:40:08 -07:00
Tim Taubert 75f7c07668 Bug 1459174 - Web Authentication - Use sha2 crate instead of rust-crypto for example/main r=jcj 2018-05-04 14:41:50 +02:00
Tim Taubert acf6c21a4c Bug 1459173 - Web Authentication - rustfmt u2f-hid-rs r=jcj 2018-05-04 14:41:24 +02:00
Tim Taubert ade23f7956 Sync logging changes from mozilla-central 2018-04-23 12:05:35 +02:00
J.C. Jones f1f0bce681 Example fix, and README update 2018-02-26 09:08:20 -07:00
J.C. Jones 275ab2d98d rustfmt 2018-02-26 09:08:20 -07:00
Tim Taubert f112c44307 Bug 1406471 - Web Authentication - Implement FIDO AppID Extension r=jcj,smaug 2018-02-22 11:11:47 +01:00
J.C. Jones 39b0e370d9 Be a bit safer with the example tool 2018-01-26 11:06:24 -08:00
Tim Taubert 6dded23378 Bug 1406467 - Web Authentication - WD-07 Updates to Make Assertion r=jcj,smaug
Summary:
Add support for PublicKeyCredentialRequestOptions.userVerification. For now
this basically means that we'll abort the operation with NotAllowed, as we
don't support user verification yet.

Pass PublicKeyCredentialDescriptor.transports through to the token manager
implementations. The softoken will ignore those and pretend to support all
transports defined by the spec. The USB HID token will check for the "usb"
transport and either ignore credentials accordingly, or abort the operation.

Note: The `UserVerificationRequirement` in WebIDL is defined at https://w3c.github.io/webauthn/#assertion-options

Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1406467

Differential Revision: https://phabricator.services.mozilla.com/D338
2018-01-10 10:55:38 +01:00
Tim Taubert 08d3b5495d Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj 2017-11-30 10:38:36 +01:00
Tim Taubert 4d965aacd7 Bug 1400668 - Process key handle exclusion list when registering a token r=jcj 2017-09-21 16:11:18 +02:00
J.C. Jones c02a80e085 Add MPL license 2017-09-13 15:47:07 -07:00
Manish Goregaokar 93347e77b7 Rustfmt 2017-08-10 16:18:55 -07:00
Manish Goregaokar 5e6149efc3 Fix most clippy issues 2017-08-10 16:18:55 -07:00
Tim Taubert 58508c80e2 Give examples/main timeouts in milliseconds 2017-08-03 22:53:01 +02:00