Quantcast
Channel: Thales Simulator Library
Viewing all 332 articles
Browse latest View live

New Post: Create CVK key

$
0
0
Hi!

CVK is card verification key. PAN, expiry and SVC are used to generate CVV value. Do you need to generate it on Thales HSM?

Regard,
Juris

New Post: Generate a PIN Block (Pin under ZPK) using Thales command

$
0
0
Hi!

You can do that using 2 host commands:

1) Encrypt PIN under LMK using 'BA' command;
2) translate PIN under LMK to ZPK encryption using 'JG' command.

Regards,
Juris

New Post: Create CVK key

$
0
0
Hello! What do you recommend to generate the CVV? 100% accurate?

What price?

I await contact.

New Post: Create CVK key

$
0
0
Hello!

I just want to precise, what way you want to generate CVV :) to give you the answer you need.

If you need to use Thales HSM, use CV command from console interface, other ways, you can use any freeware DES calculator.

Regards,
Juris

New Post: Formatin Option in HSM

$
0
0
Hi Juris,

thank you for your answer,

the exact command we send to printer is:

'PA>L>L>L>L>L>L>L>L>L>070^0>L>070^1>L>040^P>070^2>L>070^3>L>L>070^4>080^5>L>L>070^6>080^7>F' ,

we are trying to print the PIN more lighter , from the epson ESC /P manual the command to do that is: ESC (s#B

Where # is stroke weight number , the more lighter option is '-7'.

We tried many combination, like your suggestion we tried:

'PA>L>L>L>L>L>L>L>L>L>070^0>L>070^1>L>|11B(s-7B040^P>070^2>L>070^3>L>L>070^4>080^5>L>L>070^6>080^7>F'
or
'PA>L>L>L>L>L>L>L>L>L>070^0>L>070^1>|L>11B(s-7B040^P>070^2>L>070^3>L>L>070^4>080^5>L>L>070^6>080^7>F'

but with no success, the above combinations were wrong and the printer does not understand it.

Can you kindly give us any hint on above command.


Thanks and best regards
Artan Telkiu

New Post: Formatin Option in HSM

$
0
0
Hi,

What model of printer are you using with HSM?

Does HSM returns the error or the print format did not change?

Also, i can not find such ESC code (ESC ( s) in my manuals. Could you please send me that manual?

Regards,
Juris

New Post: Create CVK key

$
0
0
Hello!
I need a brute force, to find the key.

Selmo...

New Post: Create CVK key

$
0
0
Hello!

It is unreal. The keys for CVV are used double length i.e. 3DES keyes. You will spend may be 10 years or more to brute force it. :)

Regards,
Juris

New Post: Create CVK key

$
0
0
Even knowing the outcome?
I have the CVV, I want a valid key for him.

Selmo...

New Post: Create CVK key

$
0
0
Yes, also, if you know the outcome. Sorry :( Thats why 3DES algorithm is pritty old, known, but still allowed crypto algorithm by PIN Security Standard.

Regards,
Juris

New Comment on "Connecting and sending commands to the simulator"

$
0
0
This is probably the most basic example you can get: ``` import java.io.BufferedOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.nio.ByteBuffer; public class Main { public static void main(String[] args) throws Exception { Socket socket = new Socket("localhost", 9998); String command = "0006303030304e43"; // the following line converts the hex command string to a byte array byte[] bytes = ByteBuffer.allocate(8).putLong(Long.parseLong(command, 16)).array(); OutputStream out = socket.getOutputStream(); BufferedOutputStream bufferedOut = new BufferedOutputStream(out, 1024); bufferedOut.write(bytes); bufferedOut.flush(); InputStream in = socket.getInputStream(); int result; while ((result = in.read()) != -1) { System.out.print((char)result); } socket.close(); } } ``` To understand the meaning of the string ```0006303030304e43```, it can be broken down as follows (in reverse order): - ```4e43``` is the 2 byte command ```NC``` as hex - ```30303030``` adds a 4 byte header ```0000``` as hex - ```0006``` represents the length in hex of the comamnd and header (i.e. the length of ```0000NC```)

New Comment on "Connecting and sending commands to the simulator"

$
0
0
This is probably the most basic example you can get: import java.io.BufferedOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.nio.ByteBuffer; public class Main { public static void main(String[] args) throws Exception { Socket socket = new Socket("localhost", 9998); String command = "0006303030304e43"; // the following line converts the hex command string to a byte array byte[] bytes = ByteBuffer.allocate(8).putLong(Long.parseLong(command, 16)).array(); OutputStream out = socket.getOutputStream(); BufferedOutputStream bufferedOut = new BufferedOutputStream(out, 1024); bufferedOut.write(bytes); bufferedOut.flush(); InputStream in = socket.getInputStream(); int result; while ((result = in.read()) != -1) { System.out.print((char)result); } socket.close(); } } To understand the meaning of the string 0006303030304e43, it can be broken down as follows (in reverse order): - 4e43 is the 2 byte command NC as hex - 30303030 adds a 4 byte header 0000 as hex - 0006 represents the length in hex of the comamnd and header (i.e. the length of 0000NC)

New Post: Formatin Option in HSM

$
0
0
Hi Juris,

we are using "RICOH AFICIO aficio mp 3010', after some long testing we could not finalize our solution.

we are sending the following hex value to the HSM for Stroke Weight:

50417C0C1B28732D3742

the HSM is not returing error but is not changing the "Stroke Weight" during printing.

We Appreciate your helps
Best Regards
Artan Telkiu

New Post: IPEK export for injection into device.

$
0
0
Hi all,
I'm trying to realize how to inject HSM generated IPEK into device.
I was able to generate BDK, generate IPEK, export IPEK under ZMK. I need to get 'clear' IPEK to inject into device. What is the right approach for that?
Thanks in advance.

New Post: IPEK export for injection into device.

$
0
0
Hi!

You can do that into few steps:

1) generate single ZMK component using GC console command and save it;
2) form ZMK from that component into a key using FK console command;
3) export IPEK under ZMK in X scheme;
4) decrypt the result of export with any freeware DES calculator using ZMK component. Thee result of decryption will be your plain IPEK.

The calculator you can use can be downloaded from Codeplex, too: https://eftcalculator.codeplex.com/

Regards,
Juris

New Post: IPEK export for injection into device.

$
0
0
Thanks, Juris!

That what I was doing but probably confused with step 4 and used wrong decryption scheme. Really appreciate!

Vitaly

New Post: IPEK export for injection into device.

$
0
0
Hi Vitaly!

Sorry, but i did not understand. Did you get ready with IPEK export?

Do you need any future assistance?

Regards,
Juris

New Post: IPEK export for injection into device.

$
0
0
Hi Juris.

I just wanted to say you thanks. Everything's working like a charm. No more assistance needed.

Vitaly

New Post: Formatin Option in HSM

$
0
0
Hi!

Sorry, one additional question to understand your task completely. Do you want to print PIN "not black" but "grey", i mean "light black"? :)

Regards,
Juris

New Post: Formatin Option in HSM

$
0
0
Hi Juris,

yes our task is to print the PIN "light black"

Best Regards
Artan Telkiu
Viewing all 332 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>