check md5 of pubkeys chain