You need to ‘import’ the ZPK under LMK encryption, using the SMConsole.
You can start the jPOS CLI by calling ‘bin/q2 —cli’ and then try the ‘smconsole’ command. Use a ‘tab’ to see all the available commands.
From the smconsole command line, you do something like:
smconsole -lmk path/to/your/test.lmk FK 128 ZPK 0123456789ABCDEFFEDCBA9876543210 00000000000000000000000000000000 00000000000000000000000000000000
Then you pick the encrypted ZPK and store it in a secure key file, i.e.:
myzpk.key=D34EF6268835AFAFED0CAD295B818CF1
myzpk.checkvalue=08D7B4
myzpk.length=128
myzpk.type=BDK
myzpk.class=org.jpos.security.SecureDESKey
The ‘key’ and ‘checkvalue’ are the output of the import command above.
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/0f337a27-f6a1-4673-ab85-5b69986e791a%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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/a29466dc-9562-40ba-931a-cc6b33bdea29%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/934df1c3-7137-4627-b0a4-54fbfc1a2f2e%40googlegroups.com.
First, it’s never good to hijack a thread.
That being said, you should not use -cp and -jar at the same time.
Follow these steps:
java -jar jpos-1.9.6.jar -c "smconsole -lmk /tmp/test.lmk -rebuildlmk; shutdown --force"
/V
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/320d739f-def1-407a-b0fa-57681db5ad51%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/94be6ed1-8820-4bc6-b686-7d2b600d1691%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/4a72340f-49f3-48fc-bd13-d29f834ce8b1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/6b44526f-edf7-4688-97da-435ac79e5fb4%40googlegroups.com.