48 Commits

Author SHA1 Message Date
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 bd1f86042c Update to rustfmt-preview for travis. Update rustfmt 2018-06-12 09:28:13 -07:00
Greg V df493ee73a rustfmt
+ mention FreeBSD in readme
2018-06-12 09:00:59 -07:00
Greg V 48d87933a1 Extract hidproto module from linux::hidraw
Make the protocol parts independent of Linux code, in preparation for
adding FreeBSD support.
2018-06-12 09:00:59 -07:00
Tim Taubert acf6c21a4c Bug 1459173 - Web Authentication - rustfmt u2f-hid-rs r=jcj 2018-05-04 14:41:24 +02:00
Tim Taubert 198fefad6f Bug 1444547 - Propagate proper error codes from u2f-hid-rs to WebAuthn r=jcj 2018-03-14 20:09:56 +01:00
J.C. Jones 275ab2d98d rustfmt 2018-02-26 09:08:20 -07:00
Tim Taubert ed0728d259 One StateMachine to rule them all, fixes #58 2017-11-21 19:39:09 +01:00
Tim Taubert 3272176783 Linux-part of #47: Implement per-device threads, don't use the KeyHandleMatcher 2017-11-20 18:03:11 +01:00
Tim Taubert d52c7a1deb Bug 1404556 - Support libc::ioctl() call on musl libc 2017-10-04 12:12:55 +02: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
Tim Taubert d5e05c2fd0 rustfmt fixes 2017-09-19 16:42:14 +02:00
Tim Taubert 75cea47bf3 Bug 1400559 - Move runloop code into its own crate r=jcj 2017-09-19 16:02:20 +02:00
Tim Taubert 2f09d61559 Cleanup linux/hidraw, support long item format 2017-09-14 14:44:29 +02:00
J.C. Jones c02a80e085 Add MPL license 2017-09-13 15:47:07 -07:00
Tim Taubert f7f081935d Remove some duplicate code from DeviceMap implementations 2017-08-08 16:22:57 +02:00
Tim Taubert 27325341ae Some more minor cleanup 2017-08-08 16:01:52 +02:00
Tim Taubert 7b2b253ae1 Clean up u2fproto and tests 2017-08-08 15:25:10 +02:00
Tim Taubert 79d09e9f79 Make u2f_version_is_v2() return an io::Result<bool> 2017-08-04 11:38:16 +02:00
Tim Taubert 4ceee629ab Simplify U2F packet communication, remove unused fields 2017-08-02 23:05:27 +02:00
Tim Taubert 3160df4554 Fixes #26: Copy bytes instead of using unsafe casting for HID types 2017-08-02 19:34:56 +02:00
J.C. Jones 6da667a37f Run rustfmt, and configure Travis to enforce rustfmt. 2017-07-27 10:00:53 -07:00