mirror of
https://salsa.debian.org/gnuk-team/gnuk/gnuk.git
synced 2024-09-21 19:30:08 +00:00
28 lines
1.0 KiB
Gherkin
28 lines
1.0 KiB
Gherkin
|
Feature: command GET DATA
|
||
|
In order to conform OpenPGP card 2.0 specification
|
||
|
A token should support all mandatory features of the specification
|
||
|
|
||
|
Scenario: data object historical bytes
|
||
|
When requesting historical bytes: 5f52
|
||
|
Then you should get: \x00\x31\x84\x73\x80\x01\x80\x00\x90\x00
|
||
|
|
||
|
Scenario: data object extended capabilities
|
||
|
When requesting extended capabilities: c0
|
||
|
Then you should get: \x30\x00\x00\x00\x00\x00\x00\xff\x01\x00
|
||
|
|
||
|
Scenario: data object algorithm attributes 1
|
||
|
When requesting algorithm attributes 1: c1
|
||
|
Then you should get: \x01\x08\x00\x00\x20\x00
|
||
|
|
||
|
Scenario: data object algorithm attributes 2
|
||
|
When requesting algorithm attributes 2: c2
|
||
|
Then you should get: \x01\x08\x00\x00\x20\x00
|
||
|
|
||
|
Scenario: data object algorithm attributes 3
|
||
|
When requesting algorighm attributes 3: c3
|
||
|
Then you should get: \x01\x08\x00\x00\x20\x00
|
||
|
|
||
|
Scenario: data object AID
|
||
|
When requesting AID: 4f
|
||
|
Then data should match: \xd2\x76\x00\x01\x24\x01\x02\x00......\x00\x00
|