Another issue: I think a keyboard made for security should also be made as
silent as possible. Otherwise, the keys might be "sniffed" by the sound they make.
Different keys may sound slightly different because of:
• Slight differences between switches and keys. Different sizes give different hollow sounds.
Stabilised keys tend to be louder and have distinct sounds.
• Different resonance at different spots.
• People tend to press different keys differently, even with the same fingers. Use different rhythm for different words, and for cursor keys etc.
• You could theoretically also triangulate where on a keyboard a sound is coming from.
Stabiliser mounts need to be types that don't rattle much. Lubrication can help.
Sound is added mostly when bottoming out and when topping up, but tactile mechanical switches could be even louder in the middle. There are mechanical key switches that have rubber bumpers to silence both the up-stroke and down-stroke but I think you should be able to find a better rubber-dome keyboard. Many rubber domes are a bit loud on the up-stroke though.
Resonance could be dampened in two ways: having a very solid frame, and/or using soft cushioning material.
There is a
Wiki article on sound damping, but it is focused on mechanical keyboards.
vvp wrote: ↑08 Jan 2019, 14:47
If the firmware adds some additional processing when a key is pressed (most firmwares do) then the scanning of next row/column is postponed.
Huh? What kind of firmware stops scanning mid-scan? All keys need to be scanned regularly for debouncing, not just the one last pressed.
I know some firmware scan the matrix over and over continuously (for some reason), but I think that is very unnecessary because you could report to the host
at most once every millisecond anyway ...
My own firmware (which is not nice enough for release) uses a timer to once every millisecond scan and debounce the whole matrix in constant time, and
then detect key events. The matrix would not be a side-channel but maybe the power draw could be.
vvp wrote: ↑08 Jan 2019, 14:47
I do not know how much a well shielded USB cable leaks, i.e. I do not know whether it is feasible to sniff it without a galvanic connection.
BTW. There are both shielded and non-shielded USB cables on the market. USB has differential signalling which is often considered good enough on its own against
interference but which may not protect against sniffing.