[kaffe] repost: help w/ java.security + gnucrypto

D greene dgreene21 at hotmail.com
Fri Sep 3 14:36:13 PDT 2004


Hello all (sorry for the repost):

I need some pointers to docs on how to use the java.security file (below) 
with Kaffe 1.1.4:

# Security configuration file for Kaffe
#
# You'll need to have kaffe configured to use GNU Crypto for the GNU Crypto 
provider
# to be picked up.
security.provider.1=gnu.crypto.jce.GnuCrypto
security.provider.2=kaffe.security.provider.Kaffe

I've had trouble finding any docs or references in mailing list on 
configuration and usage as I need to add permission to use Runtime.exec() to 
avoid:

java.lang.SecurityException: Invalid FileDescriptor
  at java.io.FileOutputStream.<init> (FileOutputStream.java:184)
  at kaffe.lang.UNIXProcess.<init> (UNIXProcess.java:114)
  at java.lang.Runtime.execInternal (Runtime.java)
  at java.lang.Runtime.exec (Runtime.java:86)

I'd appreciate any pointers to not only add an AllPermissions allowed policy 
but on exactly how to "configure" the crypto provider to provide a keystore 
for SSLServerSockets (is this possible with 1.1.4?)

thanks!
dgreene

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/





More information about the kaffe mailing list