On Tue, 2019-01-15 at 10:39 +0100, Florian Weimer wrote:
* Ben Cotton:
> Remove real functionality from encrypt, encrypt_r, setkey, setkey_r,
> and fcrypt from the libxcrypt.so.1 compatibility library and let those
> functions set "errno" to "ENOSYS" when invoked.
encrypt rewrites its argument in place, so this will leave the argument
unencrypted. This does not seem a good idea, even if it's just DES.
Maybe encrypt with AES and return an error anyway ?
--
Simo Sorce
Sr. Principal Software Engineer
Red Hat, Inc