Electronic key extraction prevention