Forum Replies Created

  • Re: Reply To: Accessing card-emulation mode on USB-NFC-Reader

    9. December 2016 at 14:50
    in reply to: Accessing card-emulation mode on USB-NFC-Reader
    Hello,

    May I ask how you used the library? I just aquired the ACR122U and my phone doesn't detect it at all and the LED doesn't even light up. I tried downloading the ACR122U app but it still doesn't detect the reader
    + 0  |  - 0

    Re: Reply To: Application ChangeKeySetting Integrity Error

    7. December 2016 at 16:30
    in reply to: Application ChangeKeySetting Integrity Error
    Hello,

    In that case, would that mean that my NewKeySettings have invalid datas? I am using the builder to set both the first and last keysettings and they have the same amount of settings, simply with different values for the settings. Is there something I must do before changing the KeySettings for an app? Or is it simply impossible to change the KeySettings in certains situations?
    + 0  |  - 0

    Re: Reply To: Application ChangeKeySetting Integrity Error

    6. December 2016 at 17:20
    in reply to: Application ChangeKeySetting Integrity Error
    Hello,

    I already changed the settings for my File Keys and it works. The key which settings I am trying to change is the Key for the application. For my project, I need to change both the key values and theyr settings for all 3 levels (PICC,APP,FILE). I was sucessfully able to change the key for both the PICC and the APP (since stdatafiles doesn't have it's own key). I was also able to sucessfully change the KeySettings for the PICC and the file (read=0, all else to 0xF). The only KeySetting that is left to change so that my application is secured according to my project necessities is the APP, that needs to be Read-Only (with app master key) with no possibilities to create, delete or change anything on the app. Then I will put the card unformattable to close it entirelly and finish securing the integrity of the GUID on it. However, I don't understand what is that "integrity error" I am getting when I try to change the KeySettings for the APP (which is done in the exact same way as with the PICC fior this one works).
    + 0  |  - 0

    Re: Reply To: Application ChangeKeySetting Integrity Error

    5. December 2016 at 22:01
    in reply to: Application ChangeKeySetting Integrity Error
    I am trying to write something on the card and then completely lock any change on this specific application. To do so, I want to change put the application readonly (which must be done after writing on it) and disable the changeKey function (which is enablen on the creation of the app because I want to change the masterkey of this application). just to check, I went and tried putting the ChangeKeySettings right after the ChangeKey just to check if the error was due to the fact that I am trying to change the KeySettings after writing on the card, but I still get the same integryty error. My project consist on putting a simple GUID on a specific place on the card, but the security that said guid must be under requires that everything is not only read-only but fully AES and MACed.
    + 0  |  - 0

    Re: Reply To: Application ChangeKeySetting Integrity Error

    1. December 2016 at 16:27
    in reply to: Application ChangeKeySetting Integrity Error
    Hello,

    I've been trying to solve this and I am still stuck with this error. I can bypass the application crashing with try/catch, but then the ApplicationKeySettings on my cards remains unchanged, which I can't leave as is because my application needs to be as secure as I can. If anybody have any leads to what may cause the problem or even a solution it would be appreciated.
    + 0  |  - 0

    Re: Reply To: Exception "Incomplete response" when trying to debit or credit value

    1. December 2016 at 16:11
    in reply to: Exception "Incomplete response" when trying to debit or credit value
    Hello Jan,

    From my own experience, this exception happens in a LOT of cases so could you add where in your code it happens? Also, the fact that you can access the value file prior to calling this method is probably due to the fact that either one of your KeySettings (PICC or app) is set to allow reading without authentication (or that you authenticate and stay authenticated in your code without realising it) or that your filesettings are set to open readings. In which cases, I would suggest you reviewing your builder.
    + 1  |  - 0

    Re: Reply To: Application ChangeKeySetting Integrity Error

    25. November 2016 at 14:50
    in reply to: Application ChangeKeySetting Integrity Error
    Hi,

    I already did that part and it works fine. My problem comes after that part. In my application, I:
    -Create an app;
    -change it's key;
    -create a file;
    -write on that file;
    -change the keySettings (of the master key of my app)

    Of course, I authenticate withthe correcponding key between every steps. My problem occurs on this verry last step. When I try to Change the keySettings of my application, I get an Integrity error and I don't understand why. In my code, I previously changed both the key and the keySettings of my PICC master key and it worked just fine, and then I created an application with and it's keysetings also worked just fine, but when I try to change the application keySettings in the same way I did for the PICC master key, I get an Integrity error. Every key settings were made in the PICCKeySettings.builder() and applicationKeySettings.builder().

    The Error in the log remain the same


    + 0  |  - 0

    Re: Reply To: Application ChangeKeySetting Integrity Error

    24. November 2016 at 19:50
    in reply to: Application ChangeKeySetting Integrity Error
    Update: I am still trying to solve this problem. I went and sent to the log the 2 application key settings and I don't get how they could be the problem:
    old key settings com.nxp.nfclib.desfire.EV1ApplicationKeySettings@2cc50309
    new key settings com.nxp.nfclib.desfire.EV1ApplicationKeySettings@38c5390e
    + 0  |  - 0
Viewing 8 posts - 1 through 8 (of 8 total)