Civil servant faces trial over lost secrets