1 Feature: setup pass phrase
2 In order to conform OpenPGP card 2.0 specification
3 A token should support pass phrase: PW1, PW3 and reset code
6 Given cmd_change_reference_data with 1 and "another user pass phrasePASSPHRASE SHOULD BE LONG"
7 Then it should get success
9 Scenario: verify PW1 (1) again
10 Given cmd_verify with 1 and "PASSPHRASE SHOULD BE LONG"
11 Then it should get success
13 Scenario: verify PW1 (2) again
14 Given cmd_verify with 2 and "PASSPHRASE SHOULD BE LONG"
15 Then it should get success
17 Scenario: setup reset code again (in admin-full mode)
18 Given cmd_put_data with d3 and "example reset code 111"
19 Then it should get success
21 Scenario: reset pass phrase by reset code (in admin-full mode)
22 Given cmd_reset_retry_counter with 0 and "example reset code 111new user pass phrase"
23 Then it should get success
25 Scenario: verify PW1 (1) again
26 Given cmd_verify with 1 and "new user pass phrase"
27 Then it should get success
29 Scenario: verify PW1 (2) again
30 Given cmd_verify with 2 and "new user pass phrase"
31 Then it should get success
33 Scenario: change PW3 (admin-full mode)
34 Given cmd_change_reference_data with 3 and "admin pass phraseanother admin pass phrase"
35 Then it should get success
37 Scenario: verify PW3 (admin-full mode)
38 Given cmd_verify with 3 and "another admin pass phrase"
39 Then it should get success
41 Scenario: reset pass phrase by admin (in admin-full mode)
42 Given cmd_reset_retry_counter with 2 and "new user pass phrase"
43 Then it should get success
45 Scenario: verify PW1 (1) again
46 Given cmd_verify with 1 and "new user pass phrase"
47 Then it should get success
49 Scenario: verify PW1 (2) again
50 Given cmd_verify with 2 and "new user pass phrase"
51 Then it should get success
54 Given cmd_change_reference_data with 1 and "new user pass phraseanother user pass phrase"
55 Then it should get success
57 Scenario: verify PW1 (1) again
58 Given cmd_verify with 1 and "another user pass phrase"
59 Then it should get success
61 Scenario: verify PW1 (2) again
62 Given cmd_verify with 2 and "another user pass phrase"
63 Then it should get success
65 Scenario: change PW3 (admin-full mode)
66 Given cmd_change_reference_data with 3 and "another admin pass phraseadmin pass phrase"
67 Then it should get success
69 Scenario: verify PW3 (admin-full mode)
70 Given cmd_verify with 3 and "admin pass phrase"
71 Then it should get success