tech-crypto archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

More Problems with CFS (zero-length files)



Well, now that I've solved the problem with mounting a CFS filesystem, I've
discovered that any files I creat under an attached CFS directory are always
zero length.  Here's what I did:

% cmkdir test
Key:
Again:
% cattach test test
Key:
% cd /crypt/test
% cp /etc/passwd .
% ls -al
total 7
drwx------  2 dorsey  staff     0 Oct 17 10:42 .
drwxrwxrwx  4 root    wheel  8192 Oct 17 10:42 ..
-rw-r--r--  1 dorsey  staff     0 Oct 17 10:42 passwd
% cat passwd
% cd
% cdetach test
% cd test
% ls -al
total 24
drwxr-xr-x   2 dorsey  staff   512 Oct 17 10:42 .
drwxr-s---  27 dorsey  staff  4096 Oct 17 10:42 ..
-rw-r--r--   1 dorsey  staff     8 Oct 17 10:42 ...
-rw-r--r--   1 dorsey  staff     1 Oct 17 10:42 ..c
-rw-r--r--   1 dorsey  staff    32 Oct 17 10:42 ..k
-rw-r--r--   1 dorsey  staff     7 Oct 17 10:42 ..s
lrwxrwxrwx   1 dorsey  staff     8 Oct 17 10:42 .pvect_aef313a310d92cbd ->
d51dce9b
-rw-r--r--   1 dorsey  staff  1497 Oct 17 10:42 aef313a310d92cbd

It appears that the file is being created and encrypted OK, but for some
reason there is a failure on the decryption side.

I checked the /var/log/{messages,authlog} files for any clues but didn't see
anything relevant, so I believe the authentication failure I was previously
experiencing is not causal here.

Since other people reportedly have cfs working under NetBSD 1.5.x, I can
only
assume that the problem is NFS related, and probably due to a
misconfiguration
on my part.  Anyone have any thoughts?

--
Bill Dorsey




Home | Main Index | Thread Index | Old Index