Skip to content

Commit 2b1df28

Browse files
Update Pebble Tracker Riverrock 2.1.0
1. Support new device data sending interface. 2. Add a modem daemon to prevent the modem from being unable to wake up. 3. Fixed the issue where the LCD screen displayed an error when sending data greater than 999.
1 parent e4edbe0 commit 2b1df28

File tree

12 files changed

+360
-130
lines changed

12 files changed

+360
-130
lines changed

nrf/applications/ioID/src/ioConnect_core/src/jose/jwk.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -480,11 +480,6 @@ JWK *iotex_jwk_generate(enum JWKType type, enum JWKSupportKeyAlg keyalg,
480480
base64url_encode((char *)exported + 1, 32, jwk->Params.ec.x_coordinate, &x_len);
481481
base64url_encode((char *)exported + 1 + 32, 32, jwk->Params.ec.y_coordinate, &y_len);
482482

483-
printf("PuK:\n");
484-
for (int i = 0; i < 64; i++)
485-
printf("%02x", exported[i]);
486-
printf("\n");
487-
488483
jwk->type = JWKTYPE_EC;
489484
if (JWK_SUPPORT_KEY_ALG_P256 == keyalg) {
490485
strncpy(jwk->Params.ec.crv, "P-256", strlen("P-256"));
@@ -555,7 +550,7 @@ JWK* iotex_jwk_generate_by_secret(uint8_t *secret, unsigned int secret_size,
555550
if( status != PSA_SUCCESS )
556551
return NULL;
557552

558-
printf("Real PublicKey[%d]:\n", exported_length);
553+
printf("PublicKey[%d]:\n", exported_length);
559554
for (int i = 0; i < exported_length; i++)
560555
printf("%02x", exported[i]);
561556
printf("\n");

0 commit comments

Comments
 (0)