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

dukpt AES not working #23

Open
hominator opened this issue Jun 24, 2023 · 3 comments
Open

dukpt AES not working #23

hominator opened this issue Jun 24, 2023 · 3 comments

Comments

@hominator
Copy link

hominator commented Jun 24, 2023

In dukpt.lib.js there is a check for KSN being 20 bytes regardless of encryption mode. If this check is updated to 24 to allow for the larger AES KSN then the the code gets further but the generated IPEK is incorrect. What testing was done for dukpt AES?

@nfogg
Copy link

nfogg commented Sep 12, 2023

I have the same issue trying to get AES256 DUKPT working. At first glance it looks like the _createIPEK function is still using DES to generate the IPEK. So it looks like the implementation is incomplete.

Did you end up finding a solution @hominator ?

@Vasperous
Copy link

Same issue here, trying to use DUKPT 2017 which allows for a 24 byte KSN but I get an exception.

@deepal
Copy link
Owner

deepal commented Apr 6, 2024

Thank you for reporting the issue. Unfortunately, I won't be able to look at this issue anytime soon. I'm looking for maintainers for the repository, and happy to review any PRs.

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

No branches or pull requests

4 participants