  We experimentally implemented an eavesdropping attack against the Ekert
protocol for quantum key distribution based on the Wigner inequality. We
demonstrate a serious lack of security of this protocol when the eavesdropper
gains total control of the source. In addition we tested a modified Wigner
inequality which should guarantee a secure quantum key distribution.
