Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIFARE DESFire EV2 fails some unit tests #120

Open
darconeous opened this issue Oct 30, 2019 · 1 comment
Open

MIFARE DESFire EV2 fails some unit tests #120

darconeous opened this issue Oct 30, 2019 · 1 comment
Labels

Comments

@darconeous
Copy link
Member

The MIFARE DESFire EV2 is supposed to be largely backward-compatible with the MIFARE DESFire EV1, however it is failing some of the existing integration tests:

===============================================================================
Failure: test_mifare_desfire_ev1_3des
Wrong limited_credit value
<97 == settings.settings.value_file.limited_credit_value>
expected: <97>
  actual: <0>
./test_mifare_desfire_ev1_3des.c:258: void test_mifare_desfire_ev1_3des(void): cut_assert_equal_int(97, settings.settings.value_file.limited_credit_value, cut_test_context_set_current_result_user_message( cut_test_context_current_peek(), cut_test_context_take_printf(cut_test_context_current_peek(), "Wrong limited_credit value")))
===============================================================================
F
===============================================================================
Failure: test_mifare_desfire_ev1_3k3des
Wrong limited_credit value
<97 == settings.settings.value_file.limited_credit_value>
expected: <97>
  actual: <0>
./test_mifare_desfire_ev1_3k3des.c:258: void test_mifare_desfire_ev1_3k3des(void): cut_assert_equal_int(97, settings.settings.value_file.limited_credit_value, cut_test_context_set_current_result_user_message( cut_test_context_current_peek(), cut_test_context_take_printf(cut_test_context_current_peek(), "Wrong limited_credit value")))
===============================================================================
F
===============================================================================
Failure: test_mifare_desfire_ev1_aes
Wrong limited_credit value
<97 == settings.settings.value_file.limited_credit_value>
expected: <97>
  actual: <0>
./test_mifare_desfire_ev1_aes.c:256: void test_mifare_desfire_ev1_aes(void): cut_assert_equal_int(97, settings.settings.value_file.limited_credit_value, cut_test_context_set_current_result_user_message( cut_test_context_current_peek(), cut_test_context_take_printf(cut_test_context_current_peek(), "Wrong limited_credit value")))
===============================================================================
.F
===============================================================================
Failure: test_mifare_desfire
Wrong limited_credit value
<97 == settings.settings.value_file.limited_credit_value>
expected: <97>
  actual: <0>
./test_mifare_desfire.c:261: void test_mifare_desfire(void): cut_assert_equal_int(97, settings.settings.value_file.limited_credit_value, cut_test_context_set_current_result_user_message( cut_test_context_current_peek(), cut_test_context_take_printf(cut_test_context_current_peek(), "Wrong limited_credit value")))
===============================================================================

This issue is tracking investigating why this might be the case and if it makes sense to address it.

@Silur
Copy link

Silur commented Dec 30, 2020

Any news on this?
Without this issue being resolved, there is no way to actually program the EV2 chips without the intrusive licensing process by NXP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants