Toporin / Seedkeeper-Android

Android app to use Seedkeeper on a smartphone. Backup and recover your most precious secrets with a tap on your phone!
GNU General Public License v3.0
3 stars 0 forks source link

Add support for card logs #17

Closed Toporin closed 2 months ago

Toporin commented 3 months ago

Seedkeeper cards have their own secure logging system stored in the chip card memory. These logs can only be accessed in read mode, the chip is responsible for creation/erasure of logs in memeory.

These logs should be accessible for consultation by the user via the "Card Information" menu, using a new button "Card Logs". Tjis should open a new screens with the logs shown in an array.

The logs can be fetched from the cards using cmdSet.seedkeeperPrintLogs().

Each log is 7 bytes long and contains the following info:

For ins byte, a list of instruction is available here: https://github.com/Toporin/Satochip-Java/blob/6df0a246893f3d47b05945d1dde4ae2be4800ec5/satochip-lib/src/main/java/org/satochip/client/Constants.java#L18

For the next release, it is sufficient to display a simple array of logs with instruction text (english only), core result in hex, and sid(s) in number.