messages: distinguish digest/sig pk failures