Using ADB with PKI

I was wondering whether the amlogic adb daemon supports PKI?

Apparently it’s possible on android adb (more here) and since I wouldn’t want anyone with a USB cable to be able to access the system as root, I’d love for it to be possible to secure the adb shell using PKI.

I know that disabling adb altogether is an option, but then if ethernet fails (and this board is running hostapd) the only option left would be a serial connection.

Don’t know much about adb key but you can also enable USB Ethernet gadget to have a backup access method. Here is a simple package to do that for you: https://github.com/radxa-pkg/radxa-usbnet/releases/latest