Not sure I can actually trigger that one since we check if a digest is available before we ever try to sign. The other errors that can be raised are more esoteric (malloc failures, etc).