Security of quantum key distribution with imperfect devices | IEEE Conference Publication | IEEE Xplore