[3833] in Athena Bugs
suggestion: /usr/bin/crypt
daemon@ATHENA.MIT.EDU (probe@ATHENA.MIT.EDU)
Fri Dec 15 21:02:42 1989
From: probe@ATHENA.MIT.EDU
Date: Fri, 15 Dec 89 21:01:58 -0500
To: bugs@ATHENA.MIT.EDU
Cc: athena-ws@ATHENA.MIT.EDU
Reply-To: Richard Basch <probe@ATHENA.MIT.EDU>
/usr/bin/crypt does not ask for the key again, so it is easy to mistype
the key and get something encrypted in some unknown key. For
decryption, I can understand why it would be more of a pain to type in
the key twice, but I see typing it in twice as a minor inconvenience.
May I suggest one of two changes:
1) Add a command-line flag to switch between asking you only once or
asking for the key twice. Question: which should be the default
behavior?
2) Always ask twice.
Currently, for safety, immediately after I encrypt data, I decrypt it
and verify that the decryption matches the source.
-Richard