Commit graph

89 commits

Author SHA1 Message Date
Uli Heilmeier c96af80e44 Merge remote-tracking branch 'upstream/master' into hfmfdes-clang-warn 2020-04-09 14:39:46 +02:00
iceman1001 8f07ac80d1 fix: null 2020-04-09 13:28:43 +02:00
Uli Heilmeier dcede2f8e3 cmdhfmfdes: fix clang warnings
Make clang happy and fix several
error: expression which evaluates to zero treated as a null pointer constant of type 'uint8_t *' (aka 'unsigned char *')
      [-Werror,-Wnon-literal-null-conversion]
and
cmdhfmfdes.c:732:31: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]

Fixes RfidResearchGroup/proxmark3#659
2020-04-09 13:26:43 +02:00
iceman1001 0904cce336 fix: null 2020-04-09 13:23:36 +02:00
Bjoern Kerler a3ea353dab Improve hf mfdes and cleanup 2020-04-08 22:44:51 +02:00
iceman1001 43936042e9 text 2020-04-08 13:49:18 +02:00
iceman1001 285de43444 textual 2020-04-08 13:37:48 +02:00
iceman1001 0aa18f3008 add test command for developing desfire 2020-04-08 13:26:44 +02:00
iceman1001 c7bbe9914e chg: use protocols.h for protocols defines 2020-04-08 05:02:41 +02:00
Bjoern Kerler 7085e3a3f1 Fix display of DF and minor bug 2020-04-07 21:52:59 +02:00
Bjoern Kerler 3833b8ee3b Add Mifare Desfire GetDFNames and improve HF MFDES Enum output 2020-04-07 21:30:12 +02:00
Bjoern Kerler 61f3ef61de Fix issue #646 2020-04-07 18:27:46 +02:00
iceman1001 42063994e9 add: hf mfdes list 2020-04-07 09:23:34 +02:00
Bjoern Kerler 26975187ee Fix desfire aes authentification 2020-04-07 09:14:44 +02:00
iceman1001 53178e8b23 chg: hf mfdes enum - now get fileids and settings 2020-04-06 18:23:42 +02:00
iceman1001 85c4f63015 chg: in preparation for EV3 2020-04-06 15:44:58 +02:00
Bjoern Kerler 99838b958e Minor fixes, styles adaption 2020-04-05 00:07:05 +02:00
Bjoern Kerler ee60aece68 Improve logging, fix key labels 2020-04-04 18:23:51 +02:00
iceman1001 00bd76e99d text, colors 2020-04-04 12:39:22 +02:00
iceman1001 34adf411c3 layout, text, colors - mfu info, 15 info 2020-04-04 12:17:55 +02:00
iceman1001 3b4d5b5676 remove dublicate 2020-04-02 08:25:24 +02:00
iceman1001 b91c4977af textual 2020-04-02 08:14:31 +02:00
iceman1001 761860656e more pulic keys (@anon) 2020-04-02 08:09:18 +02:00
iceman1001 cc6fda9b75 added checks for unknown public keys 2020-04-01 15:54:59 +02:00
iceman1001 0fbf7d6328 cppchecker - shadow 2020-03-24 13:06:09 +01:00
iceman1001 1e37c57729 chg: hf mfdes info - adapted to support multiple keys 2020-03-24 09:50:17 +01:00
iceman1001 7a1c65d1af chg: hf mfdes info - refactored a bit. \nchg: hf mfdes enum - now works again 2020-03-19 12:05:29 +01:00
iceman1001 6783986fca hf mfdes info - textual 2020-03-17 13:41:46 +01:00
iceman1001 fe0d9c8d9f hf mfdes enum - fixes WIP 2020-03-17 11:37:38 +01:00
iceman1001 8cf88c5cd5 hf mfdes info - textual 2020-03-17 02:30:25 +01:00
iceman1001 1cb495e40b add desfire light signature verification check 2020-03-17 01:50:27 +01:00
iceman1001 7a7a3d014e hf mfdes info - remake to work with Desfire Light. Switch to apdu framing. WIP 2020-03-16 21:51:45 +01:00
Daniel Underhay 4a8a0eca98 Additional colour changes 2020-03-16 00:02:18 +11:00
Daniel Underhay daba356871 Add colour to hf mfdes command 2020-03-15 23:36:44 +11:00
iceman1001 30de7f5082 shadow 2020-01-05 23:07:33 +01:00
iceman1001 b5be8a3663 style 2019-12-03 14:51:55 +01:00
iceman1001 e812726c70 chg: return codes etc 2019-12-02 11:47:43 +01:00
Philippe Teuwen ad475a224e hf mf wrbl: don't give as example how to write a block0 with faulty BCC, remove mfc stuff in df 2019-11-05 23:15:01 +01:00
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 5051ea429d typo 2019-08-09 13:02:10 +02:00
Philippe Teuwen a0a232a985 rename few CMD_* to get some less diversity 2019-08-03 19:48:02 +02:00
Philippe Teuwen 1ebfa897c8 remove some cppcheck warnings 2019-06-12 06:41:23 -07:00
iceman1001 cee2fc7a34 hf mf rdbl - uses NG 2019-05-28 13:20:56 -04:00
Philippe Teuwen 290f2b625b Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX 2019-05-07 19:51:33 +02:00
Philippe Teuwen e6135a8f78 Replace WITH_ISO14443a by dynamic detection in client 2019-05-01 23:38:57 +02:00
Philippe Teuwen ca43afa19b begin of dynamic capabilities handling in client 2019-05-01 20:48:15 +02:00
Philippe Teuwen 238fc10c9a style 2019-04-20 01:08:07 +02:00
Philippe Teuwen c4766b2649 Semi-Automated SendCommand -> SendCommandOLD 2019-04-19 23:01:13 +02:00
Philippe Teuwen 1b6a45ac17 propagate CmdsParse return value 2019-04-19 00:47:51 +02:00
Philippe Teuwen 482db05741 Rename few stuff for consistency 2019-04-18 12:49:51 +02:00