[PATCH] Adding password protection to U-boot

Emanuele Leomanni emanuele183 at gmail.com
Tue Jun 10 18:31:57 CEST 2008


I like very much the idea to put a little bit of security features in the
device.

Thanks Francesco.

On Tue, Jun 10, 2008 at 5:20 PM, Francesco Albanese <
frances.albanese at gmail.com> wrote:

> Hello,
>
> this is a patch for u-boot1.3.2rc2 compiled and patched using
> MMakefile. I've added a new command "lock" for setting a password to
> lock/unlock the access to the terminal and prevent flashing the device
> via DFU.
>
> Features:
>
> - Password stored as SHA256 non-salted hash and written in the env
> var. partition (a salting method can be added afterwards)
> - If the password is set, user is prompted for a password after a
> serial connection is established
> - If the device is locked down, a DFU flashing attempt will produce an
> on-screen error on the Neo
> - uncomment _USE_PASSWORD in password.h to activate this patch
>
> Comments are welcome,
>
>
> F.Albanese
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080610/de40410f/attachment.htm 


More information about the openmoko-devel mailing list