Extended capabilities change

This commit is contained in:
NIIBE Yutaka
2014-12-12 13:10:33 +09:00
parent 75e8de2df1
commit ff3df302e4
2 changed files with 12 additions and 7 deletions

View File

@@ -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> 2014-11-20 Niibe Yutaka <gniibe@fsij.org>
* src/gnuk.h (NR_NONE, NR_DO__FIRST__): Remove. * src/gnuk.h (NR_NONE, NR_DO__FIRST__): Remove.

View File

@@ -104,13 +104,13 @@ static const uint8_t historical_bytes[] __attribute__ ((aligned (1))) = {
/* Extended Capabilities */ /* Extended Capabilities */
static const uint8_t extended_capabilities[] __attribute__ ((aligned (1))) = { static const uint8_t extended_capabilities[] __attribute__ ((aligned (1))) = {
10, 10,
0x70, /* 0x74, /*
* No SM, * No Secure Messaging supported
* GET CHALLENGE supported, * GET CHALLENGE supported
* Key import supported, * Key import supported
* PW status byte can be put, * PW status byte can be put
* No private_use_DO, * No private_use_DO
* No algo change allowed * Algorithm attrs are changable
*/ */
0, /* Secure Messaging Algorithm: N/A (TDES=0, AES=1) */ 0, /* Secure Messaging Algorithm: N/A (TDES=0, AES=1) */
0x00, CHALLENGE_LEN, /* Max size of GET CHALLENGE */ 0x00, CHALLENGE_LEN, /* Max size of GET CHALLENGE */