>any idea what went wromg? I'm using Java 1.5 BTW, which is supported as
>far as the readme says
Do you have to install cryptix-jce-20050328-snap.zip Cryptix JCE as
well?
Are you running an example literally? Even the tiniest variations
introduce new uncertainty.
you can simplify this by putting the jars in the ext directory. See
http://mindprod.com/jgloss/classpath.html
That can help with tiny typos in the command line.
java -classpath
../cryptix-openpgp-provider.jar:../cryptix-message-api.jar:../cryptix-pki-api.jar:../certpath-api-compat.jar:../bin/cryptix-jce-provider.jar:../bin/cryptix-jce-api.jar:.
cryptix/openpgp/examples/GenerateAndWriteKey
You posted no code. That makes guessing much more difficult.
You are dying on
java.security.Signature.getInstance(Signature.java:208)
I would have expected you to be using getInstance(String algorithm,
Provider provider) or String Provider.
I gather you managed to create a private key ok?
Where did you learn that "PGPDSA" was the appropriate name for the
algorithm?
you might track this down by creating a Provider and getting a list of
the servicess it provides. That should give you the proper names and
let you know what is available.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
Ido.Yehieli@gmail.com - 28 Sep 2005 08:28 GMT
Thanks,
I've managed to solve it myself. it appears my JVM was probably
corrupted - i installed it again and it works now.