Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sc-hsm-tool: Add options for public key authentication #1711

Closed
wants to merge 23 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sc-hsm: fix error message
  • Loading branch information
Frank Braun committed Oct 29, 2019
commit 60004bb5265260fff1f3488e8fb928438f2bc487
2 changes: 1 addition & 1 deletion src/libopensc/card-sc-hsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ static int sc_hsm_register_public_key(sc_card_t *card, sc_cardctl_sc_hsm_public_

/* verify devcert */
r = verify_certificate(card, params->devcert, params->devcert_length, params->devcert_chr, params->devcert_chr_length);
LOG_TEST_RET(ctx, r, "device issuer certificate verification failed");
LOG_TEST_RET(ctx, r, "device certificate verification failed");

/* manage SE */
if (!(outer_car = sc_asn1_find_tag(ctx, params->pk, params->pk_length, 0x42, &outer_car_len))) {
Expand Down