1191 Commits

Author SHA1 Message Date
Conor Patrick
b3712b57fc refactor to reuse more code 2020-03-25 14:57:39 -04:00
Conor Patrick
37769bb735 to support deleted credentials, need to scan all rk slots since it's no longer continuous 2020-03-25 14:57:39 -04:00
Conor Patrick
d677f8c346 add rk delete implementations 2020-03-25 14:57:39 -04:00
Conor Patrick
98bcf647c4 implement rk delete command for cred mgmt 2020-03-25 14:57:39 -04:00
Conor Patrick
682a443f4e refactor credMgmt to parse as subCommandParams, and get ready for delete command 2020-03-25 14:57:39 -04:00
Conor Patrick
a28a05673f definitely need to update rpIdHash 2020-03-25 14:57:39 -04:00
Conor Patrick
3a70ee0ec6 refactor authData and extension handling to work for getNextAssertion 2020-03-25 14:57:39 -04:00
Conor Patrick
872a320abc Fix credential order: need to start with most recent 2020-03-25 14:57:39 -04:00
Conor Patrick
3cbf7ec451 move credProtect checking to credential filtering step 2020-03-25 14:57:39 -04:00
Conor Patrick
748c552eea fix overflow error for 5th resident key 2020-03-25 14:57:39 -04:00
Conor Patrick
98f996fcfe save some ram 2020-03-25 14:57:39 -04:00
Conor Patrick
97eb6bba8a bug fix 2020-03-25 14:57:39 -04:00
Conor Patrick
fdc5a68fcd update info/feature detection details 2020-03-25 14:57:39 -04:00
Conor Patrick
1c1005a0e8 add credprotect parameter to output 2020-03-25 14:57:39 -04:00
Conor Patrick
4831410111 add credProtect extension 2020-03-25 14:57:39 -04:00
Radoslav Gerganov
05bc8bee55 Check return values when parsing CTAP commands 2020-03-21 12:49:05 -04:00
Radoslav Gerganov
7112633779 Fix user presence test when pinAuth is empty
The check_retr macro is evaluating its argument twice, so when we do:

    check_retr( ctap2_user_presence_test(...) )

the user presence function is called twice and the user has to press the
button twice. This is regression introduced with commit 3b53537.
2020-03-21 12:48:05 -04:00
Radoslav Gerganov
79b43a90fd Implement commands for management of resident keys
Implement command 0x41 which is used by OpenSSH for reading RKs. It has
the following subcommands:
 * CMD_CRED_METADATA - get number of saved/remaining RKs
 * CMD_RP_BEGIN/CMD_RP_NEXT - iterate over the saved RPs
 * CMD_RK_BEGIN/CMD_RK_NEXT - iterate over the RKs for a given RP

Fixes issue #374 and issue #314
2020-03-21 11:59:22 -04:00
Conor Patrick
ec7a6fd740
Update STABLE_VERSION 2020-03-16 15:04:45 -04:00
Conor Patrick
f2d6698066 Update version.c 3.1.3 2020-03-16 14:59:01 -04:00
Somebodyisnobody
3c9315e34c Update README.md
Basic steps how to apply updates
2020-03-09 12:06:39 -04:00
Conor Patrick
8ed7157bfe bump 3.1.2 2020-02-27 15:50:46 -05:00
Conor Patrick
28a1b1cc06 limit possible recursions in tinycbor 3.1.2 2020-02-27 15:40:27 -05:00
Conor Patrick
5738bcc7a3 more strict checks in cbor parsing 2020-02-27 15:40:27 -05:00
Conor Patrick
4fb166631d remove SOLO_EXPERIMENTAL default 2020-02-18 11:18:08 -05:00
Conor Patrick
1b862d3b0c fix error return 2020-02-18 11:18:08 -05:00
Conor Patrick
094420b32b overwrite if >256 is more clear 2020-02-18 11:18:08 -05:00
Conor Patrick
349cbc39f2 fix offset 2020-02-18 11:18:08 -05:00
Conor Patrick
e294cb3458 replace counter instead of increment for large increment 2020-02-18 11:18:08 -05:00
Conor Patrick
da31f984dd add version check 2020-02-18 11:18:08 -05:00
Conor Patrick
9d3e8c06fc subsequent button presses do not need to wait long 2020-02-18 11:18:08 -05:00
Conor Patrick
b378bbf61d
Update building.md 2020-02-18 10:53:47 -05:00
Conor Patrick
04b89a9739
Update customization.md 2020-02-18 10:38:53 -05:00
Conor Patrick
0d28a7bcf6
Update customization.md 2020-02-18 10:03:19 -05:00
Conor Patrick
aeafd09007 only use .flag section for hw builds 2020-02-17 13:41:05 -05:00
Conor Patrick
8b6148ac90 bump 3.1.1 2020-02-13 17:32:26 -05:00
Conor Patrick
15a4fdfa66 remove unused code in bootloader 3.1.1 2020-02-13 17:17:23 -05:00
Conor Patrick
e713daba26 add temporary command to force flash locking 2020-02-13 17:17:23 -05:00
Conor Patrick
b78f2cd2e7 keep initialize last_addr and reject if it doesnt change 2020-02-13 17:17:23 -05:00
Arno Onken
601c98000a Correct path for gencert tools and use python3 2020-02-12 14:52:53 -05:00
Arno Onken
ab1c9417b1 Fix certification information 2020-02-12 14:52:53 -05:00
Conor Patrick
f6d96013e1 bump 3.1.0 2020-02-06 13:41:07 -05:00
Conor Patrick
f74dba7ff0 enforce ascending writes in bootloader update 3.1.0 2020-02-06 13:05:57 -05:00
Jan A
794accf3dc Added how to setup Manjaro 18.x.
Added Manjaro setup for passwordless and second factor login to
documentation of applcation ideas. Also did some text formating.
2020-02-06 12:47:36 -05:00
Conor Patrick
2ca0ced808
Update programming.md 2020-01-22 12:41:39 -05:00
Nicolas Stalder
17b430fd44 Remove stale python-fido2 dependency 2020-01-16 10:35:22 +01:00
Nicolas Stalder
0d4197fb2c
Merge pull request #356 from jnaulty/jnaulty/no-root-artifacts
Use current user at build container runtime
2020-01-15 21:17:53 +01:00
John Naulty
f74a77d80b
Use current user at build container runtime
Using the current user id and group removes the need to use `sudo` when
cleaning up build artifacts from the docker build stage.

Issue: #355
2020-01-06 01:55:47 -08:00
Conor Patrick
5f1d61a3ba bump 2019-12-01 18:25:45 -05:00
Conor Patrick
46f2920e63 bugfix hid cancel 3.0.1 2019-12-01 18:09:08 -05:00