Conor Patrick
a87e1c6d15
fix init order to prevent reset loop in some cases
2021-02-02 22:45:25 -08:00
Conor Patrick
e91dff3713
linker discards
2021-02-02 22:45:25 -08:00
Conor Patrick
b9b9f0fd39
remove unused sections from salty pooling at the end of firmware
2021-01-29 20:03:05 -08:00
Conor Patrick
a9c02cd354
patches to improve resistance to fault injection
2021-01-27 19:49:03 -08:00
Enrik Berkhan
fe24b9edd1
POC: add ed25519 support based on libsodium (PC) or salty (solo).
...
For now:
- libsodium(-dev) is expected to be preinstalled on build system for PC
build
2020-10-17 14:40:41 +02:00
Enrik Berkhan
398943d6c8
Add Rust to travis and to the toolchain container.
...
Not sure if this is the way to do it...
Make salty build.
2020-10-17 14:38:10 +02:00
Nicolas Stalder
483edcb56d
Some leftover old doc links
2020-06-10 00:31:58 +02:00
Conor Patrick
d677f8c346
add rk delete implementations
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
28a1b1cc06
limit possible recursions in tinycbor
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
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
15a4fdfa66
remove unused code in bootloader
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
Conor Patrick
f74dba7ff0
enforce ascending writes in bootloader update
2020-02-06 13:05:57 -05:00
Conor Patrick
1d59bbfdd4
support different aaguid's in cert for different solo models
2019-12-01 18:09:08 -05:00
Conor Patrick
54c66d80b6
overwrite x509 fields for tap or somu
2019-12-01 18:09:08 -05:00
Conor Patrick
6217fc34b9
update solo_cert to include aaguid field
2019-12-01 18:09:08 -05:00
Conor Patrick
af23e84a8d
Update device.c
2019-11-22 19:02:52 -05:00
Conor Patrick
670a4e5d62
version string
2019-11-22 19:02:52 -05:00
Conor Patrick
de55e521cc
fix bootloader build
2019-11-22 19:02:52 -05:00
Conor Patrick
1d63154699
move sense of "backup" from ctap to device layer
2019-11-22 19:02:52 -05:00
Conor Patrick
3b4b6dd4fe
remove solo functions from device.h
2019-11-22 19:02:52 -05:00
Conor Patrick
28e607ddac
fix stm32 build
2019-11-22 19:02:52 -05:00
Conor Patrick
a388607dab
build fido2 locally as lib
2019-11-22 19:02:52 -05:00
Conor Patrick
d266e7927c
reorganize crypto and device.c to be more based on fido2/
2019-11-22 19:02:52 -05:00
Conor Patrick
21f3a0d10f
remove hacker constraint for booting into bootloader
2019-10-28 12:55:38 -04:00
Conor Patrick
169dfd2f0d
check attestation tag
2019-10-28 10:51:35 -04:00
Conor Patrick
dafd974d93
do not lock flash when booting to dfu
2019-10-28 10:51:35 -04:00
Conor Patrick
fcc2e86a6d
remove hacker/secure builds
2019-10-28 10:51:35 -04:00
Conor Patrick
8b146c4a16
fix issue with bootloader not replying data
2019-10-28 10:51:35 -04:00
Conor Patrick
a1a79b05fd
fix solo locked flag for bootloader
2019-10-27 10:25:00 -04:00
Conor Patrick
9ac2aa90c3
store all info in same page, dont use authenticator state
2019-10-27 10:25:00 -04:00
Conor Patrick
96a2cbcb41
remove logs
2019-10-27 10:25:00 -04:00
Conor Patrick
89e218e561
lock flash based on state setting
2019-10-27 10:25:00 -04:00
Conor Patrick
666cd6a0ba
migrate certs
2019-10-27 10:25:00 -04:00
Conor Patrick
b4f59ec355
pull certificate from flash page
2019-10-27 10:25:00 -04:00
Chris Cinelli
b7d74cc99f
Add default git describe in makefile
2019-10-27 10:11:39 -04:00
Chris Cinelli
aaffce4021
Make dependency on git optinal in the target/stm32l432/Makefile
...
"git describe" is used to get the version of the firmware from GIT tags ans it is used for build artifacts' names
We would prefer not to have this depency inside Docker
2019-10-27 10:11:39 -04:00
Chris Cinelli
765dc27b15
Fix docker build
2019-10-27 10:10:27 -04:00
Conor Patrick
ff88660027
fix const qualifer warnings
2019-10-08 14:43:24 -04:00
Conor Patrick
9ecfda02c5
remove atomic counter from bootloader to save space
2019-10-08 14:43:24 -04:00
Conor Patrick
08658eb11e
Merge branch 'master' into bootloader-downgrade-protection
2019-10-08 13:44:20 -04:00
Conor Patrick
a2fd507f45
typo
2019-10-08 13:42:37 -04:00
Conor Patrick
bb2929b28f
change ctap_atomic_count to increase by user-specified amount
2019-10-08 13:42:37 -04:00
Jan A
5168afa16e
Code cosmetics, added missing void statement to empty parameter of
...
functions
2019-10-08 12:31:08 -04:00