Commit Graph

269 Commits

Author SHA1 Message Date
J.C. Jones b84f69c066 Add tests for the web api methods 2020-08-13 16:52:13 -07:00
J.C. Jones 8d61804d6e All targets and features for tests 2020-08-13 09:25:11 -07:00
J.C. Jones aa50f1b712 stubs for credential add 2020-08-12 23:52:30 -07:00
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 3f95f89e9b Pull the warp WebAPI into its own rs file 2020-08-12 22:13:07 -07:00
J.C. Jones e0d06d3d2b virtualdevices mod.rs cleanups 2020-08-12 22:05:46 -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 c270f85038 Check CFGetTypeID for GetProperty on MacOS 2020-08-10 14:49:25 -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 2cb1ff04fb crates.io listing improvements 2020-08-07 12:26:15 -07:00
J.C. Jones 663408ee0f edition 2018 fix for OpenBSD
Also line ending in run_cross.sh
2020-08-06 13:46:22 -07:00
J.C. Jones 9f365c6c34 stub fix 2020-08-06 13:25:35 -07:00
J.C. Jones 43c3bb0b9c cargo fix freebsd 2020-08-06 13:25:35 -07:00
J.C. Jones 2f671b1507 more targets 2020-08-06 13:25:35 -07:00
J.C. Jones df2d127278 cargo fix, move to edition 2018 2020-08-06 13:25:35 -07:00
J.C. Jones 9c65976d8a Without having to cheat with a closure, static lifetime no longer is necessary for the StateCallback's Fn trait. Thanks Dana 2020-08-03 20:31:00 -07:00
J.C. Jones e4cbf17b81 Rework callbacks in all other platforms 2020-08-03 20:31:00 -07:00
J.C. Jones d5d1a49424 Genericize StateCallback for MacOS 2020-08-03 20:31:00 -07:00
J.C. Jones c67bdd9e98 Remove boxfnonce and rename to StateCallback on MacOS 2020-08-03 20:31:00 -07:00
J.C. Jones 4b04311128 Don't try to fuzz on Windows 2020-07-27 20:22:55 -07:00
J.C. Jones db432d1213 Fixup Device struct initialization 2020-07-27 20:22:55 -07:00
J.C. Jones 0b264c0537 Oops, ASAN is only for Linux 2020-07-27 20:22:55 -07:00
J.C. Jones 406a89664d Unlock winapi to 0.3+ 2020-07-27 20:22:55 -07:00