Laying foundations for passport authentication