Electronic lock comprising: - a controllable mechanism for unlocking the electronic lock capable of unlocking the electronic lock only when a blade of an electronic key authorized to unlock this electronic lock is introduced into this electronic lock, - a first part comprising: • a slender channel capable of receiving a second, translationally or rotationally mobile part inside this channel, and • an electrical contact (100-102; 162; 172; 182; 192) capable of establishing an electrical link with the mobile second part when it is received inside the slender channel, - an electrical conductor which electrically connects the electrical contact to the controllable unlocking mechanism, wherein the electrical contact comprises: - a conduit hollowed out in the first part, this conduit comprising: • a front end which emerges inside the slender channel, and • a rear end which emerges on an outer face of the first part, - a front ball made of electrically conductive material capable of revolving on itself about at least two right-angled axes which intersect at its centre, this front ball being mounted to be reversibly displaceable in translation inside the conduit between: • a position of rest in which a front face of the front ball protrudes into the slender channel when the mobile second part is not received inside this slender channel, and • a retracted position in which the front ball is pushed back into the conduit by the mobile second part when it is introduced inside the slender channel, in the retracted position the front ball being directly pressed onto the second part to establish the electrical link with this mobile second part, - return means (142; 184) which permanently stress the front ball towards its position of rest characterized in that the electrical contact comprises a link part (150; 164, 166; 174-176; 194) that can be reversibly displaced in translation inside the conduit, this link part being: - interposed between the front ball and the return means (142; 184), and - pressed, only via one or more distinct spot links directly on a rear face of the front ball. - a controllable mechanism for unlocking the electronic lock capable of unlocking the electronic lock only when a blade of an electronic key authorized to unlock this electronic lock is introduced into this electronic lock, - a first part comprising: • a slender channel capable of receiving a second, translationally or rotationally mobile part inside this channel, and • an electrical contact (100-102; 162; 172; 182; 192) capable of establishing an electrical link with the mobile second part when it is received inside the slender channel, • a slender channel capable of receiving a second, translationally or rotationally mobile part inside this channel, and • an electrical contact (100-102; 162; 172; 182; 192) capable of establishing an electrical link with the mobile second part when it is received inside the slender channel, - an electrical conductor which electrically connects the electrical contact to the controllable unlocking mechanism, - a conduit hollowed out in the first part, this conduit comprising: • a front end which emerges inside the slender channel, and • a rear end which emerges on an outer face of the first part, • a front end which emerges inside the slender channel, and • a rear end which emerges on an outer face of the first part, - a front ball made of electrically conductive material capable of revolving on itself about at least two right-angled axes which intersect at its centre, this front ball being mounted to be reversibly displaceable in translation inside the conduit between: • a position of rest in which a front face of the front ball protrudes into the slender channel when the mobile second part is not received inside this slender channel, and • a retracted position in which the front ball is pushed back into the conduit by the mobile second part when it is introduced inside the slender channel, in the retracted position the front ball being directly pressed onto the second part to establish the electrical link with this mobile second part, • a position of rest in which a front face of the front ball protrudes into the slender channel when the mobile second part is not received inside this slender channel, and • a retracted position in which the front ball is pushed back into the conduit by the mobile second part when it is introduced inside the slender channel, in the retracted position the front ball being directly pressed onto the second part to establish the electrical link with this mobile second part, - return means (142; 184) which permanently stress the front ball towards its position of rest - interposed between the front ball and the return means (142; 184), and - pressed, only via one or more distinct spot links directly on a rear face of the front ball.