sjb@sri-unix (12/08/82)
If you have your umask set to something like 077, when you use enroll to give yourself a secretmail key, your key file will be unreadable by others. Likewise, if you xsend to someone while your umask is restrictive, their secretmail from you will be unreadable by them. To fix this, after line 62 in xsend.c, which reads: if(i==10) xfatal("cannot create mail file"); add: if (chmod(line, 0666) < 0) xfatal("cannot make mail file readable -- check your umask"); and after line 31 in enroll.c, which reads: close(i); add: if (chmod(fname, 0644) < 0) xfatal("cannot make key file readable -- check your umask");