[jpos-users] Establishing Security Zone Between POS terminal and HSM

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

[jpos-users] Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

Please I am facing a security challenge here. I want to  establish a
security zone between my POS terminal application (written in C) and
say an HSM for PIN translation. How do i do this? I dont want to
transmit the PIN entered from the terminal PIN pad in clear text to
the HSM (which is usually through an IP and a port), but in an
encrypted PIN BLOCK format. Can some one please give me a guide?
Sample code and references will be appreciated.

Thanks,

Ola.
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by David Bergert-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


This is typically not done in software but in a PED - Pin Entry Device

https://www.pcisecuritystandards.org/security_standards/ped/pedapprovallist.html?mn=I

https://www.pcisecuritystandards.org/security_standards/ped/index.shtml


David Bergert, CISSP, CISA, CPISM/A
www.paymentsystemsblog.com

On Oct 14, 2009, at 11:11 AM, ola wrote:

> I dont want to
> transmit the PIN entered from the terminal PIN pad in clear text to
> the HSM (which is usually through an IP and a port), but in an
> encrypted PIN BLOCK format


--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Yes, agreed, but all the POS terminal devices in my locality are not
PIN-PED certified, and I believe something is being used before PED
spec. So, if the Pinpad has no PED, how do I still acheive my security
zone, saying generating PINBLOCK using tripple DES?

On Oct 14, 5:18 pm, David Bergert <dbergert...@...> wrote:

> This is typically not done in software but in a PED - Pin Entry Device
>
> https://www.pcisecuritystandards.org/security_standards/ped/pedapprov...
>
> https://www.pcisecuritystandards.org/security_standards/ped/index.shtml
>
> David Bergert, CISSP, CISA, CPISM/Awww.paymentsystemsblog.com
>
> On Oct 14, 2009, at 11:11 AM, ola wrote:
>
>
>
> > I dont want to
> > transmit the PIN entered from the terminal PIN pad in clear text to
> > the HSM (which is usually through an IP and a port), but in an
> > encrypted PIN BLOCK format- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ola wrote:
> Yes, agreed, but all the POS terminal devices in my locality are not
> PIN-PED certified, and I believe something is being used before PED
> spec.
So your POS devices pass you the PIN in the clear, across a network,
between organisations, outside of a PIN block?

May I ask what your locality is - just interested?

> So, if the Pinpad has no PED, how do I still acheive my security
> zone, saying generating PINBLOCK using tripple DES?
I can accept your concern about not *adding* to the risk of exposure of
the cardholders PIN, but does your locality permit the use of these POS
devices with PIN *if* they do not protect the PIN at all?

You can certainly make a PIN block (what format is your HSM expecting?),
but as David indicates this seems very unusual.

