mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-17 21:02:17 -05:00
parent
f48db5a005
commit
4ccb26d2e5
@ -208,7 +208,7 @@ public class NfcActivity extends ActionBarActivity {
|
|||||||
+ "20" // INS
|
+ "20" // INS
|
||||||
+ "00" // P1
|
+ "00" // P1
|
||||||
+ "82" // P2 (PW1)
|
+ "82" // P2 (PW1)
|
||||||
+ String.format("%02d", mPin.length()) // Lc
|
+ String.format("%02x", mPin.length()) // Lc
|
||||||
+ Hex.toHexString(mPin.getBytes());
|
+ Hex.toHexString(mPin.getBytes());
|
||||||
if ( ! card(login).equals(accepted)) { // login
|
if ( ! card(login).equals(accepted)) { // login
|
||||||
toast("Wrong PIN!");
|
toast("Wrong PIN!");
|
||||||
|
Loading…
Reference in New Issue
Block a user