Any person subject to this part who, in time of war or national emergency, discloses the parole or countersign to any person not entitled to receive it or who gives to another who is entitled to receive and use the parole or countersign a different parole or countersign from that which, to his knowledge, he was authorized and required to give, shall be punished as a court-martial may direct.
51 Pa.C.S. § 6025