You could do this in software, you just need the algorithm, but you will
need a clear DES key for generating the PIN block, unless you go to an
HSM to generate the PIN block, but then you have the same problem (of
transporting the PIN in the clear *and* the risk to you DES key(s).

May I also check that you have exhausted all PIN processing options with
your POS devices before arriving at this need?  To have to deal with
clear PINs really are really unusual, I imagine your HSM does not expect
a clear PIN to be placed in any of its input message fields.

The approach feels flawed whilst you have the original problem of a
clear PIN to deal with.

Can you encrypt the whole message exchange (you to POS and/or you to HSM
system?).

--
Mark

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> So your POS devices pass you the PIN in the clear, across a network,
> between organisations, outside of a PIN block?
NO! This is done through the software. What i mean is that most of
the  terminals are not  PIN-PED, rather have encryption algorithm
loaded to the pinpad or within the pos app.

>but does your locality permit the use of these POS
> devices with PIN *if* they do not protect the PIN at all?

NO! The PIN has to be protected with at least Tripple DES

> You could do this in software, you just need the algorithm, but you will
> need a clear DES key for generating the PIN block
> Can you encrypt the whole message exchange (you to POS and/or you to HSM
> system?).

I need guide on how to generate the PIN block.


On Oct 14, 6:06 pm, Mark Salter <marksal...@...> wrote:

> ola wrote:
> > Yes, agreed, but all the POS terminal devices in my locality are not
> > PIN-PED certified, and I believe something is being used before PED
> > spec.
>
> So your POS devices pass you the PIN in the clear, across a network,
> between organisations, outside of a PIN block?
>
> May I ask what your locality is - just interested?
>
> > So, if the Pinpad has no PED, how do I still acheive my security
> > zone, saying generating PINBLOCK using tripple DES?
>
> I can accept your concern about not *adding* to the risk of exposure of
> the cardholders PIN, but does your locality permit the use of these POS
> devices with PIN *if* they do not protect the PIN at all?
>
> You can certainly make a PIN block (what format is your HSM expecting?),
> but as David indicates this seems very unusual.
>
> You could do this in software, you just need the algorithm, but you will
> need a clear DES key for generating the PIN block, unless you go to an
> HSM to generate the PIN block, but then you have the same problem (of
> transporting the PIN in the clear *and* the risk to you DES key(s).
>
> May I also check that you have exhausted all PIN processing options with
> your POS devices before arriving at this need?  To have to deal with
> clear PINs really are really unusual, I imagine your HSM does not expect
> a clear PIN to be placed in any of its input message fields.
>
> The approach feels flawed whilst you have the original problem of a
> clear PIN to deal with.
>
> Can you encrypt the whole message exchange (you to POS and/or you to HSM
> system?).
>
> --
> Mark
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by chhil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jpos wiki has a hsm section that has a IBM URL that contains pinblock  
info.

-Chhil

On Oct 15, 2009, at 12:52 PM, ola <ollysoft18@...> wrote:

>
>> So your POS devices pass you the PIN in the clear, across a network,
>> between organisations, outside of a PIN block?
> NO! This is done through the software. What i mean is that most of
> the  terminals are not  PIN-PED, rather have encryption algorithm
> loaded to the pinpad or within the pos app.
>
>> but does your locality permit the use of these POS
>> devices with PIN *if* they do not protect the PIN at all?
>
> NO! The PIN has to be protected with at least Tripple DES
>
>> You could do this in software, you just need the algorithm, but you  
>> will
>> need a clear DES key for generating the PIN block
>> Can you encrypt the whole message exchange (you to POS and/or you  
>> to HSM
>> system?).
>
> I need guide on how to generate the PIN block.
>
>
> On Oct 14, 6:06 pm, Mark Salter <marksal...@...> wrote:
>> ola wrote:
>>> Yes, agreed, but all the POS terminal devices in my locality are not
>>> PIN-PED certified, and I believe something is being used before PED
>>> spec.
>>
>> So your POS devices pass you the PIN in the clear, across a network,
>> between organisations, outside of a PIN block?
>>
>> May I ask what your locality is - just interested?
>>
>>> So, if the Pinpad has no PED, how do I still acheive my security
>>> zone, saying generating PINBLOCK using tripple DES?
>>
>> I can accept your concern about not *adding* to the risk of  
>> exposure of
>> the cardholders PIN, but does your locality permit the use of these  
>> POS
>> devices with PIN *if* they do not protect the PIN at all?
>>
>> You can certainly make a PIN block (what format is your HSM  
>> expecting?),
>> but as David indicates this seems very unusual.
>>
>> You could do this in software, you just need the algorithm, but you  
>> will
>> need a clear DES key for generating the PIN block, unless you go to  
>> an
>> HSM to generate the PIN block, but then you have the same problem (of
>> transporting the PIN in the clear *and* the risk to you DES key(s).
>>
>> May I also check that you have exhausted all PIN processing options  
>> with
>> your POS devices before arriving at this need?  To have to deal with
>> clear PINs really are really unusual, I imagine your HSM does not  
>> expect
>> a clear PIN to be placed in any of its input message fields.
>>
>> The approach feels flawed whilst you have the original problem of a
>> clear PIN to deal with.
>>
>> Can you encrypt the whole message exchange (you to POS and/or you  
>> to HSM
>> system?).
>>
>> --
>> Mark
> >

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ola wrote:
>> So your POS devices pass you the PIN in the clear, across a network,
>> between organisations, outside of a PIN block?
> NO! This is done through the software. What i mean is that most of
> the  terminals are not  PIN-PED, rather have encryption algorithm
> loaded to the pinpad or within the pos app.

So the clear PIN travels from the device to your app over whatever
networks in clear, outside a PIN block?

>
>> but does your locality permit the use of these POS
>> devices with PIN *if* they do not protect the PIN at all?
>
> NO! The PIN has to be protected with at least Tripple DES
But you are getting it in the clear?

How is that possible *if* the PIN 'has to be protected', please help me
understand the connection/link between your POS device(s) and your
application.

>
>> You could do this in software, you just need the algorithm, but you will
>> need a clear DES key for generating the PIN block
>> Can you encrypt the whole message exchange (you to POS and/or you to HSM
>> system?).
>
> I need guide on how to generate the PIN block.

This is freely available, you can search for it.

I think you must question your need though - as I ask above.

--
Mark

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Mark Salter wrote:
> ola wrote:
>> Yes, agreed, but all the POS terminal devices in my locality are not
>> PIN-PED certified, and I believe something is being used before PED
>> spec.
> May I ask what your locality is - just interested?
>
By your email headers, I surmise that your processing is running in Nigeria?

--
Mark

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by MONKVILLE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Mark Salter wrote:

> Mark Salter wrote:
>  
>> ola wrote:
>>    
>>> Yes, agreed, but all the POS terminal devices in my locality are not
>>> PIN-PED certified, and I believe something is being used before PED
>>> spec.
>>>      
>> May I ask what your locality is - just interested?
>>
>>    
> By your email headers, I surmise that your processing is running in Nigeria?
>
>  
I'm pretty certain that all POS terminals certified to be used in
Nigeria are PIN-PED certified.

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Andy Onyung wrote:
> Mark Salter wrote:
>> By your email headers, I surmise that your processing is running in Nigeria?
>>
>>  
> I'm pretty certain that all POS terminals certified to be used in
> Nigeria are PIN-PED certified.

I wonder which type (or network) ola is making use of.

Perhaps something 'closed-loop'?

Thanks for the detail Andy.

8)

--
Mark

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> > I'm pretty certain that all POS terminals certified to be used in
> > Nigeria re PIN-PED certified.
Andy, pls can you give me sample terminals perhaps I am mis-
conceiving!

>> By your email headers, I surmise that your processing is running in Nigeria?
well, i am still at developing stage, not at processing, and that is
why i need guide pls, so that i put the right thing into production. I
will appreciate here if guidance is being given rather than otherwise.

>How is that possible *if* the PIN 'has to be protected', please help me
>understand the connection/link between your POS device(s) and your
>application.

see, the application  i refer to here is POS terminal application  NOT
JPOS application, so the application is still on the device.
My concern is how to get the PIN entered on the device being encrypted
on the device before being transmitted at all across network to either
an HSm or a JPOS application, thus i need to establish security zone.


On Oct 15, 9:45 am, Mark Salter <marksal...@...> wrote:

> Andy Onyung wrote:
> > Mark Salter wrote:
> >> By your email headers, I surmise that your processing is running in Nigeria?
>
> > I'm pretty certain that all POS terminals certified to be used in
> > Nigeria are PIN-PED certified.
>
> I wonder which type (or network) ola is making use of.
>
> Perhaps something 'closed-loop'?
>
> Thanks for the detail Andy.
>
> 8)
>
> --
> Mark
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by MONKVILLE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ola wrote:

>>> I'm pretty certain that all POS terminals certified to be used in
>>> Nigeria re PIN-PED certified.
>>>      
> Andy, pls can you give me sample terminals perhaps I am mis-
> conceiving!
>
>  
>>> By your email headers, I surmise that your processing is running in Nigeria?
>>>      
> well, i am still at developing stage, not at processing, and that is
> why i need guide pls, so that i put the right thing into production. I
> will appreciate here if guidance is being given rather than otherwise.
>
>  
>> How is that possible *if* the PIN 'has to be protected', please help me
>> understand the connection/link between your POS device(s) and your
>> application.
>>    
>
> see, the application  i refer to here is POS terminal application  NOT
> JPOS application, so the application is still on the device.
> My concern is how to get the PIN entered on the device being encrypted
> on the device before being transmitted at all across network to either
> an HSm or a JPOS application, thus i need to establish security zone.
>
>
> On Oct 15, 9:45 am, Mark Salter <marksal...@...> wrote:
>  
>> Andy Onyung wrote:
>>    
>>> Mark Salter wrote:
>>>      
>>>> By your email headers, I surmise that your processing is running in Nigeria?
>>>>        
>>> I'm pretty certain that all POS terminals certified to be used in
>>> Nigeria are PIN-PED certified.
>>>      
>> I wonder which type (or network) ola is making use of.
>>
>> Perhaps something 'closed-loop'?
>>
>> Thanks for the detail Andy.
>>
>> 8)
>>
>> --
>> Mark
>>    
> >
>
>  
A few i can think of include the verifone vx series (510, 570, 670) as
well as the MX (830, 830, 870). But like Mark said, perhaps you should
tell us what terminal type you are using (or planning to use). But you
might want to explore the DUKPT and Master Session encryption schemes
for what you want to achieve. This isn't really a jpos issue.

