63 Commits

Author SHA1 Message Date
b0d990f708 Added authorisation. 2019-09-13 18:52:37 +01:00
8a62dee131 Fix relying party verification.
Fix to throw error when relying party uses the wrong application
parameter when requesting a signature.
2019-09-11 15:48:28 +01:00
4dac7dd014 Allow on-demand file loading and unloading. 2019-09-10 21:42:04 +01:00
3cc7032cf4 Fixed typo in Certificates.hpp.
Updated GenCErtificates.sh script to accomodate change.
2019-09-10 17:22:58 +01:00
152bc721e1 Implemented automated certificate generation.
Removed existing certificates as private key was shared.
Updated makefile to require certificate generation.
2019-09-10 17:22:58 +01:00
89b4b7d949 Additional error handling for rarer states.
Ensure std::map::at is not blindly applied without checking that the key
actually exists.

Fixes crashes where u2f client on PC/browser expects channel open, but
service has been restarted.
2019-09-10 17:22:52 +01:00
f8d077634e Fix missing signal handling.
Plug signal handler into additional signal. Fixes no cleanup (corruption)
on stopping.

May impact #6.
2019-09-10 10:31:54 +01:00
c14c6d0f0d Fix incorrect paths for debug files. 2019-09-10 10:31:06 +01:00
1497e620c1 fixup! Fix host-descriptor deleter specialisation. 2019-09-07 16:43:16 +01:00
5921e6ea48 Fix host-descriptor deleter specialisation. 2019-09-06 13:41:40 +01:00
dac4617d70 Use client-server processing to avoid constant super-user invocation. 2019-09-05 21:37:33 +01:00
01dad2ee0a Reformatting. 2019-08-23 13:27:30 +01:00
03dba21ad4 Update gitignore.
Added clang-formatting specification.
2019-08-23 13:26:06 +01:00
0606772cc3 Basic U2FDevice implementation. 2019-08-23 13:00:22 +01:00
2987cbe26e Separated waiting for message from acting on message.
Necessary refactoring of parameter types propagated through source.
2019-08-21 15:55:33 +01:00
2f8e417d00 Fix building on Android NDK. 2019-08-18 17:22:01 +01:00
87ac9c5946 Added utility functions to load keys from streams. 2019-08-18 17:06:23 +01:00
4ffdeb3eda Hopefully improved attestation certificate creation README.
Fixes #3.
2019-08-05 13:07:07 +01:00
f3fa1d29ba Replaced incorrect #if with #ifdef.
Fixes #2.
2019-08-05 13:07:07 +01:00
0523b49c72 Added .report_length explanation. 2019-06-26 17:05:13 +01:00
e6739cc5af Added android build descriptions. 2019-06-26 16:49:38 +01:00
06d7e8e9a8 Fixes for cross-platform build. 2019-06-26 13:02:45 +01:00
605fa0b691 Improved build for cross-compilation. 2019-06-26 12:26:27 +01:00
7bf3804846 Compile fixes for alternative compilers. 2019-06-26 11:26:25 +01:00
ee5365c44f Added cleaning submodules to build. 2019-06-22 19:18:29 +01:00
613b607e1a Fixed link in README.
Markdown formatting fix.
2019-06-22 16:21:34 +01:00
731b52d816 Fixed unidentified command. Fixed erroring. 2019-06-22 16:17:30 +01:00
e7eba249f5 Fixed build. 2019-06-22 12:32:45 +01:00
2956db9b06 Fixed macros for architectures. 2019-06-19 21:56:21 +01:00
1ca7d61d88 Set architecture. 2019-06-19 19:42:20 +01:00
241922a16c Refactored main functionality to allow easier adoption into other
projects.
2019-06-19 19:28:56 +01:00
6f329f7f3d Fixed warnings. 2019-06-19 19:27:39 +01:00
407d147356 Improved Makefile. Added initial Android support. 2019-06-15 22:54:43 +01:00
01b523d072 Improved Makefile. Added initial Android support. 2019-06-15 22:54:43 +01:00
fe525cb634 Updated USB VID & PID.
Also fixed missing image for Readme.
2018-09-25 13:57:34 +01:00
3d05208e1a Removed spurious init.txt file. 2018-08-13 17:06:35 +01:00
2d5f897a4a Added license header to files. 2018-08-13 17:05:17 +01:00
5d92adf0d0 Added license 2018-08-13 16:57:05 +01:00
84d9e786bc Replaced TOC. 2018-08-13 16:48:05 +01:00
d895b98fac Fixed paths. 2018-08-13 16:40:19 +01:00
34c8898801 Improved readme. 2018-08-13 17:01:34 +01:00
d513724b0e Improved service. 2018-08-12 13:03:59 +00:00
5c908d8530 Made a service to enable auto-starting. 2018-08-12 12:00:38 +00:00
0de7ee2fd7 Updated readme. 2018-08-12 12:17:01 +01:00
a51b8955e2 Improved error handling. 2018-08-12 10:12:42 +00:00
c53386c4f4 Moved temp log files. 2018-08-12 09:43:58 +00:00
76d92d4cd7 Renamed project. 2018-08-12 09:38:39 +00:00
cf69741c24 Reused ACT (led0) light as activity light. 2018-08-12 11:33:41 +01:00
2b01dbc605 Added ping command functionality. 2018-08-10 18:31:22 +00:00
a20c190fea Improved U2F HID error handling.
Fixed U2FMessage's error reporting.
Implemented better error reporting.
2018-08-10 14:24:26 +00:00