[jpos-users] Pin Translation issue from TPK to ZPK

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jpos-users] Pin Translation issue from TPK to ZPK

Srujan Kumar


Hi All,

Firstly I would like to apologize to the members of this group for coming up with a topic irrelevant to jpos. My requirement is to generate TMK & TPK using Thales and on the POS terminal I need to load TMK, TPK and form pinblock under TPK than i need to translate pinblock under TPK to ZPK. I am able to generate TMK & TPK and on the POS terminal I am able to form the pinblock & now I need to translate pin block encrypted under TPK to ZPK but I am getting error code 24 from HSM. Below is the complete procedure I had followed to generate TMK, TPK & ZPK , and I unable to figure out the issue so Kindly help me.

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: 4A61 A2F2 FD6B AEAD 64E0 EFFB 0238 BF92

Encrypted component: U57ED CDB3 2A71 E86E CD1E 36D8 10F7 C4A3

Key check value: C4C0 A0

 

 

Online-AUTH>fk

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

Enter component type [X,H,T,E,S]: x

Enter number of components [1-9]: 1

 

Enter component 1: ***************************************

 

Encrypted key: U4C9F 09F3 5793 2D72 2D21 B8FB D17C 44AC

Key check value: C4C0 A0


Session keys under TMK
**********************
HSM Req 00000000HCU4C9F09F357932D722D21B8FBD17C44AC;XU0
HSM Res 00000000HD00X92F9F09C81A15CD3D356219B0C877130U4C3842A2AD9320BB7A0D746AF2FC58DF

Pin Block calculated on terminal in ISO - 0 Standard
*****************************************************
Card no - 5399232099999952(12 - digit card no 923209999995)
Pin - 1111
clear TPK - B31F3DA722760101A27F86FC04FFB619
TPK under TMK - 92F9F09C81A15CD3D356219B0C877130(clear TMK- BAFE1FBA3491C1B007BF1398C7D026FD)
Encrypted Pin block block formed on terminal - 9BD69620014FA8B0

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: C79D A410 CDDC 5B89 7CFD 91EC 1A43 FE40

Encrypted component: U0BA4 5218 0258 B3EB C460 C2B9 E6D2 E1F0

Key check value: EECC 6D

 

 Bank ZPK

********

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: 3DC8 8FBC E3BF 168F 49CD 496E AB76 7A85

Encrypted component: U1C57 54AD FDD4 AFA8 C5A5 3638 44D5 9A8C

Key check value: 58D7 D5

 

 

Online-AUTH>fk

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 001

Enter key scheme: u

Enter component type [X,H,T,E,S]: x

Enter number of components [1-9]: 2

 

Enter component 1: ****************************************

 

Enter component 2: ***************************************

 

Encrypted key: U400B ACC4 6F0F 611B 893A 6CBA 7E86 6D6D

Key check value: 15A9 31

 

Pin Translation from TPK to TMK
********************************
HSM Req 00000000CAU4C3842A2AD9320BB7A0D746AF2FC58DFU400BACC46F0F611B893A6CBA7E866D6D049BD69620014FA8B00101923209999995
HSM Res 00000000CB24

Thanks in advance for your valuable feedback.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: [hidden email]
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ee721c68-e24a-42b0-bc74-efe5a3c7a5f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] Pin Translation issue from TPK to ZPK

Victor Salaman-Medina
Hi:

Why not contact your nearest Thales reseller/support?

As you say, it is off-topic/ Thales support is not the aim of this list. 

Have a great day.

/V

On Wed, Nov 30, 2016 at 8:20 AM, Srujan Kumar <[hidden email]> wrote:


Hi All,

Firstly I would like to apologize to the members of this group for coming up with a topic irrelevant to jpos. My requirement is to generate TMK & TPK using Thales and on the POS terminal I need to load TMK, TPK and form pinblock under TPK than i need to translate pinblock under TPK to ZPK. I am able to generate TMK & TPK and on the POS terminal I am able to form the pinblock & now I need to translate pin block encrypted under TPK to ZPK but I am getting error code 24 from HSM. Below is the complete procedure I had followed to generate TMK, TPK & ZPK , and I unable to figure out the issue so Kindly help me.

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: 4A61 A2F2 FD6B AEAD 64E0 EFFB 0238 BF92

Encrypted component: U57ED CDB3 2A71 E86E CD1E 36D8 10F7 C4A3

Key check value: C4C0 A0

 

 

Online-AUTH>fk

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

Enter component type [X,H,T,E,S]: x

Enter number of components [1-9]: 1

 

Enter component 1: ***************************************

 

Encrypted key: U4C9F 09F3 5793 2D72 2D21 B8FB D17C 44AC

Key check value: C4C0 A0


Session keys under TMK
**********************
HSM Req 00000000HCU4C9F09F357932D722D21B8FBD17C44AC;XU0
HSM Res 00000000HD00X92F9F09C81A15CD3D356219B0C877130U4C3842A2AD9320BB7A0D746AF2FC58DF

Pin Block calculated on terminal in ISO - 0 Standard
*****************************************************
Card no - 5399232099999952(12 - digit card no 923209999995)
Pin - 1111
clear TPK - B31F3DA722760101A27F86FC04FFB619
TPK under TMK - 92F9F09C81A15CD3D356219B0C877130(clear TMK- BAFE1FBA3491C1B007BF1398C7D026FD)
Encrypted Pin block block formed on terminal - 9BD69620014FA8B0

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: C79D A410 CDDC 5B89 7CFD 91EC 1A43 FE40

