Howard Yang
17ecd46b04
Generate valid structure for MakeCredential params
...
* Add crate arbitrary as ctap's optional dependency, when feature "fuzz"
is activated.
* Derive Arbitrary for all the necessary types in order to generate the
concrete types from random bytes.
* Add a fuzz target that transforms the input to valid format for
MakeCredential.
2022-03-22 19:06:20 +08:00
kaczmarczyck
ba0c583617
introduces Transport and Channel ( #444 )
2022-03-14 18:40:24 +01:00
kaczmarczyck
163057daf0
Clean public HID interface ( #442 )
...
* clear public HID interface and tests
* fixes nits
2022-03-14 12:08:44 +01:00
Shiling Wang
2050f9f272
Replaced Libtock driver clock with embedded_time::Clock ( #422 )
...
* Replaced Libtock driver clock with embedded_time::Clock
* Add unittest and address some comments
* Add unittest and address some comments
2022-03-10 16:18:47 +01:00
Fabian Kaczmarczyck
c595980a3b
new process_message function and command enum
2022-03-07 15:19:49 +01:00
Julien Cretin
18faf9f38f
Introduce a trait to abstract the CTAP environment
...
The end goal is to provide users with:
- the Env trait that they should implement
- the Ctap struct that they can use
2022-03-03 17:32:48 +01:00
kaczmarczyck
40e912f8ac
fixes the serde version ( #407 )
...
* fixes the serde version
* explicitly sets the version in the main Cargo.toml
2021-11-15 13:09:40 +01:00
Julien Cretin
7418196814
Specificy encoding when opening rust-toolchain file
...
This probably is just ASCII.
2021-08-30 11:41:14 +02:00
Julien Cretin
b5b9d3f6e0
Fix ctap2 fuzz targets to use prod cbor parsing
...
This fixes a left-over from #329 .
2021-08-11 16:00:30 +02:00
David Drysdale
7719078d46
cbor: rename crate to sk-cbor
...
In anticipation of publishing to crates.io, which already has a `cbor`
crate.
2021-06-16 17:16:05 +02:00
David Drysdale
f2812e4fe2
cbor: drop std feature, use core in tests ( #327 )
2021-06-16 15:40:18 +02:00
Julien Cretin
4253854cf1
Remove ram_storage feature
...
We don't need to build a production key without persistent storage. Tests and
fuzzing continue to use the std feature to use the RAM implementation (that does
sanity checks).
2020-12-10 13:06:05 +01:00
Fabian Kaczmarczyck
ed59ebac0d
command timeout for GetNextAssertion
2020-11-26 14:56:52 +01:00
mingxguo27
4edec261bc
Resolved PR comments
2020-10-15 13:28:27 +00:00
mingxguo27
b43d618c03
Completed hex
2020-10-09 11:10:25 +00:00
mingxguo27
ed4514c3e0
Add initial corpus files
2020-10-08 19:14:38 +00:00
mingxguo27
9493014b13
Resolved PR comments
2020-10-02 17:18:36 +00:00
mingxguo27
f79a659e69
Resolved PR comments and added more fuzz targets.
2020-09-29 16:30:41 +00:00
mingxguo27
8231c89207
Formatting
2020-09-25 19:26:35 +00:00
mingxguo27
e8e52ff58a
Added more fuzz targets
2020-09-25 19:05:07 +00:00
mingxguo27
3a42ab15ae
Added fuzzing helper library to increase code reusability and refactored first fuzz target
2020-09-25 19:03:45 +00:00
Guillaume Endignoux
85a34ad085
Migrate import statements and macros to Rust 2018.
2020-09-24 11:28:24 +02:00
mingxguo27
d0a1f707bc
Fixed dependencies
2020-09-23 14:33:05 +00:00
mingxguo27
6cab8aaa20
Resolved comments
2020-09-23 14:33:05 +00:00
mingxguo27
6e8eecce59
Resolved comments
2020-09-23 14:33:05 +00:00
mingxguo27
3a6a78bbf2
Resolved PR comments
2020-09-23 14:33:05 +00:00
mingxguo27
69a440fddb
Added first fuzzing target
2020-09-23 14:33:05 +00:00