Extended capabilities change
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 12 Dec 2014 04:10:33 +0000 (13:10 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 12 Dec 2014 04:10:33 +0000 (13:10 +0900)
ChangeLog
src/openpgp-do.c

index d22871f..68a363a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-20  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/openpgp-do.c (extended_capabilities): Key attributes can be
+       modifid now.
+
 2014-11-20  Niibe Yutaka  <gniibe@fsij.org>
 
        * src/gnuk.h (NR_NONE, NR_DO__FIRST__): Remove.
index 0fe9273..64162eb 100644 (file)
@@ -104,13 +104,13 @@ static const uint8_t historical_bytes[] __attribute__ ((aligned (1))) = {
 /* Extended Capabilities */
 static const uint8_t extended_capabilities[] __attribute__ ((aligned (1))) = {
   10,
-  0x70,                                /*
-                                * No SM,
-                                * GET CHALLENGE supported,
-                                * Key import supported,
-                                * PW status byte can be put,
-                                * No private_use_DO,
-                                * No algo change allowed
+  0x74,                                /*
+                                * No Secure Messaging supported
+                                * GET CHALLENGE supported
+                                * Key import supported
+                                * PW status byte can be put
+                                * No private_use_DO
+                                * Algorithm attrs are changable
                                 */
   0,             /* Secure Messaging Algorithm: N/A (TDES=0, AES=1) */
   0x00, CHALLENGE_LEN,                 /* Max size of GET CHALLENGE */