fixing client key chain after failed generation process