Private keys used to sign D-Link software were included in open-source firmware published by the company.