SecureDESKey sdk = new SecureDESKey(SMAdapter.LENGTH_DES3_2KEY, SMAdapter.TYPE_ZPK, "ZPK Value", "KCV");
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ec586df1-6135-4676-875e-55faa10bd46e%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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+...@googlegroups.com.
I got two clear component from the postilion guys and used smconsole to form a new Key. This is the key I'm using here with its key check value
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/e7029bfc-bf9c-441c-b011-5bde9545a818%40googlegroups.com.
Thanks Chill,
Here it is smconsole -lmk path/to/your/test.lmk FK 128 ZPK PARTA PARTB 00000
I got this as the response
<log realm="jce-security-module" at="2016-08-24T14:32:52.217" lifespan="43ms">
<s-m-operation>
<command name="Form Key from Three Clear Components">
<parameter name="Key Length">
128
</parameter>
<parameter name="Key Type">
ZPK
</parameter>
<parameter name="Component 1 Check Value">
[redacted]
</parameter>
<parameter name="Component 2 Check Value">
[redacted]
</parameter>
<parameter name="Component 3 Check Value">
[redacted]
</parameter>
</command>
<result name="Formed Key">
<secure-des-key length="128" type="ZPK" variant="0" scheme="X">
<data>[redacted]</data>
<check-value>FE6D76</check-value>
</secure-des-key>
</result>
</s-m-operation>
</log>
and Yes, I got the same check value I was givenSo you probably used the FK command in the console. Could you share what was input without using actual key values as the 3 components entered (since you have only 2 components)?The 3 should be comp1 comp2 comp1Did the key check value you generated matched the ones that was provided by Postilion?-chhil-chhil
On Tue, Aug 30, 2016 at 7:50 PM, Ibrahim Abiodun <floppyc...@gmail.com> wrote:
I got two clear component from the postilion guys and used smconsole to form a new Key. This is the key I'm using here with its key check value
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+...@googlegroups.com.
I'm sending a message to postilion and I'm having issues with the field 52.
Here is how I'm generating my pinblock
JCESecurityModule jcesecmod = new JCESecurityModule("path to test lmk", "com.sun.crypto.provider.SunJCE");
SecureDESKey sdk = new SecureDESKey(SMAdapter.LENGTH_DES3_2KEY, SMAdapter.TYPE_ZPK, "ZPK Value", "KCV");
EncryptedPIN pinUnderLMK = jcesecmod.encryptPIN(pin,account);
--
Mark
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/cfb24de3-43c4-502b-cbaf-29eab03a942c%40talktalk.net.
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f6ffdde4-4812-49f6-be1e-3735d9fc0b35%40googlegroups.com.
--
Mark
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/c63f8908-9ea4-12dd-2638-66dd4d2298a8%40talktalk.net.
We'll have to wait to see if it's FORMAT01 or FORMAT03 :)/V
On Sun, Sep 4, 2016 at 7:39 AM, 'Mark Salter' via jPOS Users <jpos-...@googlegroups.com> wrote:
On 01/09/16 19:08, Victor Salaman wrote:
> Can you try sending 5C23B5B72F0E4A89 as the pinblock?
I like this value for a format 1 clear PIN PIN data = LLPPPPFFFFFFFFFF
but also 114EE81A3A28A8B1 (PPPPFFFFFFFFFFFF - clear pin form)
I think the key here is what the OP has as PIN data going into the
encryption - I suspect you have that incorrect for the target system.
I asked for that detail elsewhere on this thread, so we shall see.
--
Mark
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+...@googlegroups.com.
Got this 5C23B5B72F0E4A89 after adjusting the PAN.
--
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/1913df6c-9d91-4530-bb19-f912e16a37dd%40googlegroups.com.
I think he might be overlooking the fact that my sample code is extracting the account # from the PAN. :)
On Mon, Sep 5, 2016 at 9:55 AM, 'Mark Salter' via jPOS Users <jpos-...@googlegroups.com> wrote:
--
On Monday, September 5, 2016 at 9:24:33 AM UTC+1, Ibrahim Abiodun wrote:Got this 5C23B5B72F0E4A89 after adjusting the PAN.Can you share the code as it now stands at all?
I think you are saying that the call into the encryption takes the full PAN and you were prematurely truncating it?
--
Mark
--
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: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
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 jpos-users+...@googlegroups.com.
EncryptedPIN pinUnderLMK = jcesecmod.encryptPIN(pin,fullpan);