Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions content/OATH/YKOATH_Protocol.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ performed before they are available, if a validation code is set.
|DELETE |0x02 | Y
|SET CODE |0x03 | Y
|RESET |0x04 | N
|RENAME |0x05 | Y
|LIST |0xa1 | Y
|CALCULATE |0xa2 | Y
|VALIDATE |0xa3 | N
Expand Down Expand Up @@ -198,6 +199,41 @@ Resets the application to just-installed state.
|Success | 0x9000
|================

== RENAME INSTRUCTION
Renames a credential.

NOTE: This is only available in YubiKey 5.3 and newer.

=== Request Syntax
|===================
|CLA |0x00
|INS |0x05
|P1 |0x00
|P2 |0x00
|Lc |Length of Data
|Data|Rename Data
|===================

=== Rename Data
|===================
|Old Name tag |0x71
|Old Name length |Length of old name data, max 64 bytes
|Old Name data |Old name
|New Name tag |0x71
Comment thread
klali marked this conversation as resolved.
|New Name length |Length of new name data, max 64 bytes
|New Name data |New name
|===================

=== Response Codes
|=========================
|Success | 0x9000
|No such object | 0x6984
|Name already used| 0x6984
Comment thread
klali marked this conversation as resolved.
|Auth required | 0x6982
|Wrong syntax | 0x6a80
|=========================


== LIST INSTRUCTION
Lists configured credentials.

Expand Down