The practical issues of side-channel-secure quantum key distribution