Kind Regards,
Andy

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ola wrote:
>>> By your email headers, I surmise that your processing is running in Nigeria?
> well, i am still at developing stage, not at processing, and that is
> why i need guide pls, so that i put the right thing into production. I
> will appreciate here if guidance is being given rather than otherwise.

I really am trying to help, but worry we are not seeing your true
position...

>
>> How is that possible *if* the PIN 'has to be protected', please help me
>> understand the connection/link between your POS device(s) and your
>> application.
>
> see, the application  i refer to here is POS terminal application  NOT
> JPOS application, so the application is still on the device.
This is still unclear - to me anyway.  This appears to not be a jPos
question at all?

Are you writing code that is running *on* the POS device?


> My concern is how to get the PIN entered on the device being encrypted
> on the device before being transmitted at all across network to either
> an HSm or a JPOS application, thus i need to establish security zone.

I think you may need to be looking at the POS devices 'api', I am sure
the ability to produce a PIN block *should* be available, otherwise how
can these devices ever work in a production environment at all?

--
Mark

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Are you writing code that is running *on* the POS device?

YES

> I think you may need to be looking at the POS devices 'api', I am sure
> the ability to produce a PIN block *should* be available, otherwise how
> can these devices ever work in a production environment at all?

I have been trying to contact them but never get fruitful result. You
see, I have with with a virgin/blank POS terminal, which I loaded
kernel, ramdisk and develop my own app for and on the pos device.
Anyway, I am still trying to get this security issue fix, God helps
me!

