Skip to content

Authenticatшт mistake #22

@Jawa-Programmer

Description

@Jawa-Programmer

Hello.

You made a mistake when you described the authentication process. According to the documentation, you need to transfer the last 4 bytes of the UID, and you are transferred the first 4 bytes.
This can be fixed as follows:
code
return self._tocard(0x0E, [mode, addr] + sect + ser[:4])[0]
replaced by
return self._tocard(0x0E, [mode, addr] + sect + ser[-4:])[0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions