[hackers] More forgotten sbase/ubase patches

From: Michael Forney <mforney_AT_mforney.org>
Date: Fri, 11 Aug 2017 21:01:01 -0700

I went looking through my sbase/ubase branches and found some more
forgotten patches.

= sbase =
* http://lists.suckless.org/hackers/1702/14283.html

sbase tar still needs a lot of work, but currently it is frustrating
to see this message "malformed tar archive" since it could mean many
different things. The patch just attaches a reason to the error

= ubase =
* http://lists.suckless.org/hackers/1610/13550.html - mount: Don't
pass {,no}auto to kernel

Otherwise, if you have an fstab entry with noauto (for example /boot),
and try to run `mount /boot`, you'll get something like

  EXT4-fs (sda1): Unrecognized mount option "noauto" or missing value

in your dmesg, and the mount will fail with EINVAL.

* http://lists.suckless.org/hackers/1610/13551.html

Currently, passwd does not use a salt for password hashes. It should.
This patch uses the getrandom syscall to read 12 bytes from the
urandom source, and base64-encodes that as a 16 byte salt.
Received on Sat Aug 12 2017 - 06:01:01 CEST

This archive was generated by hypermail 2.3.0 : Sat Aug 12 2017 - 06:12:37 CEST