Hi,

I am trying to execute the GPKTest.class that comes with the gemplus-gpk-0.2.jar

Although the OCF seems o work with it (the card is recognized), 
the GPKTest stops at the point where CreateSecret.KeyFile is called (Line 1234):

   // Create Secret Key File
    System.out.println("\nCreating Secret Key File " + ef_3F02);
    fus.createSecretKeyFile(ef_3F02, 1, null);

After executing the fus.createSecretKeyFile(ef_3F02, 1, null); it returns to the 
command prompt.

Is there a default pass that comes with GPK8000 sample cards ?

My configuration :
- GPK8000 sample card (not standard so far I can tell)
- Win2000
- GCR410 Reader
- Java 1.3
- JCE 1.2.1 (well I put it because I tried to recompile the GPKTest.java 
             and javax.crypto.spec.SecretKeySpec could not be imported...)
- Cryptix 3.2

Did anyone have the same problem, or can put some ideas on the table on what to do?


______________________________________________________________________________________________________


OUTPUT OF THE com.gemplus.opencard.service.gpk.test.GPKTest
-----------------------------------------------------------------

C:\Java\jdk1.3\jre\lib\ext>java com.gemplus.opencard.service.gpk.test.GPKTest
 Gemplus Card Terminal Version:  4.01.003 Date:  December 10, 1999
 Did not find Gempluscardterminal.properties file
 Uses OCF Polling list techniques

Waiting for card

starting Tests

===============================================================================
Creating File CardServices...


===============================================================================
Creating GPK8000 CardServices...


===============================================================================
CARD INITIALIZATION STEP


Erase Card

Creating Secret Key File :3F00:3F02

C:\Java\jdk1.3\jre\lib\ext>

______________________________________________________________________________________________________

###############################
# Card service configuration  #
###############################
# use the OCF PassThru card service factory
#OpenCard.services = opencard.opt.util.PassThruCardServiceFactory

# use the GPK card service factory
OpenCard.services = com.gemplus.opencard.service.gpk.factory.GPKCardServiceFactory


###############################
# Card terminal configuration #
###############################

OpenCard.terminals = 
com.gemplus.opencard.terminal.GemplusCardTerminalFactory|MyGemCore|GCR410|COM1

#######################
# TRACE configuration #
#######################

# Warnings ...
 OpenCard.trace = opencard:4 com.gemplus.opencard.service:4 
com.gemplus.opencard.terminal:4


______________________________________________________________________________________________________

CONTENTS of C:\Java\jdk1.3\jre\lib\ext>
--------------------------------------------------------------------

17-01-2000  10:03              136.742 base-core.jar
17-01-2000  10:04              243.746 base-opt.jar
15-11-1998  16:00               35.551 BlackBox.jar
15-11-1998  16:00               28.043 comm.jar
02-10-2000  16:46              140.474 cryptix32-pgp.jar
02-10-2000  16:46              484.086 cryptix32.jar
06-04-2000  19:00               96.957 gemplus-gpk-0.2.jar
30-03-2000  17:16               13.489 gemplus-service-0.2.jar
11-01-2000  19:44               61.670 gemplus-terminals-4.1.jar
28-07-2000  15:42               71.152 Jce1_2_1.jar
28-07-2000  15:42                2.521 local_policy.jar
02-12-1999  16:00               24.810 migterminals.jar
02-12-1999  16:00               36.044 pcsc-wrapper-src.jar
02-12-1999  15:59              225.467 reference-services.jar
02-12-1999  15:59               42.101 reference-terminals-window
02-12-1999  16:00               28.982 rejar-tool.jar
02-12-1999  16:00                5.323 sb-demo-ext.jar
02-12-1999  16:00              155.493 sb-demo.jar
28-07-2000  15:42              127.640 sunjce_provider.jar


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to