mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 02:28:43 +04:00
ADB authentication signs the 20-byte challenge directly as a SHA-1 digest. The mbedTLS port hashes the challenge before signing it, causing adbd to reject every signature and request user approval after each server restart. Pass the challenge directly to mbedtls_pk_sign(), matching the former RSA_sign() behavior. Signed-off-by: Vladimir Zadirei <v.zadirei@gmail.com> Link: https://github.com/openwrt/openwrt/pull/24946 Signed-off-by: Robert Marko <robimarko@gmail.com>