Commit graph

69 commits

Author SHA1 Message Date
Philippe Teuwen d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen f276dca3f1 less hardcoded sizes and more ARRAYLEN 2019-07-31 23:45:17 +02:00
iceman1001 9f4620c92c make style 2019-07-27 17:48:52 -04:00
iceman1001 f433e26e3b Add: 'hf mfu info' - now does orinality check against ECC. (@pwpivi)
Adapted to prefered codestyle and added references.
2019-07-27 23:44:23 +02:00
Philippe Teuwen 55602bf833 Fix few zelaous WARNING->ERR 2019-07-14 12:17:34 +02:00
Philippe Teuwen 8bf4b4ad97 Promote WARNING to ERR on some error msgs 2019-07-14 00:35:18 +02:00
Philippe Teuwen 732bc766f9 Reduce some var scopes 2019-06-07 18:41:39 +02:00
Philippe Teuwen a91d0a7b19 Smart color handling:
* if on Windows, no color, as usual
* if on Linux, color only on real term
  * no color when > foo
  * no color in the logfile
2019-04-30 00:41:52 +02:00
iceman1001 9779868753 style 2019-04-28 11:09:46 +02:00
Philippe Teuwen eababdd3ef Merge branch 'master' into experimental_varlen
* master:
  chg: 'hf mf sim' - textual
  fix:  warning on mingw64.   This offset is calculated, casting it to u32 should be fine.
  fix: https://github.com/RfidResearchGroup/proxmark3/issues/174 remove all offending code,  return 1.   Will only impact the speed of hardnested execution.
  fix again OSX
  fix https://github.com/RfidResearchGroup/proxmark3/issues/173
  used predefined constants, common types moved to common header files
  backward compatibility, on load converter for old mfu dump format
  loops for counters output
  UL/NTAG new dump file format. Added counters support, simulation
2019-04-25 20:05:04 +02:00
iceman1001 3bfd01bffb fix: warning on mingw64. This offset is calculated, casting it to u32 should be fine. 2019-04-25 16:55:00 +02:00
Philippe Teuwen 7cbcf8163c Merge branch 'master' into experimental_varlen
* master: (27 commits)
  textual
  style redundant assignment
  timeout fix
  small fix
  add termcap
  add readline and small fix
  rdp
  textual
  null term?
  fix: https://github.com/RfidResearchGroup/proxmark3/issues/166
  add dlls to release
  style
  style
  test fix
  test fixes
  another fix
  fix memleak
  fix
  textual
  use printandlogex
  ...
2019-04-17 22:06:39 +02:00
iceman1001 53b48ae6a9 use printandlogex 2019-04-17 11:55:52 +02:00
iceman1001 3fdac2577f use printandlogex 2019-04-17 11:54:40 +02:00
Philippe Teuwen 4eaa2fc5aa move common util fcts to /common to avoid common files (e.g. crc) to depend on non-common files 2019-04-16 23:02:40 +02:00
Philippe Teuwen 993728072a comparison of integers of different signs [-Wsign-compare] 2019-04-13 23:55:58 +02:00
Philippe Teuwen 97676d3210 comparison of integers of different signs [-Wsign-compare] 2019-04-13 23:38:34 +02:00
Philippe Teuwen 5c55664fc5 use more static and fix [-Wmissing-prototypes] 2019-04-13 21:57:13 +02:00
Philippe Teuwen 4f32655004 use more static and fix [-Wmissing-prototypes], ongoing... 2019-04-13 00:25:43 +02:00
Philippe Teuwen 7f76fea21a good const, bad const, fixing -Wincompatible-pointer-types-discards-qualifiers 2019-04-10 10:21:42 +02:00
Philippe Teuwen 98d9408746 make style 2019-04-06 00:52:55 +02:00
Philippe Teuwen 961d929f4d changing {} style to match majority of previous style 2019-03-10 11:20:22 +01:00
Philippe Teuwen 0373696662 make style 2019-03-10 00:00:59 +01:00
Philippe Teuwen 0d9223a547 client: fix mix of spaces & tabs 2019-03-09 23:35:06 +01:00
Philippe Teuwen 60f292b18e remove spurious spaces & tabs at end of lines 2019-03-09 08:59:13 +01:00
iceman1001 47c808fd5c fix: check return value 2019-02-24 19:50:24 +01:00
merlokk 7678ab13e0 add slolkey CA root 2019-02-03 22:36:15 +02:00
merlokk 09c5f0ef76 remove debug and small output addon. errors was not visible 2019-02-01 18:12:01 +02:00
merlokk 4c7e5757f3 added channel parameter 2018-12-03 19:29:31 +02:00
iceman1001 91809c6d94 FIX: part of https://github.com/Proxmark/proxmark3/pull/723 (@Fl0-0)
CHG: remove some warnings when compiling on 32/64 bit systems.  Messy messy
2018-11-28 23:53:31 +01:00
merlokk c51e0a58f4 added allowList to authenticatorGetAssertion command 2018-11-27 19:33:51 +02:00
merlokk 305c0c099b refactoring 2018-11-27 15:59:28 +02:00
merlokk d253364d2c added numberOfCredentials 2018-11-27 15:47:17 +02:00
merlokk ac5448a117 GetAssertion works 2018-11-27 14:57:00 +02:00
merlokk a0a979abc6 added show GetAssertion results 2018-11-27 14:34:51 +02:00
merlokk f26d3396e8 get credential 2018-11-27 14:01:47 +02:00
merlokk 317ea30529 refactoring and GetAssertion works 2018-11-27 13:45:29 +02:00
merlokk 26cf350713 refactoring 2018-11-27 12:34:28 +02:00
merlokk a9be05dbf7 refactoring 2018-11-27 12:31:39 +02:00
merlokk 5efc2eced6 refactoring 2018-11-27 12:28:36 +02:00
merlokk ee92b8a097 refactoring make credentials and add some sketch to get assertion 2018-11-27 12:24:55 +02:00
merlokk d36bfd5829 add some cose key checks 2018-11-26 19:49:41 +02:00
merlokk 065773377d get cose public key and fix some printing 2018-11-26 19:42:37 +02:00
merlokk 0a2f874ac3 added cose_key descriptions 2018-11-26 19:22:44 +02:00
merlokk f7354c705d extract some descriptions from cose_key 2018-11-26 19:16:47 +02:00
merlokk b9c4bd1e0c added showing cose_key in cbor text type 2018-11-26 18:30:14 +02:00
merlokk 1099c6923d added COSE algorithms 2018-11-26 16:12:28 +02:00
merlokk 9e89da3c0c remove debug 2018-11-25 00:12:06 +02:00
merlokk 1a0f7e93de refactoring and some functions in cbortools 2018-11-24 23:36:02 +02:00
merlokk 0bbdc7f150 added CborGetArrayBinStringValue 2018-11-24 14:57:36 +02:00