Encrypted component: U0BA4 5218 0258 B3EB C460 C2B9 E6D2 E1F0

Key check value: EECC 6D

 

 Bank ZPK

********

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: 3DC8 8FBC E3BF 168F 49CD 496E AB76 7A85

Encrypted component: U1C57 54AD FDD4 AFA8 C5A5 3638 44D5 9A8C

Key check value: 58D7 D5

 

 

Online-AUTH>fk

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 001

Enter key scheme: u

Enter component type [X,H,T,E,S]: x

Enter number of components [1-9]: 2

 

Enter component 1: ****************************************

 

Enter component 2: ***************************************

 

Encrypted key: U400B ACC4 6F0F 611B 893A 6CBA 7E86 6D6D

Key check value: 15A9 31

 

Pin Translation from TPK to TMK
********************************
HSM Req 00000000CAU4C3842A2AD9320BB7A0D746AF2FC58DFU400BACC46F0F611B893A6CBA7E866D6D049BD69620014FA8B00101923209999995
HSM Res 00000000CB24

Thanks in advance for your valuable feedback.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: [hidden email]
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ee721c68-e24a-42b0-bc74-efe5a3c7a5f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: [hidden email]
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CALK1SyxncC%2Bzkr34fCB65FBhu6XYgb7kT1rFk9U5FdK6yTdNNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] Pin Translation issue from TPK to ZPK

chhil
Follow Victors advice or

I suggest you use ThaleSim https://thalessim.codeplex.com/ and then post your query in the discussion section, you will most likely get some assistance there.

-chhil

On Wed, Nov 30, 2016 at 7:01 PM, Victor Salaman <[hidden email]> wrote:
Hi:

Why not contact your nearest Thales reseller/support?

As you say, it is off-topic/ Thales support is not the aim of this list. 

Have a great day.

/V

On Wed, Nov 30, 2016 at 8:20 AM, Srujan Kumar <[hidden email]> wrote:


Hi All,

Firstly I would like to apologize to the members of this group for coming up with a topic irrelevant to jpos. My requirement is to generate TMK & TPK using Thales and on the POS terminal I need to load TMK, TPK and form pinblock under TPK than i need to translate pinblock under TPK to ZPK. I am able to generate TMK & TPK and on the POS terminal I am able to form the pinblock & now I need to translate pin block encrypted under TPK to ZPK but I am getting error code 24 from HSM. Below is the complete procedure I had followed to generate TMK, TPK & ZPK , and I unable to figure out the issue so Kindly help me.

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: 4A61 A2F2 FD6B AEAD 64E0 EFFB 0238 BF92

Encrypted component: U57ED CDB3 2A71 E86E CD1E 36D8 10F7 C4A3

Key check value: C4C0 A0

 

 

Online-AUTH>fk

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

Enter component type [X,H,T,E,S]: x

Enter number of components [1-9]: 1

 

Enter component 1: ***************************************

 

Encrypted key: U4C9F 09F3 5793 2D72 2D21 B8FB D17C 44AC

Key check value: C4C0 A0


Session keys under TMK
**********************
HSM Req 00000000HCU4C9F09F357932D722D21B8FBD17C44AC;XU0
HSM Res 00000000HD00X92F9F09C81A15CD3D356219B0C877130U4C3842A2AD9320BB7A0D746AF2FC58DF

Pin Block calculated on terminal in ISO - 0 Standard
*****************************************************
Card no - 5399232099999952(12 - digit card no 923209999995)
Pin - 1111
clear TPK - B31F3DA722760101A27F86FC04FFB619
TPK under TMK - 92F9F09C81A15CD3D356219B0C877130(clear TMK- BAFE1FBA3491C1B007BF1398C7D026FD)
Encrypted Pin block block formed on terminal - 9BD69620014FA8B0

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: C79D A410 CDDC 5B89 7CFD 91EC 1A43 FE40

Encrypted component: U0BA4 5218 0258 B3EB C460 C2B9 E6D2 E1F0

Key check value: EECC 6D

 

 Bank ZPK

********

Online-AUTH>gc

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 002

Enter key scheme: u

 

Clear component: 3DC8 8FBC E3BF 168F 49CD 496E AB76 7A85

Encrypted component: U1C57 54AD FDD4 AFA8 C5A5 3638 44D5 9A8C

Key check value: 58D7 D5

 

 

Online-AUTH>fk

 

Enter LMK id [0-4]: 0

Enter key length [1,2,3]: 2

Enter key type: 001

Enter key scheme: u

Enter component type [X,H,T,E,S]: x

Enter number of components [1-9]: 2

 

Enter component 1: ****************************************

 

Enter component 2: ***************************************

 

Encrypted key: U400B ACC4 6F0F 611B 893A 6CBA 7E86 6D6D

Key check value: 15A9 31

 

Pin Translation from TPK to TMK
********************************
HSM Req 00000000CAU4C3842A2AD9320BB7A0D746AF2FC58DFU400BACC46F0F611B893A6CBA7E866D6D049BD69620014FA8B00101923209999995
HSM Res 00000000CB24

Thanks in advance for your valuable feedback.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: [hidden email]
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ee721c68-e24a-42b0-bc74-efe5a3c7a5f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: [hidden email]
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CALK1SyxncC%2Bzkr34fCB65FBhu6XYgb7kT1rFk9U5FdK6yTdNNw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: [hidden email]
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAPazefCemgyYzgQ25og4QtZinQ2vc2_zT43rg3ghKwaHDToMHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.