19 Commits

Author SHA1 Message Date
Dain Nilsson
1edb0d9d4e Move stuff around.
- Rename fido2/pyu2f -> fido2/_pyu2f
- Partial docstrings, with type information.
- Rewrote server example.
2018-07-03 14:57:00 +02:00
Dain Nilsson
8f70d0e55d Use built-in Exceptions more. 2018-04-12 21:51:58 +02:00
Dain Nilsson
0317ff72e6 Clean up a little. 2018-04-12 17:34:00 +02:00
Dain Nilsson
4a16f4eb6d Add conversion between string/int keys for AttestationObject 2018-04-12 15:18:42 +02:00
Dain Nilsson
0d9e909ea2 Fix test data. 2018-04-05 13:45:44 +02:00
Dain Nilsson
29831c0005 Rename fido_host -> fido2. 2018-04-05 11:05:30 +02:00
Dain Nilsson
7146c609ea Add certificate correctness validation (breaks tests). 2018-04-05 10:35:48 +02:00
Dain Nilsson
0f2f7c9c88 Add .get() method to ClientData. 2018-04-04 21:56:29 +02:00
Dain Nilsson
c300ec8e35 Make CoseKey subclass dict. 2018-04-04 21:38:34 +02:00
Dain Nilsson
a143baa2b5 Refactor quite a bit, add methods for verifying signatures. 2018-04-04 16:15:29 +02:00
Dain Nilsson
662e61ffd0 Add tests for hid error and keepalive. 2018-03-22 17:20:44 +01:00
Dain Nilsson
afcb69e277 Add ability to react to keepalive status messages. 2018-03-22 14:39:57 +01:00
Dain Nilsson
815085a3f7 Map CtapErrors to ClientError for clients. 2018-03-21 12:33:00 +01:00
Dain Nilsson
ab1aebdc95 Move CtapError to ctap.py 2018-03-21 10:40:41 +01:00
Dain Nilsson
413f527921 Add test with invalid appId. 2018-03-21 10:12:49 +01:00
Dain Nilsson
5d6fd81655 Use fix problems with str/unicode on Python 2. 2018-03-19 17:11:03 +01:00
Dain Nilsson
1711b97570 Increase timeout in test. 2018-03-16 17:01:36 +01:00
Dain Nilsson
3857fd2dce Fix some broken tests. 2018-03-16 12:38:21 +01:00
Dain Nilsson
1b419592bf Initial import. 2018-03-16 12:13:15 +01:00