On Oct 15, 11:29 am, Mark Salter <marksal...@...> wrote:

> ola wrote:
> >>> By your email headers, I surmise that your processing is running in Nigeria?
> > well, i am still at developing stage, not at processing, and that is
> > why i need guide pls, so that i put the right thing into production. I
> > will appreciate here if guidance is being given rather than otherwise.
>
> I really am trying to help, but worry we are not seeing your true
> position...
>
>
>
> >> How is that possible *if* the PIN 'has to be protected', please help me
> >> understand the connection/link between your POS device(s) and your
> >> application.
>
> > see, the application  i refer to here is POS terminal application  NOT
> > JPOS application, so the application is still on the device.
>
> This is still unclear - to me anyway.  This appears to not be a jPos
> question at all?
>
> Are you writing code that is running *on* the POS device?
>
> > My concern is how to get the PIN entered on the device being encrypted
> > on the device before being transmitted at all across network to either
> > an HSm or a JPOS application, thus i need to establish security zone.
>
> I think you may need to be looking at the POS devices 'api', I am sure
> the ability to produce a PIN block *should* be available, otherwise how
> can these devices ever work in a production environment at all?
>
> --
> Mark
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ola wrote:
>> Are you writing code that is running *on* the POS device?
>
> YES

You 'shout' because I should have guessed this and didn't?

