Article View: comp.sources.bugs
Article #732Re: mix - an alternative to crypt - (nf)
From: wagner
Date: Sun, 12 Apr 1987 20:44
Date: Sun, 12 Apr 1987 20:44
31 lines
2193 bytes
2193 bytes
neeaters? I don't believe there are some... ]
A recent posting to comp.sources.unix by istvan@hhb presents a program called
`mix', doing something comparable to `crypt'. Two of the options offered by
this program may arise some security problems, I think. In particular, I am
talking of the environment variable MIXKEY, and the default `security' key
obtained from the effective user id.
People using commands like `ps -auxeww' (ugly, isn't it?) will get easy access
to the value of this particular variable because it is shown for all
subprocesses of the shell where you set it to your (no, not security) key.
Another problem might come from the default key. Istvan Mohos proposes in the
man page supplied with the program, to use this mechanism to make life easier
for people in the same project, accessing the same files, etc. But have you
thought of wizards (and even non-wizards) grabbing the /etc/passwd file,
extracting the uid of a user, feeding it into that function `fillm' (just
after replacing the line `ck = getuid()' by `ck = atoi(argv[1])' or so), and
thereby obtaining the most secret key to all files encrypted (or shall I say
enmixed) by means of the default key.
Please, don't think I am strongly against that nice program `mix'. I am just
feeling a bit unsecure using the two methods discussed above. Of course, it is
up to me to use them or not... Yet, I'd like to hear other people's opinion on
that issue (maybe the above features are what some users were just waiting
for in anticipation).
Juergen Wagner, (USENET) ...seismo!unido!iaoobel!wagner
("Gandalf") Fraunhofer Institute IAO, Stuttgart
...vanilla disclaimer
Technical Details
Message-ID:
<7600002@iaoobelix.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!unido!iaoobelix!wagnerShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!unido!iaoobelix!wagner From: wagner@iaoobelix.UUCP Newsgroups: comp.sources.bugs Subject: Re: mix - an alternative to crypt - (nf) Message-ID: <7600002@iaoobelix.UUCP> Date: Sun, 12-Apr-87 15:44:00 EST Article-I.D.: iaoobeli.7600002 Posted: Sun Apr 12 15:44:00 1987 Date-Received: Tue, 21-Apr-87 02:20:13 EST Lines: 31 Nf-ID: #N:iaoobelix:7600002:000:1655 Nf-From: iaoobelix!wagner Apr 12 21:44:00 1987