main/sudo: upgrade to 1.8.7