Once you move to mobile devices and "digital id" like the SMART Health vax passports, you can use asymmetric key based protocols, and you can do the offline verification by distributing the public part of the user certificate signing key to verifier devices. If it requires compatability with physical cards, it's using single use symmetric or stored keys for offline mode, and if it doesn't, it can use asymmetric keys for a verification protocol. In the latter case, my impression was that absractly, the vax passport verification protocol was not unlike JOSE/JWS tokens today.
The main failure modes are if the signing key gets compromised (as there was news one recently did) and someone starts generating fake vax passports and dilutes the system, or exploiting the recovery process where people can duplicate someones cert by getting it reissued to them.
Reality is, in a society with an internal passport system where you have to show papers for everyday movements, any constitutional rights or freedoms cannot be guaranteed because by being obligated by law to present ID, you are no longer a protected member of a citizenry with rights to move and associate, and in that instance you are are reduced to a political minority of one.
I get we need ID for online services (I do a lot of work in this field), but we do not need national identity cards to accomplish any goals those services provide.