sfskey gen broken

Grant Kelly <[email protected]> Fri, 28 Sep 2007 17:49:37 -0700
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
Hi,

I'm getting the following when trying to generate a key:

[root@myhost]# sfskey gen -KP  /etc/sfs/sfs_host_key
sfskey: sfscd not running, limiting sources of entropy
Creating new key: sfs_host_key#1 (Rabin)
       Key Label: sfs_host_key
sfskey: 
SK1::AAAARAAAAADnESApM9yVbwiiSzGIx3jmnzw13sKJIHxtMBs09kFwPB81ZRDkBbeQmkPx7AlygOOjsMEQit3eFmKiOuCi5IprAAAARAAAAAF7EVuEzfYb2llc2vYdc/5fjAT1ZeCCB5SCjgf0XJwywxMspDq8Iyq9Zb7f1+5qii99mm+4dddbxEgzCb: 
No such file or directory
sfskey: /etc/sfs/sfs_host_key: No such file or directory
sfskey: fatal: Not all key save operations succeeded


To me, it looks like somehow the actual key is being used instead of the 
filename. I tried to look through the code for this mistake, but 
everything I saw seemed correct.

I also tried just copying the output text to the sfs_host_key file, but 
then it complained it couldn't parse the key, so obviously I got the 
format wrong.

This is on RedHat Enterprise 4. I'm still having problems compiling on 
Solaris 10 as I mentioned previously.

-- 
Grant Kelly
[email protected]
(775) 674 7164
Desert Research Institute, Reno, NV