<html><head></head><body>Thanks Perrilamint!<br>
<br>
I plan to look at documentation for STM32 as well as the Gnuk source code, but this may be a good way of implementing a PIN Pad too.<br>
<br>
Duncan<br><br><div class="gmail_quote">On 13 December 2016 10:28:14 am GMT+00:00, perillamint <perillamint@gentoo.moe> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br /><br />On 13/12/16 19:00, Jonathan McDowell wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On Tue, Dec 13, 2016 at 01:04:37PM +0900, perillamint wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> About 1yrs ago, I tried to integrate UART fingerprint scanner to GnuK<br /> firmware. <br /><br /> I forked chopstx to add UART driver and added fingerprint scanner as<br /> pin input device to GnuK.<br /></blockquote> <br /> Looking at the GT-511C1R datasheet I can't see any sign of security in<br /> the protocol that it uses. It looks like there's a simple yes/no option,<br /> and a "tell me who it is" option, but no way that the device confirms<br /> it's the device you think it is, or a nonce to prevent replay attacks.<br /> <br /> J.<br /> <br /></blockquote><br />Yes. That modules default function
isn't so good(actually, terrible) in<br />terms of security.<br /><br />At first time, I thought I could run some lightweight fingerprint<br />recognition algorithm on STM32, so I planned to use GT-511C1R as dumb<br />fingerprint scanner. (Of course, it has lots of holes like faking<br />fingerprint image over UART, but much better then using built-in<br />algorithm in GT-511C1R) But it does not went well. Anyway, I have to<br />build PoC of it during semester (It was team project), so I took<br />random-slot-as-password approach instead of original plan. I admit it<br />has lots of holes in it.<br /><br />However, I think some portion of my patch -- Initializing UART, Add<br />pinpad driver, etc. -- could be useful to Duncan. By replacing GT-511C1R<br />driver with Duncan's PIN-pad dirver, It could drive pin-pad instead of<br />insecure GT-511C1R.<br /><br />Thanks.<br /><br /><hr /><br />gnuk-users mailing list<br />gnuk-users@lists.alioth.debian.org<br /><a
href="https://lists.alioth.debian.org/mailman/listinfo/gnuk-users">https://lists.alioth.debian.org/mailman/listinfo/gnuk-users</a><br /></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.</body></html>