8)

>
>> I think you may need to be looking at the POS devices 'api', I am sure
>> the ability to produce a PIN block *should* be available, otherwise how
>> can these devices ever work in a production environment at all?
>
> I have been trying to contact them but never get fruitful result. You
> see, I have with with a virgin/blank POS terminal, which I loaded
> kernel, ramdisk and develop my own app for and on the pos device.
> Anyway, I am still trying to get this security issue fix, God helps
> me!

So you have a supplier problem, as you are 'rolling your own'   I can
imagine they may not be able to give fruitful support - just like us.

Please mark off-topic postings to this list with OT in the subject line,
that way we need not waste time reading them if they are nothing to do
with jPOS.

Good luck.

--
Mark

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by Zablon Ochomo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ola,
If I got your question well, you need the setup below.

POS <----> POS Switch <-----> HSM

That means, POS application is made in C, POS Switch may be jPOS and HSM device may be from Thales.

If that is the case, then your jPOS application should handle the field with PIN block and send the correct HSM command during POS terminal request processing.

What do you think?

On Wed, Oct 14, 2009 at 7:11 PM, ola <ollysoft18@...> wrote:

Hello,

Please I am facing a security challenge here. I want to  establish a
security zone between my POS terminal application (written in C) and
say an HSM for PIN translation. How do i do this? I dont want to
transmit the PIN entered from the terminal PIN pad in clear text to
the HSM (which is usually through an IP and a port), but in an
encrypted PIN BLOCK format. Can some one please give me a guide?
Sample code and references will be appreciated.

Thanks,

Ola.




--
Zablon Ochomo

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On Oct 15, 3:17 pm, Mark Salter <marksal...@...> wrote:

> ola wrote:
> >> Are you writing code that is running *on* the POS device?
>
> > YES
>
> You 'shout' because I should have guessed this and didn't?
>
> 8)
>
>
>
> >> I think you may need to be looking at the POS devices 'api', I am sure
> >> the ability to produce a PIN block *should* be available, otherwise how
> >> can these devices ever work in a production environment at all?
>
> > I have been trying to contact them but never get fruitful result. You
> > see, I have with with a virgin/blank POS terminal, which I loaded
> > kernel, ramdisk and develop my own app for and on the pos device.
> > Anyway, I am still trying to get this security issue fix, God helps
> > me!
>
> So you have a supplier problem, as you are 'rolling your own'   I can
> imagine they may not be able to give fruitful support - just like us.
>
> Please mark off-topic postings to this list with OT in the subject line,
> that way we need not waste time reading them if they are nothing to do
> with jPOS.
>
> Good luck.
>
> --
> Mark

> So you have a supplier problem, as you are 'rolling your own'   I can
> imagine they may not be able to give fruitful support - just like us.
> Please mark off-topic postings to this list with OT in the subject line,
> that way we need not waste time reading them if they are nothing to do
> with jPOS.

THIS IS NOT COMPLETELY OFF JPOS TOPIC, BECAUSE THE POS TERMINAL APP
STILL COMMUNICATE TO JPOS APP, which acts like a gateway between the
POS terminal app and the Postilion. So, the security zone I am
establishing involve both the POS terminal and JPOS app that I
developed that acts like a gateway, so I am NOT WASTING YOUR TIME,
only NEED help. But if you taught I had, sorry for that.

THANK YOU.

--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> If that is the case, then your jPOS application should handle the field with
> PIN block and send the correct HSM command during POS terminal request
> processing.
>
> What do you think?

Zablon, thank you for takiing your time to understand my question,
scenario and pain. This is exact picture of what i am doing. You see,
right now, I have JPOS generating the PIN BLOCK correctly before being
communicated to the host/postilion, only what i now need to establish
is  a security zone between my POS app and the JPOS app, so i taught
using a PIN block would be safer.

