Many combination locks can easily have their combinations decoded, even while the lock is shut. Suppose someone decoded the combination to a lock, wrote down the combination on a piece of paper, and taped it up next to the lock.
For the sake of the scenario, suppose that the decoder doesn't open the lock or enter the locked area. The decoder is aware that someone might read the combination, open the lock, and go into the locked area, but hasn't made plans with anyone to do that.
Has the person committed a crime by decoding the combination and posting it next to the lock? If someone else reads the combination, opens the lock, goes into the locked area, and commits a crime, without any other interaction with the decoder, does the decoder share any criminal responsibility? Civil liability?
I am aware of this question, but it poses a distinct scenario where the decoder also enters the locked area.
More generally, I am interested in the question: Suppose that the usefulness of some object relies on the secrecy of some information. If that information is published, the object becomes worthless. Is it legal to obtain and publish that information, if no physical damage is done to the object when deriving the information?