Device calibration impacts security of quantum key distribution.