Wykres commitów

1236 Commity (fix-cbor)

Autor SHA1 Wiadomość Data
Conor Patrick bfeae3ea0c Fix incorrect cbor ordering 2021-01-27 21:02:50 -08:00
Jan A 9b8c023505 added brackets to for loop, because of more than single line statement 2021-01-27 19:35:28 -08:00
Piergiacomo De Marchi 42cb3321ec fixing memmove size in ctap_filter_invalid_credentials() 2021-01-27 19:34:04 -08:00
Piergiacomo De Marchi 8181a0585e Fixing counter increment in ctap_filter_invalid_credentials() 2021-01-27 19:34:04 -08:00
Enrik Berkhan a01a6c0e42 PC: make build using gcc 10 work.
gcc 10 changed its default behavior from `-fcommon' to `-fno-common' for
C code. (see https://gcc.gnu.org/gcc-10/changes.html). This makes
linking the PC version of the solo firmware fail due to duplicate
symbols.

This change adds '-fcommon' to CFLAGS to restore the old behavior. It
works using older compiler versions, too.

Tested to build successfully on Ubuntu 20.10 using gcc-8, gcc-9, gcc-10
(default), clang-9, clang-10 and clang-11 (default).
2021-01-27 19:30:13 -08:00
saravanan palanisamy 3a2f8436f2 update about LUKS in docs 2021-01-27 19:29:55 -08:00
Conor Patrick d12ace5f76
Merge pull request #482 from Ollrogge/fix_make_target
fix make all target
2021-01-27 19:29:25 -08:00
Conor Patrick 3a216610d4
Merge pull request #478 from enrikb/feature/ed25519-poc
POC: add ed25519 support based on libsodium (PC) or salty (solo).
2021-01-27 19:28:45 -08:00
Conor Patrick 867d5f1c2b
Merge branch 'master' into feature/ed25519-poc 2021-01-27 19:15:47 -08:00
Emanuele Cesena b4b0a05345
Update README.md 2021-01-26 06:53:48 -08:00
Jannis Dohm c924da3acf Added Path variable to Dockerfile
Added the Path variable to the Dockerfile. Thisway the arm-none-eabi-gcc can be called without the user knowing the PATH.
2021-01-04 14:48:29 +01:00
Ollrogge ac11eff51b fix make all target 2020-10-29 17:28:56 +01:00
Enrik Berkhan 471df2a63e salty: cast pointer arguments to avoid warnings.
This is a kind of promise that the underlying buffers have the correct
size. We know what we are doing. Hopefully ;-)
2020-10-27 20:28:01 +01:00
Enrik Berkhan 3ee801b76b ed25519: revert message buffer optimization. 2020-10-27 20:03:03 +01:00
Enrik Berkhan 3963c932b6 Bump salty to 809cdf009fa52d97adb292a8547d13c9015d6a06.
This version contains the scalar fix (see
https://github.com/ycrypto/salty/issues/3).
2020-10-27 19:59:03 +01: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
Enrik Berkhan 27e1e78281 Add salty to .gitmodules.
This will be used for upcoming support of ED25519 in the 'Solo' version.
2020-10-17 09:34:51 +02:00
Enrik Berkhan adc9fb38d1 Add libsodium-dev to .travis.yml.
This is needed to build upcoming support for ED25519 in the 'PC'
version. Without, the CI build will failed as libsodium has not yet been
integrated into the build system.
2020-10-17 09:30:32 +02:00
Nicolas Stalder 8b91ec7c53
Update SECURITY.md
Link to renewed GPG key.
2020-10-08 20:12:07 +02:00
Julian Rösner b86f0ee4e5 Add tutorials 2020-09-05 01:48:49 +02:00
Nicolas Stalder 13c882b532 Redirect on Netlify level 2020-06-10 01:07:40 +02:00
Nicolas Stalder 483edcb56d Some leftover old doc links 2020-06-10 00:31:58 +02:00
Nicolas Stalder b7b5d51cc2
Merge pull request #448 from solokeys/simplify-docs
Host solo docs directly at docs.solokeys.dev
2020-06-10 00:20:17 +02:00
Nicolas Stalder c52af54e8f Host solo docs directly at docs.solokeys.{dev,io} 2020-06-10 00:17:31 +02:00
Nicolas Stalder cc4cd340da
Merge pull request #439 from Nuc1eoN/Nuc1eoN-patch-1
Update documentation for Arch Linux
2020-05-19 23:25:48 +02:00
Philip Pokarowski ca885941f0
Update udev.md 2020-05-19 23:15:13 +02:00
Nicolas Stalder dc27b48101
Merge pull request #435 from FabianHenneke/patch-1
Mention that systemd 244+ detects FIDO devices
2020-05-08 22:43:02 +02:00
Fabian Henneke 1bf071f8b4
Update udev.md 2020-05-08 19:28:16 +02:00
Fabian Henneke cc3d3c63ec
Mention that systemd 244+ detects FIDO devices 2020-05-08 19:25:11 +02:00
Nicolas Stalder c248b5d569
Merge pull request #428 from Iolaum/dev1
Explicitly call that a DFU update erases everything.
2020-04-27 00:21:05 +02:00
Nikolaos Perrakis 85cf25559c doc: DFU update fully erases previous flash 2020-04-25 23:51:26 +01:00
Conor Patrick 299e91b91b dont return index >= ctap_rk_size()
Fixes issue found by @My1: https://github.com/solokeys/solo/issues/407
2020-03-28 15:45:16 -04:00
Conor Patrick cbf40f4ec7 hmac-secret should be different when UV=1 2020-03-28 12:28:05 -04:00
Conor Patrick 8d93f88631
Update STABLE_VERSION 2020-03-27 11:29:11 -04:00
Conor Patrick 5f8a9a44fc refactor credmgmt 2020-03-27 10:56:51 -04:00
Conor Patrick 8aa1f4ad01 change parsing TAG_CM to TAG_PARSE 2020-03-27 10:56:51 -04:00
Conor Patrick 04cffb6509 allow depth-first-search and account for interleaved RK's 2020-03-27 10:56:51 -04:00
Radoslav Gerganov f002d08071 Add support for the security manager in Google Chrome
This patch fixes the following issues to make Google Chrome happy:
1. Adds CTAP_CBOR_CRED_MGMT(0x0A) which is an alias to CTAP_CBOR_CRED_MGMT_PRE(0x41)
2. Returns success instead of NO_CREDENTIALS when there are no RKs
3. Skip the "icon" property if it's empty

Tested with Google Chrome Version 80.0.3987.149
2020-03-27 00:22:28 -04:00
Radoslav Gerganov e53b83257d Do not return NO_CREDENTIALS if there are no RKs and meta is requested
Fixes-issue: #403
2020-03-27 00:22:28 -04:00
Conor Patrick 05e149fb17
Update STABLE_VERSION 2020-03-25 15:16:14 -04:00
Conor Patrick 530e175ad1 cleanup 2020-03-25 14:57:39 -04:00
Conor Patrick 6cd3873b37 add reboot command for better testing 2020-03-25 14:57:39 -04:00
Conor Patrick 241f58657b consider credProtect with exclude list, and also check user presence 2020-03-25 14:57:39 -04:00
Conor Patrick 3b42289cce add rpId to RK's, fix counting of unique RP's 2020-03-25 14:57:39 -04:00
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