From 885e1c4ecb5a957b05f31ddefefb35049844fc4c Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 5 Jan 2012 10:12:24 +0900 Subject: [PATCH] pinpad-test.py: add comment --- tool/pinpad-test.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tool/pinpad-test.py b/tool/pinpad-test.py index 586994e..8fc8930 100755 --- a/tool/pinpad-test.py +++ b/tool/pinpad-test.py @@ -347,20 +347,25 @@ if __name__ == '__main__': # 6b 80 # 64 02: PIN different +# General +# OpenPGP card v2 doesn't support CHANGE REFERENCE DATA in exchanging +# mode (with P1 == 01, replacing PIN). +# FAIL: --change2 fails with 6b 00 (after input of PIN) +# FAIL: --change2 --admin fails with 6b 00 (after input of PIN) + # "FSIJ Gnuk (0.16-34006F06) 00 00" # Works well except --change2 +# It could support --put and --unblock, but currently it's disabled. # "Vasco DIGIPASS 920 [CCID] 00 00" # OK: --verify # OK: --verify --admin # OK: --change # OK: --change --admin -# FAIL: --change2 fails with 6b 00 (after input of PIN) -# FAIL: --change2 --admin fails with 6b 00 (after input of PIN) -# FAIL: --put fails with 6b 80 (before input of resetcode) -# OK: --put2 # OK: --unblock # FAIL: --unblock --admin fails with 69 85 (after input of PIN) +# FAIL: --put fails with 6b 80 (before input of resetcode) +# OK: --put2 # FAIL: --unblock2 fails with 69 85 # FAIL: --unblock2 --admin fails with 69 85 (after input of PIN)