Compare commits

...
Author SHA1 Message Date
Roman Volosovskyi 260153dccb + 2020-04-15 18:19:00 +03:00
Roman Volosovskyi 366e003337 _ 2020-04-15 17:55:11 +03:00
@@ -556,6 +556,9 @@ public class SmartCard extends BroadcastReceiver implements CardListener {
cmdSet.autoOpenSecureChannel();
Log.i(TAG, "secure channel opened");
KeyPath currentPath = new KeyPath(cmdSet.getStatus(KeycardCommandSet.GET_STATUS_P1_KEY_PATH).checkOK().getData());
Log.i(TAG, "Signing with current key path: " + currentPath);
cmdSet.verifyPIN(pin).checkOK();
Log.i(TAG, "pin verified");