This is awesome, but what about hotplug? I think a DMA/coldboot attack requires enough sophistication, adding hotplug to take the laptop isn't a huge burden on top.
I guess it'd be harder for ethernet, but still feasible (and many people use wireless - so the attacker could just work out of a van or room from wireless range).
http://git.zx2c4.com/knock-knock-token/tree/knock-knock-toke...