Can't get the same AC as with BP-tools #7
-
I'm trying to pyemv to automate some tasks that I'd usually do with bp-tools. I get the same session keys with pyemv as I do with bp-tools, but when I generate the AC, I can't get them to match, even if I use a simple session key. Is there a reason for this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There could be several reasons.
If you have documentation on how your application AC is calculated then it'd be easy to find where the problem is. If you can share more info maybe I can help more. These are some general pointers. |
Beta Was this translation helpful? Give feedback.
There could be several reasons.
a. You need to provide exact list of tags in exact order concatenated together into the generate AC function.
b. Some applications may need portions of some tags (e.g. CVR or CVR and counters out of 9F10).
a. One with a bunch of 0x00 added at the end.
b. One with 0x80 control bit and then a bunch of 0x00 added at the end. Most modern applications use this one.
If you have documentation on how …