1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704
|
Dec 4, 2013 - 0.4.0
-------------------
Fixes:
fix spelling mistakes in manpages
fix some typo
fix bug in mifare_ultralight_read()
fix reading page 0x2b of an ULC
mifare-classic-read-ndef: skip NULL TLV & proprio TLV
mifare-desfire-write-ndef: split PICC key & Tag app key
mifare-desfire-write-ndef: fix issues in spilling ndef data to stdout and fix bug
fix few memory leaks
fix signed/unsigned comparison
fix wrong variable usage
remove unused variable
avoid void* arithmetic GCC extension
remove math.h dependency
fix various autotools warnings
fix many (but not all) compiler warnings
Improvements:
add support for 7-byte UID MIFARE Classic cards
add support Infineon Mifare Classic 1k
add test default ULC key in mifare-ultralight-info
mifare-classic-format option: read keys from dump
mifare-classic-write-ndef: add -y flag to write without confirmation
split mifare-desfire-write-ndef into format-ndef & write-ndef
add new example: mifare-ultralight-info.
add mifare-desfire-read-ndef, read CC in mifare-desfire-write-ndef
allow input file for mifare-desfire-write-ndef & small fixes
add non-default key option to mifare-desfire-* examples
document how to run cutter tests
add new test: test_mifare_classic_format_first_sector().
Changes:
update code to use libnfc 1.7.0
Special thanks to:
- Ludovic Rousseau
- Don Coleman <dcoleman@chariotsolutions.com>
- Gernoth
- Jan Engelhardt <jengelh@inai.de>
Mar 1, 2012 - 0.3.4
-------------------
Fixes:
Improvements:
Changes:
2012-03-01 Romuald Conty <romuald@libnfc.org>
* NEWS, configure.ac, debian/changelog: prepare libfreefare 0.3.4
2012-03-01 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_ultralight.c: Fix Mifare Ultralight C card
detection routine (Fixes Issue 86).
Mar 1, 2012 - 0.3.3
-------------------
Fixes:
Improvements:
Changes:
2012-03-01 Romuald Conty <romuald@libnfc.org>
* NEWS, configure.ac, debian/changelog, debian/control: prepare
libfreefare 0.3.3
2012-01-25 Audrey Diacre <adiacre@il4p.fr>
* examples/mifare-classic-read-ndef.c,
examples/mifare-classic-write-ndef.c,
examples/mifare-desfire-access.c,
examples/mifare-desfire-ev1-configure-ats.c,
examples/mifare-desfire-ev1-configure-default-key.c,
examples/mifare-desfire-ev1-configure-random-uid.c,
examples/mifare-desfire-format.c, examples/mifare-desfire-info.c,
examples/mifare-desfire-write-ndef.c: fix some indentations.
2012-01-25 Audrey Diacre <adiacre@il4p.fr>
* examples/mifare-classic-format.c,
examples/mifare-classic-read-ndef.c,
examples/mifare-classic-write-ndef.c,
examples/mifare-desfire-access.c,
examples/mifare-desfire-ev1-configure-ats.c,
examples/mifare-desfire-ev1-configure-default-key.c,
examples/mifare-desfire-ev1-configure-random-uid.c,
examples/mifare-desfire-format.c, examples/mifare-desfire-info.c,
examples/mifare-desfire-write-ndef.c, libfreefare/freefare.c,
libfreefare/freefare.h, libfreefare/freefare_internal.h,
libfreefare/mifare_classic.c, libfreefare/mifare_desfire.c,
libfreefare/mifare_ultralight.c, test/mifare_classic_fixture.c,
test/mifare_desfire_ev1_fixture.c, test/mifare_desfire_fixture.c,
test/mifare_ultralight_fixture.c: update to use libnfc's trunk
2012-01-15 Romain Tartiere <romain.tartiere@gmail.com>
* examples/mifare-classic-format.c, test/mifare_classic_fixture.c,
test/mifare_desfire_ev1_fixture.c, test/mifare_desfire_fixture.c,
test/mifare_ultralight_fixture.c: Make these functions accept no
argument (instead of any).
2012-01-15 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare.3, libfreefare/freefare_error.3,
libfreefare/mad.3, libfreefare/mifare_application.3: Fix
inconsistencies in man pages (missing quotes, typos).
Oct 10, 2011 - 0.3.2
--------------------
Fixes:
Improvements:
Changes:
2011-10-17 Romuald Conty <romuald@libnfc.org>
* NEWS, README, configure.ac, examples/mifare-classic-read-ndef.c:
Prepare libfreefare 0.3.2
2011-10-11 Romuald Conty <romuald@libnfc.org>
* examples/mifare-classic-write-ndef.c: mifare-classic-write-ndef
could use file as NDEF content (BTW, stdin as input is not yet implemented, any contributions are
welcome.)
2011-10-11 Romuald Conty <romuald@libnfc.org>
* examples/mifare-classic-read-ndef.c: mifare-classic-read-ndef now
close kindly the output stream.
2011-09-29 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/freefare.c, libfreefare/freefare.h: Make
freefare_tag_new() public (Fixes issue 64).
2011-09-28 Romuald Conty <romuald@libnfc.org>
* examples/mifare-classic-read-ndef.c: svn:keywords fix on
examples/mifare-classic-read-ndef.c .
2011-09-22 Romain Tartiere <romain.tartiere@gmail.com>
* configure.ac, libfreefare/mifare_classic.c,
libfreefare/mifare_desfire.c, libfreefare/mifare_ultralight.c: Sync
w/ libnfc-1.5.1.
2011-09-22 Romuald Conty <romuald@libnfc.org>
* examples/Makefile.am, examples/mifare-classic-read-ndef.c: Add a
new example to extract NDEF Message from a "MIFARE Classic as NFC
Forum enable tag".
2011-09-22 Romuald Conty <romuald@libnfc.org>
* libfreefare/tlv.3: Minor TLV manpage fix.
2011-09-13 Romuald Conty <romuald@libnfc.org>
* debian/control: Improve devian package (Thanks to Thomas Hood)
2011-09-12 Romuald Conty <romuald@libnfc.org>
* debian/control: add libssl-dev to Build-Depends (in
debian/control). (Fixes Issue 73)
2011-09-12 Romuald Conty <romuald@libnfc.org>
* debian/control: add pkg-config to Build-Depends (in
debian/control). (Fixes Issue 72)
2011-09-12 Romuald Conty <romuald@libnfc.org>
* debian/rules: autoreconf is needed by debian build process when
using svn version.
2011-06-27 Romain Tartiere <romain.tartiere@gmail.com>
* CMakeLists.txt, cmake/config_windows.h.cmake,
libfreefare/CMakeLists.txt, libfreefare/mifare_desfire_crypto.c:
Enable WITH_DEBUG for Windows (Fixes issue 65) PR: Issue 65 Submitted by: glenn.ergeerts
2011-05-20 Romuald Conty <romuald@libnfc.org>
* debian/control, debian/watch: debian: update pam_nfc, mfoc and
libfreefare packages to use dh7.
2011-05-18 Romuald Conty <romuald@libnfc.org>
* debian/README.Debian, debian/README.source, debian/changelog,
debian/compat, debian/control, debian/copyright,
debian/libfreefare-bin.install, debian/libfreefare-dev.install,
debian/libfreefare-doc.install, debian/libfreefare0.install,
debian/rules, debian/source/format: import debian files
2011-05-11 Romain Tartiere <romain.tartiere@gmail.com>
* configure.ac: Fix code coverage with cutter.
2011-04-25 Romain Tartiere <romain.tartiere@gmail.com>
* FindLIBNFC.cmake, cmake/config_windows.h.cmake,
cmake/modules/FindLIBNFC.cmake, config_windows.h.cmake,
contrib/win32/err.h, err.h: Move cmake files around. Update issue 62 Looks like I missed the -p0 argument to patch. Can
you please update and test? Thanks!
2011-04-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_crypto.c: Indent after last commit.
2011-04-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_crypto.c: Merge CRC location /
verification in mifare_cryto_postprocess_data(). Fix issue 52.
2011-04-24 Romain Tartiere <romain.tartiere@gmail.com>
* CMakeLists.txt, FindLIBNFC.cmake, Makefile.am, NEWS,
config_windows.h.cmake, err.h, examples/CMakeLists.txt,
libfreefare/CMakeLists.txt: Add Microsoft Windows support. Update issue 62 Status: Feedback Gleen, I slightly modified your
patches to better stick with the style of the rest of the project,
Can you please confirm that it does not break? PR: Issue 62 Submitted by: glenn.ergeerts
2011-04-23 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Return error if something bad happen
in mifare_cryto_preprocess_data() / mifare_cryto_postprocess_data(). Fixes issue 60. PR: Issue 60 Submitted by: ervin.kaljola
2011-04-23 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c, test/test_mifare_desfire_ev1_aes.c:
Fix mifare_desfire_create_value_file(). Fixes issue 59 Committed, thanks! PR: Issue 59 Submitted by: ervin.kaljola
2011-04-23 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_crypto.c: Enhance the
mifare_cryto_postprocess_data() function. Update issue 52 Both code snippets are now similar and it should be
possible to merge them together.
2011-04-23 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire_ev1_aes.c: Read written data to check
that everything is fine.
2011-04-05 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_ultralight.c: Implement
mifare_ultralight_write() using macros. Update issue 58 I can't reproduce this bug, but saw that the
mifare_ultralight_write() was implemented in an old-school way. I
updated the code so that you should have better traces when
compiling the library in debug mode and running: romain@marvin ~/Projects/libfreefare % cutter -n
test_mifare_ultralight_write test ===> 0000 30 07
|0. | <=== 0000 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 |................| ===> 0000 a2 07 12 34 56 78
|...4Vx | ===> 0000 30 07
|0. | <=== 0000 12 34 56 78 00 00 00 00 00 00 00 00
00 00 00 00 |.4Vx............| ===> 0000 a2 07 aa 55 00 ff
|...U.. | ===> 0000 30 07
|0. | <=== 0000 aa 55 00 ff 00 00 00 00 00 00 00 00
00 00 00 00 |.U..............| ===> 0000 a2 07 00 00 00 00
|...... | ===> 0000 30 07
|0. | <=== 0000 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 |................| . Finished in 0,548238 seconds (total: 0,069079 seconds) 1 test(s), 12 assertion(s), 0 failure(s), 0 error(s), 0 pending(s),
0 omission(s), 0 notification(s) 100% passed
2011-03-26 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Fix invalid test.
2011-03-26 Romain Tartiere <romain.tartiere@gmail.com>
* test/Makefile.am, test/common/Makefile.am: Build unit-tests as
part of all-am if DEBUG is enabled, otherwise at check-am before
running the test suite.
2011-03-26 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/freefare.h, libfreefare/mifare_desfire.3,
libfreefare/mifare_desfire.c, test/test_mifare_desfire_ev1_iso.c:
Complete ISO 7816 compatibility for Mifare DESFire EV1 Fixes issue 37
2011-03-25 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare.h, libfreefare/mifare_desfire.c,
test/Makefile.am, test/test_mifare_desfire_ev1_iso.c: Start support
of ISO files for Mifare DESFire EV1. Fixes issue 57 New API functions: * mifare_desfire_create_application_iso() * mifare_desfire_create_application_3k3des_iso() * mifare_desfire_create_application_aes_iso() * mifare_desfire_get_df_names() Plus unit test to check this.
2011-03-25 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/freefare.h, libfreefare/mifare_desfire.3,
libfreefare/mifare_desfire.c,
test/test_mifare_desfire_ev1_3k3des.c,
test/test_mifare_desfire_ev1_aes.c: New API functions
mifare_desfire_create_application_3k3des(),
mifare_desfire_create_application_aes(). Update issue 37 Only ISO application creation as requested by Issue
57 is lacking now.
Feb 23, 2011 - 0.3.1
--------------------
Fixes:
Improvements:
Changes:
2011-02-23 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, configure.ac: Update for 0.3.1.
2011-02-23 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_crypto.c: R is const.
2011-02-13 Romain Tartiere <romain.tartiere@gmail.com>
* test/Makefile.am, test/common/Makefile.am: Do not systematically
build the tests if cutter is installed. Building them only when running the test-suite is probably enough.
2011-02-13 Romain Tartiere <romain.tartiere@gmail.com>
* Makefile.am: Shorter is better.
2011-02-13 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/Makefile.am, libfreefare/freefare.h,
libfreefare/freefare_error.3, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_crypto.c,
libfreefare/mifare_desfire_error.c, test/test_mifare_desfire.c: Do
not abort on crypto error. Because in some circumstances the crypto is skipped regardless of
the communication settings by the Mifare DESFire (e.g. when reading
a file which is writable with any key), do not abort if the crypto
fail, and make it possible to the user to catch such an event to fix
his code accordingly. Only display crypto diagnostic if compiled with debug support.
2011-02-13 Romain Tartiere <romain.tartiere@gmail.com>
* Makefile.am: prevent myself from shooting in my own foot.
2011-02-13 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/mifare_classic.c: Fix mifare_classic_transfer()
with some readers.
2011-01-01 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_crypto.c: Fix CRC localisation code. New issue Summary: Add regression tests for CRC location in
encyphered data files. The CRC position location code in
mifare_cryto_postprocess_data() shall be checked. new issue Summary: Rework mifare_cryto_postprocess_data() CRC
localisations The function has two different implementation of the
same feature: locate a CRC at the end of a decyphered stream and
check it. The crc32 will fail if the last CRC byte is 0x80, and the
crc16 code looks awful. A refactoring would make our life easier.
2011-01-01 Romain Tartiere <romain.tartiere@gmail.com>
* examples/mifare-desfire-info.c: Do not exit if the master key
settings are not readable.
2010-12-31 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Make mifare_desfire_authenticate() a
bit more magic. If the provided key is a 3K3DES key, authenticate in ISO mode. If
the key is an AES one, authenticate in AES mode. This sugar should
help third party applications to handle authentication in a more
generic way.
2010-12-31 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Move away global variables.
2010-12-29 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Fix create_file2(). ECOPYPASTETOOFAST | EBADLUCKITSVALID: The argument
communication_settings is not to be used to construct the parameters
passed to the crypto functions mifare_cryto_preprocess_data() &
mifare_cryto_postprocess_data(), but only for building the frame.
2010-12-29 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c, test/test_mifare_desfire_ev1_aes.c:
Fix write_data() return value when data is enciphered. We only have to return the number of bytes of raw data which are
sent.
2010-12-29 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Fix usage of a potentially
reallocated memory area.
2010-12-28 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare.c: Fix parenthesis position.
2010-12-28 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/Makefile.am, libfreefare/freefare.c,
libfreefare/freefare.h, libfreefare/freefare_internal.h,
libfreefare/mifare_desfire_crypto.c,
libfreefare/mifare_ultralight.c, test/mifare_ultralight_fixture.c,
test/test_mifare_ultralight.c: Merge de libfreefare-ultralight
branch into trunk (Mifare UltraLightC support).
2010-12-26 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/Makefile.am, libfreefare/mifare_desfire.3:
Update man pages.
2010-12-25 Romain Tartiere <romain.tartiere@gmail.com>
* examples/mifare-desfire-ev1-configure-ats.c: Set the default ATS
instead of a custom one. This prevent some tools to work properly with a card afterthat.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare.c, libfreefare/freefare_internal.h: Detect
Mifare DESFire targets with more than one historical character.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, examples/Makefile.am,
examples/mifare-desfire-ev1-configure-ats.c,
libfreefare/freefare.h, libfreefare/mifare_desfire.c: New API
function mifare_desfire_set_ats().
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_crypto.c: Simplify redundant code.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* examples/mifare-desfire-ev1-configure-default-key.c: Fix example.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, examples/Makefile.am,
examples/mifare-desfire-ev1-configure-default-key.c,
libfreefare/freefare.h, libfreefare/mifare_desfire.c: New API
function mifare_desfire_set_default_key().
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire_des.c: Commit files forgotten as part of
r733.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_crypto.c: Rename some internal functions. A function with DES in its name that can perform AES crypto is
somewhat disturbing.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire.c, test/test_mifare_desfire_ev1.c,
test/test_mifare_desfire_ev1_3des.c,
test/test_mifare_desfire_ev1_3k3des.c,
test/test_mifare_desfire_ev1_aes.c: Freshen out cut_assert_success()
macro.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire_aes.c: Fix headers for memset().
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/Makefile.am, libfreefare/mifare_desfire.3,
libfreefare/mifare_desfire_key.3: Sync man pages.
2010-12-24 Audrey Diacre <adiacre@il4p.fr>
* libfreefare/mifare_desfire_crypto.c,
test/test_mifare_desfire_aes.c,
test/test_mifare_desfire_ev1_3des.c,
test/test_mifare_desfire_ev1_3k3des.c,
test/test_mifare_desfire_ev1_aes.c: replace last deprecated bzero
function by memset.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/Makefile.am: Create forgotten man pages symlinks.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_crypto.c, test/Makefile.am,
test/test_mifare_desfire_ev1_3des.c: Add support for ISO
authentication with 3DES keys.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire_des.c: libfrefare: Use local ivect in
test. It looks like finally a global variable modified by a test can
impact another test.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h,
libfreefare/mifare_desfire_crypto.c: Change the
enciphered_data_length() internal function prototype.
2010-12-24 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_crypto.c, test/test_mifare_desfire_des.c:
Change the mifare_cbc_des() internal function prototype.
Dec 23, 2010 - 0.3.0
--------------------
Fixes:
Improvements:
Changes:
2010-12-23 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS: Update the NEWS file regarding the
mifare_desfire_get_file_settings() buffer overflow fixed in 0.2.3
(update versions).
2010-12-23 Romain Tartiere <romain.tartiere@gmail.com>
* configure.ac: Bump version for the 0.3.x series.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare.c, libfreefare/mad.c,
libfreefare/mifare_desfire.c, libfreefare/mifare_desfire_crypto.c:
Reindent.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_crypto.c, test/test_mifare_desfire_des.c:
Update the MifareDirection structure for consistency.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_crypto.c, test/test_mifare_desfire_des.c:
Switch from obscure 'int mac' argument to 'MifareCryptoOperation
operation'.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* TODO, libfreefare/Makefile.am,
libfreefare/mifare_desfire_authenticate.c,
libfreefare/mifare_desfire_crypto.c: Rename
mifare_desfire_authenticate.c to mifare_desfire_crypto.c.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare.h, libfreefare/freefare_internal.h,
libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_authenticate.c,
libfreefare/mifare_desfire_key.c, test/Makefile.am,
test/common/mifare_desfire_auto_authenticate.c,
test/common/mifare_desfire_auto_authenticate.h,
test/test_mifare_desfire_ev1_3k3des.c: Add support for
authentication using 3K3DES. Please note that according to the NXP documentation of the Mifare
DESFire EV1, the mifare_desfire_authenticate_iso() function can be
used using either 3DES or 3K3DES keys. The former has not been
tested yet and is likely not to work. To word it differently, this
is a 3K3DES crypto support, not a ISO authentication support...
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_authenticate.c: Ignore the status code
when deciphering (3)DES data.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* HACKING, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_authenticate.c: Rewrite some tests using
switch statements. Add a note for the reason I do this in the HACKING file.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h,
libfreefare/mifare_desfire_authenticate.c: Improve the way data with
already a CRC is preprocessed.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h,
libfreefare/mifare_desfire_authenticate.c,
test/test_mifare_desfire_aes.c: Update CMAC code to handle 64 and
128 bit keys.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire_ev1_aes.c: Enlarge another buffer to
workaround the read_data() buffer overrun.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Invalidate authentication when
changing the currently used key.
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/freefare_internal.h, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_authenticate.c: Remove weird code. I should quit coding drunk... or maybe start to...
2010-12-18 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c, test/test_mifare_desfire.c:
Workaround invalid write in read_data () (sic) This has to be improved to some extend in the near future (hence the
FIXME).
2010-12-17 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire_authenticate.c,
test/test_mifare_desfire_des.c: Fix key_macing_length() return value
when nbytes is 0.
2010-12-17 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Silent down the compiler. The create_application() function has iso_ parameters for creating
ISO application but this mode is not available yet so the code is
unused which annoys the compiler when told to be somewhat strict.
2010-12-17 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire_ev1_aes.c: Fix the fix introduced at
r697. Yes, this type I typed 'make' before committing...
2010-12-17 Romain Tartiere <romain.tartiere@gmail.com>
* test/test_mifare_desfire_ev1_aes.c: Fix freed memory usage.
2010-12-15 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Fix a brunch of potentially
reallocated memory areas.
2010-12-15 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c, test/test_mifare_desfire_ev1_aes.c:
Fix mifare_desfire_get_key_version() when authenticated with an AES
key.
2010-12-15 Romain Tartiere <romain.tartiere@gmail.com>
* examples/Makefile.am, libfreefare/freefare.h,
libfreefare/mifare_desfire.c: Enable the
mifare-desfire-ev1-configure-random-uid example.
2010-12-15 Romain Tartiere <romain.tartiere@gmail.com>
* libfreefare/mifare_desfire.c: Fix mifare_desfire_free_mem().
2010-12-15 Romain Tartiere <romain.tartiere@gmail.com>
* examples/mifare-desfire-info.c: Display additional Mifare DESFire
EV1 information if applicable.
2010-12-15 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, TODO, configure.ac,
examples/mifare-desfire-ev1-configure-random-uid.c,
libfreefare/freefare.c, libfreefare/freefare.h,
libfreefare/freefare_internal.h, libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_authenticate.c,
libfreefare/mifare_desfire_key.c, test/Makefile.am,
test/common/mifare_desfire_auto_authenticate.c,
test/common/mifare_desfire_auto_authenticate.h,
test/mifare_desfire_ev1_fixture.c,
test/mifare_desfire_ev1_fixture.h, test/test_mifare_desfire.c,
test/test_mifare_desfire_aes.c, test/test_mifare_desfire_ev1.c,
test/test_mifare_desfire_ev1_aes.c: Add support for Mifare DESFire
EV1 with AES encryption.
2010-12-13 Audrey Diacre <adiacre@il4p.fr>
* libfreefare/mifare_desfire.c: fix buffer overflow.
2010-12-10 Audrey Diacre <adiacre@il4p.fr>
* configure.ac, libfreefare/mad.c, libfreefare/mifare_classic.c,
libfreefare/mifare_desfire.c,
libfreefare/mifare_desfire_authenticate.c,
test/test_mifare_classic.c, test/test_mifare_desfire.c: replace
deprecated bzero function by memset.
2010-12-10 Romain Tartiere <romain.tartiere@gmail.com>
* NEWS, libfreefare/mifare_desfire.c: Discard authentication
information after deleting the currently selected application.
=============================================================================
For older, see https://code.google.com/p/libfreefare/issues/list
|