Skip to content

Commit af65bae

Browse files
eichhorlviviveevee
authored andcommitted
feat: Enable threshold signatures for Bip340Secp256k1 (#3809)
* init * merge * Update CHANGELOG.md Co-authored-by: Severin Siffert <[email protected]> * Update CHANGELOG.md --------- Co-authored-by: Severin Siffert <[email protected]>
1 parent fa79320 commit af65bae

File tree

4 files changed

+104
-93
lines changed

4 files changed

+104
-93
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ Identities protected by a shorter password can still be decrypted.
2525

2626
### feat: `dfx extension install` now uses the extension's dependencies.json file to pick the highest compatible version
2727

28+
### feat: Enable threshold schnorr signatures for Bip340Secp256k1
29+
30+
Schnorr signature signing for `Bip340Secp256k1` is now enabled.
31+
A test key id `Bip340Secp256k1:dfx_test_key` is ready to be used by locally created canisters.
32+
33+
### Replica
34+
35+
Updated replica to elected commit 2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1.
36+
2837
# 0.21.0
2938

3039
### feat: dfx killall

nix/sources.json

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,53 @@
22
"canister_sandbox-x86_64-darwin": {
33
"builtin": false,
44
"description": "The canister_sandbox binary. It must be updated together with the replica binary.",
5-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
6-
"sha256": "0wj3ag07ahqh5ajxc6snmvk08d93dr10dzar2qklvsqz3b5v83ak",
5+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
6+
"sha256": "0rv3kxxvkxgxsfxb0jg76hsbd7wl7njl6r96bawgcwlpk58bnk70",
77
"type": "file",
8-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/canister_sandbox.gz",
8+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/canister_sandbox.gz",
99
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/canister_sandbox.gz"
1010
},
1111
"canister_sandbox-x86_64-linux": {
1212
"builtin": false,
1313
"description": "The canister_sandbox binary. It must be updated together with the replica binary.",
14-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
15-
"sha256": "1g466v9lqjm4jpjikkyqsdmqf36ajgds6j5s75nfn492kahxwr88",
14+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
15+
"sha256": "12g8s16wwvghyb7nsg92svmlpgqxcq0w6dpx4l6ss3fdhh9vs8hy",
1616
"type": "file",
17-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/canister_sandbox.gz",
17+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/canister_sandbox.gz",
1818
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/canister_sandbox.gz"
1919
},
2020
"ic-admin-x86_64-darwin": {
2121
"builtin": false,
2222
"description": "The ic-admin binary.",
23-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
24-
"sha256": "02yr778v1dvmqn20f9y9qhxvnm1c9v1vcfsyxr2sgpg6mq1j796r",
23+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
24+
"sha256": "1lg62364v8jq1nnfrqvv3agm28y47082s932kg58zlvs9fyxpyj7",
2525
"type": "file",
26-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/ic-admin.gz",
26+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/ic-admin.gz",
2727
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-admin.gz"
2828
},
2929
"ic-admin-x86_64-linux": {
3030
"builtin": false,
3131
"description": "The ic-admin binary.",
32-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
33-
"sha256": "1g4a5vcrkis50sbyiiiazgbfgdyb638ygb44ry7cgg1l2v5vihmg",
32+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
33+
"sha256": "01257ibxl8jk9nzk9wicarv38b651bv0iq4h9mnpw8i231riqdwa",
3434
"type": "file",
35-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/ic-admin.gz",
35+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/ic-admin.gz",
3636
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-admin.gz"
3737
},
3838
"ic-btc-adapter-x86_64-darwin": {
3939
"builtin": false,
40-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
41-
"sha256": "0qs21h3dmsx9i6pk9nl37a155lsjgp85a9qjwid1ybfgc7jnvyp4",
40+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
41+
"sha256": "1qpbl748s80xfs5qd6wqlm3c20ch5pd9ls1his7v1zzhzvidq4sr",
4242
"type": "file",
43-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/ic-btc-adapter.gz",
43+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/ic-btc-adapter.gz",
4444
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-btc-adapter.gz"
4545
},
4646
"ic-btc-adapter-x86_64-linux": {
4747
"builtin": false,
48-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
49-
"sha256": "0cxp8zsc2g7vanp8pmgb8hdb8rnsfyx49mvsz6v9h5r8mhh83xn6",
48+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
49+
"sha256": "0iwzhxjg71asqm3za73ail8wh1yppwk2xzp1a6d9xz67315kzjai",
5050
"type": "file",
51-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/ic-btc-adapter.gz",
51+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/ic-btc-adapter.gz",
5252
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-btc-adapter.gz"
5353
},
5454
"ic-btc-canister": {
@@ -61,52 +61,52 @@
6161
},
6262
"ic-https-outcalls-adapter-x86_64-darwin": {
6363
"builtin": false,
64-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
65-
"sha256": "03x6y4s72jq6jw6dxj4gpd8glx7rr88q5xvvsnx3xzdkywyqnnrv",
64+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
65+
"sha256": "14g4qnn44zb312js2qzsrsq0j6mdavnpjdiiigjlgb5hdycqga04",
6666
"type": "file",
67-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz",
67+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz",
6868
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz"
6969
},
7070
"ic-https-outcalls-adapter-x86_64-linux": {
7171
"builtin": false,
72-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
73-
"sha256": "09hla95mrh1m2hxvkp4f6k4fj4cz9pb7713i9m3ng1sp9rmj7c8g",
72+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
73+
"sha256": "0gri1p7pkhadhc7xzp1psdw271ygl4fw9vpkqphxq18gl65i6w4k",
7474
"type": "file",
75-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/ic-https-outcalls-adapter.gz",
75+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/ic-https-outcalls-adapter.gz",
7676
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-https-outcalls-adapter.gz"
7777
},
7878
"ic-nns-init-x86_64-darwin": {
7979
"builtin": false,
8080
"description": "The ic-nns-init binary.",
81-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
82-
"sha256": "140r399pm03dmclld19hyd93g7g4cjvmbh7vv64y04hffmvajx55",
81+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
82+
"sha256": "0rs1z8kq8rv7n2l68r4xs0mkc8c6l24hb9sl1k846hnwz1p6k77l",
8383
"type": "file",
84-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/ic-nns-init.gz",
84+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/ic-nns-init.gz",
8585
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-nns-init.gz"
8686
},
8787
"ic-nns-init-x86_64-linux": {
8888
"builtin": false,
8989
"description": "The ic-nns-init binary.",
90-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
91-
"sha256": "1dfd23bzlp91akvn7kn3r5dbhcj103m0hr766yjfwdmhcjf8xrik",
90+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
91+
"sha256": "1pah1wraschdsl7i7s885msccj9lqivrfqwvq33fm9kc6hnivbgw",
9292
"type": "file",
93-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/ic-nns-init.gz",
93+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/ic-nns-init.gz",
9494
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-nns-init.gz"
9595
},
9696
"ic-starter-x86_64-darwin": {
9797
"builtin": false,
98-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
99-
"sha256": "0fphrxbpcssl2gvlfam4hxdr2yxis0x1bv354g438acpcf98818l",
98+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
99+
"sha256": "1c5gzvz4bwq3g3by7jwzkvylc7kn6cxqmw3war9xsaxy9h2x5693",
100100
"type": "file",
101-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/ic-starter.gz",
101+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/ic-starter.gz",
102102
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-starter.gz"
103103
},
104104
"ic-starter-x86_64-linux": {
105105
"builtin": false,
106-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
107-
"sha256": "1appdxylqxpvw35g5n03qnmvg7qrvrjvv8dg0n2hc98a3zmxrffh",
106+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
107+
"sha256": "16xav276hzm4vhrdq40icxxl6mjnx1rcpglhwf3nbi66hf1r73y4",
108108
"type": "file",
109-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/ic-starter.gz",
109+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/ic-starter.gz",
110110
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-starter.gz"
111111
},
112112
"icx-proxy-x86_64-darwin": {
@@ -168,55 +168,55 @@
168168
"replica-x86_64-darwin": {
169169
"builtin": false,
170170
"description": "The replica binary. It must be updated together with the canister_sandbox binary.",
171-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
172-
"sha256": "03iqzkzs6j8jnpchpyd69vxdqq6rwv50fmmax9n0m62vj1bw6rz7",
171+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
172+
"sha256": "1m1djy5qlp2pwynjy3z5g61qq5hicyv7y7w50csjj1n7b528yy3l",
173173
"type": "file",
174-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/replica.gz",
174+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/replica.gz",
175175
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/replica.gz"
176176
},
177177
"replica-x86_64-linux": {
178178
"builtin": false,
179179
"description": "The replica binary. It must be updated together with the canister_sandbox binary.",
180-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
181-
"sha256": "01liz27krbwgj480xv90yyfgp03mag6paav9dwmc1a12cwh8fyjp",
180+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
181+
"sha256": "0j4vrhv5spj9v9nznka0ylvblrkf0f41433gixrgwdc4via6mlf8",
182182
"type": "file",
183-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/replica.gz",
183+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/replica.gz",
184184
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/replica.gz"
185185
},
186186
"sandbox_launcher-x86_64-darwin": {
187187
"builtin": false,
188188
"description": "The sandbox_launcher binary. It must be updated together with the replica binary.",
189-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
190-
"sha256": "04b0pplz9wh1rpwmrcpbasqgf2w8shb8sx8p6310l7smng40fzxs",
189+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
190+
"sha256": "0k2r0k2fxdl6jl2f3jk5873sh5y0s5bxbpwq6ql44qn2b2sgr882",
191191
"type": "file",
192-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/sandbox_launcher.gz",
192+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/sandbox_launcher.gz",
193193
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/sandbox_launcher.gz"
194194
},
195195
"sandbox_launcher-x86_64-linux": {
196196
"builtin": false,
197197
"description": "The sandbox_launcher binary. It must be updated together with the replica binary.",
198-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
199-
"sha256": "1kkl14ya6byla0kk2vz5bah8fi978l2ma9815xwsjnb6zagdzlx2",
198+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
199+
"sha256": "04qgyidrhvcc4jrygqxkngmq7qzshxq1p6aijnw4al0lc2gvykvs",
200200
"type": "file",
201-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/sandbox_launcher.gz",
201+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/sandbox_launcher.gz",
202202
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/sandbox_launcher.gz"
203203
},
204204
"sns-x86_64-darwin": {
205205
"builtin": false,
206206
"description": "The sns binary.",
207-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
208-
"sha256": "1fzn0nan36k2qmlq2w0xdzxcacwl3298178wa3k3axvp5z3vj8g1",
207+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
208+
"sha256": "12hjmxxypg5616bdrqf1ar85a5dvzlj6a6gfamcl9h5hnmhwii2v",
209209
"type": "file",
210-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-darwin/sns.gz",
210+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-darwin/sns.gz",
211211
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/sns.gz"
212212
},
213213
"sns-x86_64-linux": {
214214
"builtin": false,
215215
"description": "The sns binary.",
216-
"rev": "246d0ce0784d9990c06904809722ce5c2c816269",
217-
"sha256": "1svf9c5ng3f7ap895slk6cksd0pr6hgnwzi6kr2xrdshzlvnvkfq",
216+
"rev": "2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1",
217+
"sha256": "1ws89pic5qsm7bncqgczq1zk67cm49rd6i3kn4c6gb93ywayd82k",
218218
"type": "file",
219-
"url": "https://download.dfinity.systems/ic/246d0ce0784d9990c06904809722ce5c2c816269/binaries/x86_64-linux/sns.gz",
219+
"url": "https://download.dfinity.systems/ic/2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1/binaries/x86_64-linux/sns.gz",
220220
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/sns.gz"
221221
}
222222
}

0 commit comments

Comments
 (0)