diff --git "a/docs/HPKI\345\257\276\345\277\234IC\343\202\253\343\203\274\343\203\211\343\202\254\343\202\244\343\203\211\343\203\251\343\202\244\343\203\263V3.0 \345\216\237\346\241\210 .pdf" "b/docs/HPKI\345\257\276\345\277\234IC\343\202\253\343\203\274\343\203\211\343\202\254\343\202\244\343\203\211\343\203\251\343\202\244\343\203\263V3.0 \345\216\237\346\241\210 .pdf" new file mode 100644 index 0000000..ba00c7b Binary files /dev/null and "b/docs/HPKI\345\257\276\345\277\234IC\343\202\253\343\203\274\343\203\211\343\202\254\343\202\244\343\203\211\343\203\251\343\202\244\343\203\263V3.0 \345\216\237\346\241\210 .pdf" differ diff --git a/hpki/Resources/bin/macOS/hpki b/hpki/Resources/bin/macOS/hpki index 1007521..5bb903c 100755 Binary files a/hpki/Resources/bin/macOS/hpki and b/hpki/Resources/bin/macOS/hpki differ diff --git a/include/My-Number-Card_macOS.cpp b/include/My-Number-Card_macOS.cpp index 26d7b1f..a1fee7b 100644 --- a/include/My-Number-Card_macOS.cpp +++ b/include/My-Number-Card_macOS.cpp @@ -684,10 +684,10 @@ static void _apdu_select_app_hpki_compute_digital_signature(dispatch_semaphore_t [smartCard beginSessionWithReply:^(BOOL _success, NSError *error) { if (_success) { - std::string hex = APDU_SELECT_IDENTITY_AP_HPKI;//署名用APではない + std::string hex = APDU_SELECT_SIGNATURE_AP_HPKI; std::vectorbuf(0); hex_to_bytes(hex, buf); - + std::vectordata(sizeof(APDU_SELECT_FILE_DF) + buf.size()); memcpy(&data[0], APDU_SELECT_FILE_DF, diff --git a/include/My-Number-Card_windows.cpp b/include/My-Number-Card_windows.cpp index c752259..48692e0 100644 --- a/include/My-Number-Card_windows.cpp +++ b/include/My-Number-Card_windows.cpp @@ -1184,7 +1184,7 @@ static void _apdu_select_pin_hpki_compute_digital_signature_identity(SCARDHANDLE static void _apdu_select_app_hpki_compute_digital_signature_identity(SCARDHANDLE hCard, const SCARD_IO_REQUEST* pioSendPci, Json::Value& threadCtx) { - std::string hex = APDU_SELECT_IDENTITY_AP_HPKI; + std::string hex = APDU_SELECT_SIGNATURE_AP_HPKI; std::vectorbuf(0); hex_to_bytes(hex, buf); diff --git a/macOS/hpki.xcodeproj/xcuserdata/miyako.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/macOS/hpki.xcodeproj/xcuserdata/miyako.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 25a5d25..399e167 100644 --- a/macOS/hpki.xcodeproj/xcuserdata/miyako.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/macOS/hpki.xcodeproj/xcuserdata/miyako.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -7,79 +7,31 @@ - - - - - - - - - - - - @@ -87,7 +39,7 @@ - - - - - - - - - - - - diff --git a/pcsc-tools/pcsc_scan b/pcsc-tools/pcsc_scan new file mode 100755 index 0000000..2da17ab Binary files /dev/null and b/pcsc-tools/pcsc_scan differ diff --git a/pcsc-tools/pcsc_scan.dmg b/pcsc-tools/pcsc_scan.dmg new file mode 100644 index 0000000..4b98584 Binary files /dev/null and b/pcsc-tools/pcsc_scan.dmg differ