From 1713197d49554ebbab74578b7c7d8f6f7473e1ea Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Wed, 9 Oct 2024 18:35:45 +0300 Subject: [PATCH] fix check_sign_with_test_vectors_dkg --- .../tests/helpers/vectors_dkg.json | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/frost-secp256k1-evm/tests/helpers/vectors_dkg.json b/frost-secp256k1-evm/tests/helpers/vectors_dkg.json index f92b5b4b..0af7fecd 100644 --- a/frost-secp256k1-evm/tests/helpers/vectors_dkg.json +++ b/frost-secp256k1-evm/tests/helpers/vectors_dkg.json @@ -7,45 +7,45 @@ "hash": "KECCAK-256" }, "inputs": { - "verifying_key": "037b5b0c4b6c91a16fb78499e8a74cc792f9ea79cb94860fcb90f801472930de47", + "verifying_key": "035ed583db6013bff14065122688559f1d5d9c72c8bcbdb880e03e78006e20bbb7", "1": { "identifier": 1, - "signing_key": "e7a3cf1fdb1e17d4c3e8a7f663803ef305d03bdfdc930b824b0664c6b853156d", - "coefficient": "819adb51466d687c3944f8dad799a09551af9c083c918a50d9a24a883ae86e2a", - "vss_commitments": ["02dd81b7019efd1d38352b8df26a47d8e6bcb4ce7db71b2f9739b01031105294e2", "03cad1d1bc9d75de15ed0b4cb49dbde670d70988aa96d7982a25ee5484c97d3efc"], - "proof_of_knowledge": "0304df6af7f67b0d5f49ea2116f2d561a0a535c184836779f0f0677ff0838740ce20a0cb076384312f8817e030ca20379bab9247ee56fc3576b0b092f01c005691", + "signing_key": "eba6c6fb966a5a2caf58ebbb1ce6fc26f42f2c2285a23fee8746ad889aef156a", + "coefficient": "94fb0e0645dda7a5ff53ffcd85f258fd8a657ea4d55169481ca4f7fd9d422a24", + "vss_commitments": ["02355eedcbb159977fa7f08b97d32ba7e413345ff9f3bb6ff9d48a857bcd429d52", "0377a9020a7600ebc7036bb38423a8a873bacb757b3040410b0ab3e24ac119b840"], + "proof_of_knowledge": "02bc5e83c1f1b03cbb9cc4bab889e6a970e1f4c5c65c5f89e8d9723d73b726cc3e0cae4efa479a783b0f02ada2dcd23d1e6c23e623b6c5e7f79f64c1ccffba0f00", "signing_shares": { - "2": "3c4ae6fe69d55280cb06a0551f8563e526ee6f133a99433addcbb722a4c6f438", - "3": "e2454ec522749fc08388fed9c120b6ada8e1fd1e00026624c95b273f94dbf8a8" + "2": "a6acb7bc7143f6278cf3482c7c2dbe74543f47085824b78caa03d831c0009329", + "3": "3625aea55b1a90e5cd52b4e19e48f93590a39b2c8afe6a01492f5971b76858ca" }, - "verifying_share": "02b2597e19a037ba2eef224402a50652be93c1ab5bbd6195fc07ae6f6ecfa1304d", - "signing_share": "87cee034add572924bbd40001bbffa1db1f28a4bf52efebb4c2ad0978c71edf5" + "verifying_share": "0270d1370032f6bf55be309e8e1af7cb488fe0c09dea60f6a1f63194ad79745bea", + "signing_share": "5d743b63a8a688e008f2e896bd500cd0ee19d32edf858a4d177a1a100f2da8ff" }, "2": { "identifier": 2, - "signing_key": "ea163e297661aadf460b3de39a7550bd9b8fb2d07f1e1db5af098720156591a5", - "coefficient": "5234a8d4f373a7a184fb627185101326460d99296ac3c5c0ee948e8f5f97a3d4", - "vss_commitments": ["0280709e1bc38ca14a42f04dde31b33308d5a7ed7ef79a87c0cc14200783b519ac", "03490b38389a84ea57fde7b369962a92c53b367c221d5cd4728a7c6dfddb337c51"], - "proof_of_knowledge": "02afffa1f80fd46f2bac01bf7967649014a3a5236a62f32f98ce11fec20ee7229072c534d89a6b7b4c16129780404e172c3bdb527a77d40d760b80cc6538bcd4c4", + "signing_key": "19253bf86863f58ec764540d0fb8f4e27eaf32e226673a369c99d34fc15ee3a4", + "coefficient": "8d877bc408e00098c58ef41f6c74c991d590142631bd7d560d6a04e1fea1af85", + "vss_commitments": ["0379bb458500d419a5e2ac1bbb03a736ecfefa94deb545cdf68831e7319ea88479", "026b1fe439e95a299430410b115b7f984c39e5c7c8ce46bb82e7685f9780941a5c"], + "proof_of_knowledge": "02d045f905e668317282bb3e1d4474d47657342691bb950d7d96cd200a5deb3231d48c4ed4a130c6e0b10e7e2721c7353fc7c734722af5b3a8720568c0545dd6a7", "signing_shares": { - "1": "ead985c267f8e8cd367299ac12b3801eee809709a66d7fe83e789b4a5dedb080", - "3": "39ee690094ac23a2373b35714ae7d3dc0e07e380bf547bf71758903d291a3e0b" + "1": "159ce3082225a978ae00eb5628cbae24939c6f9ed1b3d20740ebe06a3506e730", + "3": "a8b4f11026bb7c72d0e2d40d44dd6d5e40cb213f6e6b925e8a15accc41f11c31" }, - "verifying_share": "03037adc4e0f796b96fc639ac194c1e167ccc5dd57505c813b0533b2bcd6d6ddaa", - "signing_share": "b3477e9659ee0691bdafd1e40230cb07aed5a5e05bd6649f625f12acbb304556" + "verifying_share": "03670de4fe945ea4a5ea3c7490497b9f3c1ba3ee5ec2bae59457edf3c09fcc28ab", + "signing_share": "f2860798c3051cabd165fbaf564ba38a43880f261ab8f90cc29d0bbd656404ce" }, "3": { "identifier": 3, - "signing_key": "8a9c3489b03d1bdecfd6c84237599980890d39d49167b016bb8b5fb530677204", - "coefficient": "57a91a3b723783e1b3b2369789c71d2d1fd4c3496e9ab60e0dcfc78a647486a4", - "vss_commitments": ["03f26b76678fe0174196430bb94e4e688044ae7bae2ccd7fef21c354429eb8bd61", "020d7a0d25b4ebed5157daf56aba2b89c3e0522f3bc293cc5e138f10e9c5efa465"], - "proof_of_knowledge": "02ad586ef180cda6bae1d2144ee090d277c77b789c8261349a247073626373cd8723b0ea6a62e8bc37372567ab4ef221d5e0a6c46d57d3746f6e5fde863298a542", + "signing_key": "c3966c3a8f79a558c9c295b5f7b4850b9b2af20056d9e1dfc81b64a3fd15d6a4", + "coefficient": "728f426acba0eb8d03901f2ba6947428b0278612e36d285d40e6535a8a88c367", + "vss_commitments": ["03dff1a7e3cdfb2c07abb9b6a2e77a57aba046ff9c83cfb1fa428376c1ccdcc594", "03e65bef0a7d98d5f54650538037fdcb04c6cb573fb14a6198d5da930ff71a49e1"], + "proof_of_knowledge": "02744daa5e786be5c04f14dbecf115dafcdd8b1cdf940646f032c12fd79e7a894da26fa44e1b9dd0b0cecd874ef31152314971dd3c6623c6bee81caf5b91816350", "signing_shares": { - "1": "6c746113ae6651496fb79286ea4d20b58581562b33b669fd58488745c89fdd69", - "2": "e0b438a850bca1c3d4fd653829a58a31b309a1661020cebcbaf4d44163f63be0" + "1": "aa97f10e6803511ead54eb23aebe07221e01ee43a7053b4f5d90d867d2491154", + "2": "c1bbaf448303f7591811306b5517519944b0926e0c5711fd05058368ed0db0f2" }, - "verifying_share": "02f2198ff3f1e1de2249cdc59eb4ec926936892fa39fc1582861ad2e84681624b3", - "signing_share": "dec01cf806069a912fa263c7e8a19bf1abb8c174c27dca83789354c1e9ee9cb7" + "verifying_share": "03fffac01c3fb5079eb60992154f6424f02cf97f566442619cfd514bc09f9efb63", + "signing_share": "8797d3cddd63b07799d90ec7ef473a44de476e36a6a3c790aded9eddeb641f5c" } } }