POS Switch <-----> HSM : No problem

 POS <----> POS Switch : Need to establish security zone.

I really appreciate your reply.


On Oct 15, 3:38 pm, Zablon Ochomo <ocho...@...> wrote:

> Ola,
> If I got your question well, you need the setup below.
>
> POS <----> POS Switch <-----> HSM
>
> That means, POS application is made in C, POS Switch may be jPOS and HSM
> device may be from Thales.
>
> If that is the case, then your jPOS application should handle the field with
> PIN block and send the correct HSM command during POS terminal request
> processing.
>
> What do you think?
>
>
>
>
>
> On Wed, Oct 14, 2009 at 7:11 PM, ola <ollysof...@...> wrote:
>
> > Hello,
>
> > Please I am facing a security challenge here. I want to  establish a
> > security zone between my POS terminal application (written in C) and
> > say an HSM for PIN translation. How do i do this? I dont want to
> > transmit the PIN entered from the terminal PIN pad in clear text to
> > the HSM (which is usually through an IP and a port), but in an
> > encrypted PIN BLOCK format. Can some one please give me a guide?
> > Sample code and references will be appreciated.
>
> > Thanks,
>
> > Ola.
>
> --
> Zablon Ochomo- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> You 'shout' because I should have guessed this and didn't?

SHOUT? that i need assistance does not mean i should NOT be given
little Courtesy.

> So you have a supplier problem, as you are 'rolling your own'   I can
> imagine they may not be able to give fruitful support - just like us.

But i have someone who has already giving me fruitful support!  BYE

On Oct 15, 3:17 pm, Mark Salter <marksal...@...> wrote:

> ola wrote:
> >> Are you writing code that is running *on* the POS device?
>
> > YES
>
> You 'shout' because I should have guessed this and didn't?
>
> 8)
>
>
>
> >> I think you may need to be looking at the POS devices 'api', I am sure
> >> the ability to produce a PIN block *should* be available, otherwise how
> >> can these devices ever work in a production environment at all?
>
> > I have been trying to contact them but never get fruitful result. You
> > see, I have with with a virgin/blank POS terminal, which I loaded
> > kernel, ramdisk and develop my own app for and on the pos device.
> > Anyway, I am still trying to get this security issue fix, God helps
> > me!
>
> So you have a supplier problem, as you are 'rolling your own'   I can
> imagine they may not be able to give fruitful support - just like us.
>
> Please mark off-topic postings to this list with OT in the subject line,
> that way we need not waste time reading them if they are nothing to do
> with jPOS.
>
> Good luck.
>
> --
> Mark
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---


[jpos-users] Re: Establishing Security Zone Between POS terminal and HSM

by ola-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>
> You 'shout' because I should have guessed this and didn't?
>
And for your info pls, as a MEMBER of this forum, i deserve a little
respect pls.

Thank you.

On Oct 15, 3:17 pm, Mark Salter <marksal...@...> wrote:

> ola wrote:
> >> Are you writing code that is running *on* the POS device?
>
> > YES
>
> You 'shout' because I should have guessed this and didn't?
>
> 8)
>
>
>
> >> I think you may need to be looking at the POS devices 'api', I am sure
> >> the ability to produce a PIN block *should* be available, otherwise how
> >> can these devices ever work in a production environment at all?
>
> > I have been trying to contact them but never get fruitful result. You
> > see, I have with with a virgin/blank POS terminal, which I loaded
> > kernel, ramdisk and develop my own app for and on the pos device.
> > Anyway, I am still trying to get this security issue fix, God helps
> > me!
>
> So you have a supplier problem, as you are 'rolling your own'   I can
> imagine they may not be able to give fruitful support - just like us.
>
> Please mark off-topic postings to this list with OT in the subject line,
> that way we need not waste time reading them if they are nothing to do
> with jPOS.
>
> Good luck.
>
> --
> Mark
--~--~---------~--~----~------------~-------~--~----~
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-users@...
To unsubscribe, send email to jpos-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users
-~----------~----~----~----~------~----~------~--~---

< Prev | 1 - 2 | Next >