Re: Javakey Problem

Marianne Mueller (Marianne.Mueller@Eng)
Tue, 12 May 1998 11:23:38 -0700 (PDT)

Date: Tue, 12 May 1998 11:23:38 -0700 (PDT)
From: Marianne Mueller <Marianne.Mueller@Eng>
Subject: Re: Javakey Problem
To: java-security@web2.javasoft.com, joshprokop@worldnet.att.net

> I then tried [javakey] with
> the -cs Duke arguments and got an error message. Now all I
> can get whenever I run Javakey is the message "could not
> initialize scope". There seems to be no documentation that
> covers this situation.

What error message did you get? The syntax should be

% javakey -cs "myname" true

The scope refers to where javakey, and the running JVM, find the
identity database class. Inside the properties file

lib/security/java.security

there is a property set by default like so:

#
# Class to instantiate as the system scope:
#
system.scope=sun.security.provider.IdentityDatabase

Normally you don't have to configure this or know about this, but perhaps
this was removed or changed for some reason?

Another possible problem is that due to serialization, sometimes some version of
the identity database doesn't work with all versions of the JDK. Try using
the example from http://java.sun.com/security/signExample/ with JDK 1.1.6
(http://java.sun.com/products/jdk)

Marianne