From a2787abbcfccd8c6508436e0d8f4bac4eeace544 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine Date: Thu, 6 Jul 2017 18:05:30 +0200 Subject: [PATCH] OpenPGP v3.3: set new SCP11b bit in extended capabilities --- src/fr/anssi/smartpgp/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/anssi/smartpgp/Constants.java b/src/fr/anssi/smartpgp/Constants.java index 98a9d8b..3532a92 100644 --- a/src/fr/anssi/smartpgp/Constants.java +++ b/src/fr/anssi/smartpgp/Constants.java @@ -163,7 +163,7 @@ public final class Constants { 0x04 | /* support algorithm attributes changes */ 0x02 | /* support PSO:DEC/ENC AES */ 0x01), /* support KDF-DO */ - (byte)0x01, /* SM 0x01 = 128 bits, 0x02 = 256 bits */ + (byte)0x03, /* SM 0x01 = 128 bits, 0x02 = 256 bits, 0x03 = SCP11b */ (byte)0x00, (byte)0x20, /* max length get challenge */ (byte)0x04, (byte)0x80, /* max length of carholder certificate */ (byte)0x00, (byte)0xff, /* max length of special DOs (private, login, url, KDF-DO) */