Nitrokey / opcard-rs

OpenPGP card implementation
49 stars 1 forks source link

Return 6285 for SELECT in termination state #155

Closed robin-nitrokey closed 1 year ago

robin-nitrokey commented 1 year ago

This patch changes the status code for SELECT APDUs to 6285 if the card is in termination/initialization state.

Fixes: https://github.com/Nitrokey/opcard-rs/issues/154

Depends on : https://github.com/Nitrokey/iso7816/pull/1