Commit Graph

  • be2f9a7942 remove duplicate include entries pedro martelletto 2018-08-21 12:53:28 +02:00
  • 5be8903eac forgot to remove -ftrapv pedro martelletto 2018-08-01 13:39:17 +02:00
  • 2f32585c35 clearer fuzzing instructions pedro martelletto 2018-07-31 14:28:19 +02:00
  • 880b810be1 use a sensible combination of sanitizers pedro martelletto 2018-07-31 14:27:22 +02:00
  • 130784aefa enable -{fsanitize,trapv,g} when fuzzing pedro martelletto 2018-07-31 09:20:09 +02:00
  • d8d70adb82 implement support for fido2's hmac-secret extension pedro martelletto 2018-07-20 08:55:43 +02:00
  • 18c2f8cf5b add a few interesting compiler options pedro martelletto 2018-07-26 11:28:46 +02:00
  • 9476637b03 add regress tests for fido_assert, fido_cred pedro martelletto 2018-07-13 08:48:16 +02:00
  • f5d747a1d7 define and export fido_dev_force_fido2() pedro martelletto 2018-07-13 08:46:31 +02:00
  • bbeeddd3eb merge afl-fuzz branch pedro martelletto 2018-07-11 09:38:26 +02:00
  • 4a65943f61 sprinkle some comments pedro martelletto 2018-07-10 14:44:09 +02:00
  • 5aaa937fa3 include limits.h to get INT_MAX pedro martelletto 2018-07-05 13:06:03 +02:00
  • 27b8e08eea add a note regarding supported platforms pedro martelletto 2018-07-04 13:12:48 +02:00
  • 665797133e workaround an oddity in libcbor pedro martelletto 2018-07-04 09:03:16 +02:00
  • 61eb228b7a decode_option: check float width prior to cbor_ctrl_is_bool pedro martelletto 2018-06-26 13:29:31 +02:00
  • db4e7d2084 decode_rsa_pubkey: check integer width prior to cbor_get_uint8 pedro martelletto 2018-06-25 09:46:19 +02:00
  • 105da79ccb decode_pubkey_point: check integer width prior to cbor_get_uint8 pedro martelletto 2018-06-25 10:04:54 +02:00
  • 8ac5dc17aa find_cose_alg: check integer width prior to cbor_get_uint8 pedro martelletto 2018-06-25 09:15:40 +02:00
  • 494ce8a2dd tools/test.sh: fix copy/paste pedro martelletto 2018-06-20 12:21:27 +02:00
  • 6be87443a8 move master to 0.2.1 pedro martelletto 2018-06-20 10:43:34 +02:00
  • 4bd0ecb31d release 0.2.0 pedro martelletto 2018-06-20 10:34:34 +02:00
  • 505c169855 repair installation of header files pedro martelletto 2018-06-18 15:43:38 +02:00
  • 1ceb58a87c debian packaging bits pedro martelletto 2018-06-18 14:19:21 +02:00
  • 524636cba6 diff_exports.sh: require bash pedro martelletto 2018-06-18 12:52:24 +02:00
  • 6705a183b3 import command-line tools pedro martelletto 2018-06-18 10:15:24 +02:00
  • 6315c583b7 move openbsd-compat sources pedro martelletto 2018-06-17 13:46:24 +02:00
  • 682b397c5e style fixes; no functional change pedro martelletto 2018-06-17 12:09:15 +02:00
  • 0149393101 Add README pointer to documentation and a few other tweaks. pedro martelletto 2018-06-13 16:55:29 +02:00
  • 9a5b164504 Add a couple of missing get functions. pedro martelletto 2018-06-12 15:03:17 +02:00
  • 5b7951a348 Tweak Dockerfile to work with make-ppa pedro martelletto 2018-06-05 12:59:03 +02:00
  • 2bdf0d8d87 Don't hardcode OpenSSL 1.1 in .pc file pedro martelletto 2018-06-05 09:56:53 +02:00
  • 12a9138d71 Add OpenSSL 1.0 compat. pedro martelletto 2018-06-01 10:46:57 +02:00
  • 36c3e99a23 Our Debian build depends on pkg-config and mandoc. pedro martelletto 2018-05-31 11:03:57 +02:00
  • 963e77455f Add explicit deps; suggest libssl-dev pedro martelletto 2018-05-30 16:22:23 +02:00
  • b7c6170751 Prepare the ground for a 0.1.1 release. pedro martelletto 2018-05-30 15:36:40 +02:00
  • 8f6c5290fa Ship docs in libfido2-dev's .deb pedro martelletto 2018-05-30 14:41:06 +02:00
  • d9b731e4f8 Install docs in HTML format as well. pedro martelletto 2018-05-30 11:44:20 +02:00
  • ae1f9dfcd2 Install compressed man pages on target platform. pedro martelletto 2018-05-29 15:41:34 +02:00
  • 1167fac595 Avoid creating unnecessary dirs during build. pedro martelletto 2018-05-29 14:10:39 +02:00
  • b787a3cb60 Spacing. pedro martelletto 2018-05-29 14:00:41 +02:00
  • 75d399dc1b Always define the documentation build targets. pedro martelletto 2018-05-29 13:51:46 +02:00
  • 59f24a732a Move the detection of mandoc to man/CMakeLists.txt. pedro martelletto 2018-05-29 13:13:25 +02:00
  • c871ff6928 Ensure build/ doesn't exist. pedro martelletto 2018-05-29 11:01:42 +02:00
  • 451b256902 Add missing word. pedro martelletto 2018-05-28 16:41:00 +02:00
  • e181148e30 Add instructions to build docs as partial HTML. pedro martelletto 2018-05-28 15:04:29 +02:00
  • 371005be50 Add a NEWS file. pedro martelletto 2018-05-28 14:58:18 +02:00
  • 1e91de2223 Build documentation in Travis/OS X. pedro martelletto 2018-05-26 08:37:50 +02:00
  • d3f48dc77f Use monospaced fonts. pedro martelletto 2018-05-26 08:35:19 +02:00
  • 6e7c92b209 Swap the order of the arguments in es256_pk_from_EC_KEY() and rs256_pk_from_RSA() for consistency with the rest of the API. pedro martelletto 2018-05-25 06:40:55 +02:00
  • 6029013413 Remove duplicate entries. pedro martelletto 2018-05-24 11:42:32 +02:00
  • a64bf723d9 Fix the error codes returned by es256_pk_from_EC_KEY() and rs256_pk_from_RSA(). pedro martelletto 2018-05-24 11:19:13 +02:00
  • 359491f8d4 Don't define the prototypes of hidden es256_* functions. pedro martelletto 2018-05-24 09:38:07 +02:00
  • 763216b4ac Add documentation in mdoc, HTML formats. pedro martelletto 2018-05-23 15:21:47 +02:00
  • 40667503be Add timingsafe_bcmp()'s license to debian/copyright. pedro martelletto 2018-05-22 09:39:09 +02:00
  • 6694294914 Use timingsafe_bcmp() to check an assertion's RP. pedro martelletto 2018-05-22 09:25:16 +02:00
  • 24e424fcf2 Use timingsafe_bcmp() to check a credential's RP. pedro martelletto 2018-05-22 09:17:03 +02:00
  • 2bb5708ded Add an implementation of timingsafe_bcmp(). pedro martelletto 2018-05-22 09:12:24 +02:00
  • a196beb19f Add a Dockerfile for Ubuntu Bionic builds. pedro martelletto 2018-05-18 13:40:21 +02:00
  • fd545df1ea First stab at a debian/ subdirectory. pedro martelletto 2018-05-18 12:53:44 +02:00
  • b5fc718640 Move to version 0.1.0. pedro martelletto 2018-05-18 09:18:57 +02:00
  • 2e310afb6a Stop listing libcbor as a required private pkg-config dependency until version 0.5.0+dfsg-2 of libcbor's Debian package percolates all the way to Ubuntu. pedro martelletto 2018-05-18 09:13:40 +02:00
  • b91a613ce2 Cope with the fact that Ubuntu Bionic's libcbor package does not ship a .pc file. pedro martelletto 2018-05-16 15:44:00 +02:00
  • 0997b4900a cbor_get_uint64() returns garbage if the underlying CBOR type isn't adequate. Use cbor_get_int() instead. pedro martelletto 2018-05-15 11:39:54 +02:00
  • c8459c0ed7 Return the exact length of the public key in fido_cred_pubkey_len(). pedro martelletto 2018-05-14 11:08:59 +02:00
  • 43664cf700 Trim unnecessary functions. pedro martelletto 2018-05-11 13:03:48 +02:00
  • cf7486a026 Add support for COSE RS256. pedro martelletto 2018-05-10 16:24:34 +02:00
  • b8c58e962e Decouple COSE ES256 from the main API. pedro martelletto 2018-05-09 18:45:36 +02:00
  • 5d5bbcac4e Fix the calculation of ISO7816 APDU lengths. pedro martelletto 2018-05-08 16:44:03 +02:00
  • 474267a376 Implement and export es256_pk_from_ptr(). pedro martelletto 2018-05-04 09:10:27 +02:00
  • bf10e22d0b Support PINs between 4 and 255 bytes long. pedro martelletto 2018-05-03 15:44:02 +02:00
  • 8c4e27cd58 Check for user presence in u2f_authenticate_single(), and return FIDO_ERR_USER_PRESENCE_REQUIRED accordingly. pedro martelletto 2018-05-03 13:30:42 +02:00
  • a421b907a4 Retire unused error codes, and define a new one. pedro martelletto 2018-05-03 13:27:23 +02:00
  • 02d8889d69 Use a lower default timeout. pedro martelletto 2018-05-03 13:26:18 +02:00
  • a593617c18 Fix wrong sizeof argument. pedro martelletto 2018-05-02 09:31:45 +02:00
  • 6131fba652 Split fido_cred_pubkey into pubkey_{ptr,len}. pedro martelletto 2018-05-02 10:37:39 +02:00
  • 8c199ac3e8 README tweaks. pedro martelletto 2018-04-29 08:54:30 +02:00
  • 021bca6078 Add Travis builds for Linux (clang, gcc, mingw32) and OSX. pedro martelletto 2018-04-27 15:48:49 +02:00
  • b1c0fb8ac6 Allow debugging to be switched on at run time. pedro martelletto 2018-04-27 13:04:14 +02:00
  • 7665d499ee Allow debugging to be switched off at compilation time. pedro martelletto 2018-04-27 12:52:16 +02:00
  • 0fc988229e Add diagnostic log messages. pedro martelletto 2018-04-26 16:13:19 +02:00
  • 1897c95f6b Mention which version of OpenSSL we use. pedro martelletto 2018-04-25 10:56:12 +02:00
  • 671531f2f8 Adjust error message. pedro martelletto 2018-04-25 10:55:41 +02:00
  • 27a4cd7420 Fix BN_num_bytes() usage. pedro martelletto 2018-04-25 08:39:40 +02:00
  • 7960077592 Fix crashes found by AFL. pedro martelletto 2018-04-24 14:35:12 +02:00
  • 661cec7ef8 Decouple HID from the core of the library. pedro martelletto 2018-04-24 10:53:31 +02:00
  • 08f9f4dc91 Drop -Wl,--no-undefined. pedro martelletto 2018-04-23 17:51:43 +02:00
  • 76c92021b8 Consistent error codes. pedro martelletto 2018-04-23 15:41:55 +02:00
  • a163b7a1ae Spacing. pedro martelletto 2018-04-23 15:24:56 +02:00
  • 13382848d8 Change the return type of add_cbor_pin_params(). pedro martelletto 2018-04-23 14:23:20 +02:00
  • a8f19ca195 Fix returned error codes. pedro martelletto 2018-04-23 13:08:39 +02:00
  • d745d850d7 Add a note regarding PKG_CONFIG_PATH. pedro martelletto 2018-04-23 12:30:03 +02:00
  • b0bd076630 Always look for OpenSSL using pkg-config. pedro martelletto 2018-04-23 08:41:46 +02:00
  • 8b621aec0a Invoke set_target_properties() on fido2_shared. pedro martelletto 2018-04-22 15:05:21 +02:00
  • 4be176f572 Ship a .pc file for use with pkg-config. pedro martelletto 2018-04-22 10:58:35 +02:00
  • 241d84f559 Consistency tweaks. pedro martelletto 2018-04-22 09:25:12 +02:00
  • 6f3374e350 Use -Wshorten-64-to-32 if available. pedro martelletto 2018-04-22 09:22:06 +02:00
  • c72c60de0b Check and use explicit casts when truncating from 64 to 32 bits. pedro martelletto 2018-04-22 09:05:47 +02:00
  • a1961dd33b When including fido.h, make sure local header files have precedence over system header files. pedro martelletto 2018-04-22 07:59:37 +02:00
  • 289b91fb5c Only expect LLVM's linker on MacOS. pedro martelletto 2018-04-21 08:52:27 +02:00
  • 5ac6324fc0 Fix uninitialized variable use found by clang. pedro martelletto 2018-04-20 20:01:07 +02:00