• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with JAVAKEY tool  RSS feed

Farouk Mohamed2
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jar file to be signed as it requires access to local drive to read a file.
It is using JDK1.1.8 so i have to use JAVAKEY tool
Process and Problems
Step 1: I created a siging identity using
Javakey -cs Duke true
Step 1 - OK
Step 2: I try to create Private and public keys for the signer using DS 512 the followin command
Javakey -gk Duke DSA 512 pub_key priv_key
Step 2 Fails:
C:\users\default>javakey -gk Duke1 DSA 512 pub_key priv_key
java.lang.UnsatisfiedLinkError: getByte
at java.security.SecureRandom.getSeed(Compiled Code)
at sun.security.provider.Main.machineSeed(Main.java:1436)
at sun.security.provider.Main.generateKeyPair(Main.java:1006)
at sun.security.provider.Main.generateCmd(Main.java:730)
at sun.security.provider.Main.run(Main.java:1403)
at sun.security.provider.Main.main(Main.java:1432)

Can any one help me plzzzzz
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!