27 Commits

Author SHA1 Message Date
Arthur Gautier df28de2315 Retrofit older api and implement assertion
Signed-off-by: Arthur Gautier <baloo@gandi.net>
2019-04-22 23:27:45 +00:00
Arthur Gautier 65a3850b37 disable old api
Signed-off-by: Arthur Gautier <baloo@gandi.net>
2019-04-01 19:27:33 +00:00
Arthur Gautier f9ffd7d0ba fido2 implementation of make_credentials
Signed-off-by: Arthur Gautier <baloo@gandi.net>
2019-04-01 19:27:33 +00:00
Arthur Gautier f7e8e4520d deprecated u2fmanager for fidomanager
Signed-off-by: Arthur Gautier <baloo@gandi.net>
2019-03-29 05:05:34 +00: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
J.C. Jones 6da667a37f Run rustfmt, and configure Travis to enforce rustfmt. 2017-07-27 10:00:53 -07:00