dukpt AES not working
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?
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 ?
Same issue here, trying to use DUKPT 2017 which allows for a 24 byte KSN but I get an exception.
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.