Use crypt(3)

Steven Honeyman stevenhoneyman at gmail.com
Thu Mar 26 01:39:55 AWST 2015


On 25 March 2015 at 11:04, Xavier GRIMAUD <spx94.c4 at gmail.com> wrote:
> I'm currently trying to get a Dropbear server working on Android but I'm
> facing a problem: I've to use crypt(3). I've generated necessary files
> (/etc/passwd, /etc/shadow, ...) but I'm unable to include the function since
> it's not implemented on Android. Any workarounds, patches? I don't want to
> use key authentification.

Link it statically against an alternative libc like musl.
My last static compile for arm was around 285kb (no real effort made
to make it small), and runs fine on android with a passwd file.

Steven.


More information about the Dropbear mailing list