Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Authenticate hotcrp information on submission of final CiC paper.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmccurley committed Nov 30, 2023
1 parent 2cefe8f commit a3704d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iacr/includes/papertable.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function echo_iacr_button(PaperOption $opt, Conf $conf, $paperId) {
error_log('unable to fetch accepted and submitted: ' . $e->message());
}
$iacr_paperid = iacr_paperid($paperId);
$authmsg = $iacr_paperid . 'candidate' . $submitted . $accepted;
$authmsg = $iacr_paperid . $conf->opt['shortName'] . $paperId . 'candidate' . $submitted . $accepted;
$auth = hash_hmac('sha256', $authmsg, $conf->opt['publish_shared_key']);
$querydata = array('paperid' => $iacr_paperid,
'auth' => $auth,
Expand Down

0 comments on commit a3704d9

Please sign in to comment.