SmartPGP/patches/support_extended_length.patch

14 lines
733 B
Diff
Raw Normal View History

2023-10-04 16:45:05 +00:00
diff --git a/src/dev/c0de/smartpgp/Constants.java b/src/dev/c0de/smartpgp/Constants.java
index b3c0f80..2ee1107 100644
2023-10-04 16:45:05 +00:00
--- a/src/dev/c0de/smartpgp/Constants.java
+++ b/src/dev/c0de/smartpgp/Constants.java
2019-06-17 12:42:46 +00:00
@@ -149,7 +149,7 @@ public final class Constants {
(byte)0x73, /* card capabilities */
(byte)0xC0, /* 1st byte: "methods supported" see ISO 7816-4 */
(byte)0x01, /* 2nd byte: "data coding byte" idem */
- (byte)0x80, /* 3rd byte: command chaining (not extended length by default as all readers do not support them...) */
+ (byte)0xC0, /* 3rd byte: command chaining + extended length */
(byte)0x05, /* status indicator byte : operational state */
(byte)0x90, /* SW1 */