Variable desfire::trust_card

Variable Documentation

static constexpr trust_card_t desfire::trust_card = {}

Flag marking the card as trusted, which enables determining automatically the communication mode from file settings..

When using this instead of an explicitly set comm_mode (in the methods of tag that allow to do so), tag will be instructed to query and accept whatever security mode the file is written in. This might impact security because a cloned card with different file security modes could prompt for a different communication mode than the one intended. Therefore, they have to be called explicitly with trust_card.