Skip to content

Commit f3eba9a

Browse files
committed
go.mod: upgrade to btcsuite/btcd/btcec v2.3.4
1 parent 5c3a32e commit f3eba9a

File tree

13 files changed

+191
-235
lines changed

13 files changed

+191
-235
lines changed

crypto/signature_nocgo.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ func Sign(hash []byte, prv *ecdsa.PrivateKey) ([]byte, error) {
8888
return nil, fmt.Errorf("invalid private key")
8989
}
9090
defer priv.Zero()
91-
sig, err := btc_ecdsa.SignCompact(&priv, hash, false) // ref uncompressed pubkey
92-
if err != nil {
93-
return nil, err
94-
}
91+
sig := btc_ecdsa.SignCompact(&priv, hash, false) // ref uncompressed pubkey
92+
9593
// Convert to Cortex signature format with 'recovery id' v at the end.
9694
v := sig[0] - 27
9795
copy(sig, sig[1:])

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ require (
66
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.2
77
github.com/CortexFoundation/inference v1.0.2-0.20230307032835-9197d586a4e8
88
github.com/CortexFoundation/statik v0.0.0-20210315012922-8bb8a7b5dc66
9-
github.com/CortexFoundation/torrentfs v1.0.67-0.20240715084113-632124c33e7e
9+
github.com/CortexFoundation/torrentfs v1.0.67-0.20240716091553-900c48134ed3
1010
github.com/VictoriaMetrics/fastcache v1.12.2
1111
github.com/arsham/figurine v1.3.0
1212
github.com/aws/aws-sdk-go-v2 v1.30.3
1313
github.com/aws/aws-sdk-go-v2/config v1.27.26
1414
github.com/aws/aws-sdk-go-v2/credentials v1.17.26
1515
github.com/aws/aws-sdk-go-v2/service/route53 v1.42.3
16-
github.com/btcsuite/btcd/btcec/v2 v2.3.3
16+
github.com/btcsuite/btcd/btcec/v2 v2.3.4
1717
github.com/cespare/cp v1.1.1
1818
github.com/charmbracelet/bubbletea v0.26.6
1919
github.com/cloudflare/cloudflare-go v0.99.0
@@ -195,7 +195,7 @@ require (
195195
github.com/otiai10/mint v1.6.3 // indirect
196196
github.com/pion/datachannel v1.5.8 // indirect
197197
github.com/pion/dtls/v2 v2.2.11 // indirect
198-
github.com/pion/ice/v2 v2.3.28 // indirect
198+
github.com/pion/ice/v2 v2.3.29 // indirect
199199
github.com/pion/interceptor v0.1.29 // indirect
200200
github.com/pion/logging v0.2.2 // indirect
201201
github.com/pion/mdns v0.0.12 // indirect
@@ -208,7 +208,7 @@ require (
208208
github.com/pion/stun v0.6.1 // indirect
209209
github.com/pion/transport/v2 v2.2.5 // indirect
210210
github.com/pion/turn/v2 v2.1.6 // indirect
211-
github.com/pion/webrtc/v3 v3.2.44 // indirect
211+
github.com/pion/webrtc/v3 v3.2.46 // indirect
212212
github.com/pkg/errors v0.9.1 // indirect
213213
github.com/pmezard/go-difflib v1.0.0 // indirect
214214
github.com/prometheus/client_golang v1.19.1 // indirect
@@ -248,7 +248,7 @@ require (
248248
golang.org/x/term v0.22.0 // indirect
249249
gopkg.in/yaml.v3 v3.0.1 // indirect
250250
lukechampine.com/blake3 v1.3.0 // indirect
251-
modernc.org/libc v1.55.1 // indirect
251+
modernc.org/libc v1.55.2 // indirect
252252
modernc.org/mathutil v1.6.0 // indirect
253253
modernc.org/memory v1.8.0 // indirect
254254
modernc.org/sqlite v1.30.2 // indirect

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ github.com/CortexFoundation/statik v0.0.0-20210315012922-8bb8a7b5dc66/go.mod h1:
7070
github.com/CortexFoundation/torrentfs v1.0.13-0.20200623060705-ce027f43f2f8/go.mod h1:Ma+tGhPPvz4CEZHaqEJQMOEGOfHeQBiAoNd1zyc/w3Q=
7171
github.com/CortexFoundation/torrentfs v1.0.14-0.20200703071639-3fcabcabf274/go.mod h1:qnb3YlIJmuetVBtC6Lsejr0Xru+1DNmDCdTqnwy7lhk=
7272
github.com/CortexFoundation/torrentfs v1.0.20-0.20200810031954-d36d26f82fcc/go.mod h1:N5BsicP5ynjXIi/Npl/SRzlJ630n1PJV2sRj0Z0t2HA=
73-
github.com/CortexFoundation/torrentfs v1.0.67-0.20240715084113-632124c33e7e h1:CforM4KfBfRTpW6gUzXlv98iBkqZNRGB8nwvTxwk5jk=
74-
github.com/CortexFoundation/torrentfs v1.0.67-0.20240715084113-632124c33e7e/go.mod h1:+VSafou2P+tNMGtflEKtoUZsNtheSmLTxhHjLH784iY=
73+
github.com/CortexFoundation/torrentfs v1.0.67-0.20240716091553-900c48134ed3 h1:3yyFgoRTm7aLZGtjbVJVkapxkf4TDCZU02xYf3om2lI=
74+
github.com/CortexFoundation/torrentfs v1.0.67-0.20240716091553-900c48134ed3/go.mod h1:heTlzg9j5y9mzkue9+yKxSHgeR1xLVra0pUnHvHNl7I=
7575
github.com/CortexFoundation/wormhole v0.0.2-0.20240624201423-33e289eb7662 h1:rmM5WDx5UX7V4LF1D8LtAOPDzcCKulpZ++NkP8/+Ook=
7676
github.com/CortexFoundation/wormhole v0.0.2-0.20240624201423-33e289eb7662/go.mod h1:ipzmPabDgzYKUbXkGVe2gTkBEp+MsDx6pXGiuYzmP6s=
7777
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
@@ -312,8 +312,8 @@ github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 h1:GKTyiRCL6zVf5wWaq
312312
github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8/go.mod h1:spo1JLcs67NmW1aVLEgtA8Yy1elc+X8y5SRW1sFW4Og=
313313
github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=
314314
github.com/btcsuite/btcd v0.23.4 h1:IzV6qqkfwbItOS/sg/aDfPDsjPP8twrCOE2R93hxMlQ=
315-
github.com/btcsuite/btcd/btcec/v2 v2.3.3 h1:6+iXlDKE8RMtKsvK0gshlXIuPbyWM/h84Ensb7o3sC0=
316-
github.com/btcsuite/btcd/btcec/v2 v2.3.3/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04=
315+
github.com/btcsuite/btcd/btcec/v2 v2.3.4 h1:3EJjcN70HCu/mwqlUsGK8GcNVyLVxFDlWurTXGPFfiQ=
316+
github.com/btcsuite/btcd/btcec/v2 v2.3.4/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04=
317317
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2-0.20220413172512-bf64c8bdbbbf h1:x2qACX+i7TMsmaE1YPYyRISOAPKnVlOW+E+vJJz2vSo=
318318
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2-0.20220413172512-bf64c8bdbbbf/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc=
319319
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA=
@@ -984,8 +984,8 @@ github.com/pion/dtls/v2 v2.2.11 h1:9U/dpCYl1ySttROPWJgqWKEylUdT0fXp/xst6JwY5Ks=
984984
github.com/pion/dtls/v2 v2.2.11/go.mod h1:d9SYc9fch0CqK90mRk1dC7AkzzpwJj6u2GU3u+9pqFE=
985985
github.com/pion/ice v0.7.13/go.mod h1:U3ERMkJgkPMlBjzMe2XxIQPl6ZrfRHyENwGCBoFrWWk=
986986
github.com/pion/ice v0.7.14/go.mod h1:/Lz6jAUhsvXed7kNJImXtvVSgjtcdGKoZAZIYb9WEm0=
987-
github.com/pion/ice/v2 v2.3.28 h1:BivQkL8+RV8HbWxIj0ehHVQfh2d/ZBxU196EqWtYmEo=
988-
github.com/pion/ice/v2 v2.3.28/go.mod h1:KXJJcZK7E8WzrBEYnV4UtqEZsGeWfHxsNqhVcVvgjxw=
987+
github.com/pion/ice/v2 v2.3.29 h1:nKSU0Kb7F0Idfaz15EwGB1GbOxBlONXnWma5p1lOFcE=
988+
github.com/pion/ice/v2 v2.3.29/go.mod h1:KXJJcZK7E8WzrBEYnV4UtqEZsGeWfHxsNqhVcVvgjxw=
989989
github.com/pion/interceptor v0.1.29 h1:39fsnlP1U8gw2JzOFWdfCU82vHvhW9o0rZnZF56wF+M=
990990
github.com/pion/interceptor v0.1.29/go.mod h1:ri+LGNjRUc5xUNtDEPzfdkmSqISixVTBF/z/Zms/6T4=
991991
github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY=
@@ -1037,8 +1037,8 @@ github.com/pion/turn/v2 v2.1.6 h1:Xr2niVsiPTB0FPtt+yAWKFUkU1eotQbGgpTIld4x1Gc=
10371037
github.com/pion/turn/v2 v2.1.6/go.mod h1:huEpByKKHix2/b9kmTAM3YoX6MKP+/D//0ClgUYR2fY=
10381038
github.com/pion/webrtc/v2 v2.2.7/go.mod h1:EfCuvKjzMgX4F/aSryRUC7L9o3u2N8WNUgnzd6wOO+8=
10391039
github.com/pion/webrtc/v2 v2.2.9/go.mod h1:TcArPDphZIBtZ+mh8J/qOREyY3ca7ihQrenulOIvfPQ=
1040-
github.com/pion/webrtc/v3 v3.2.44 h1:wL2X6xSVneYvNRWMdroHoiNAkF2rM6IIhV/oIz+iwJs=
1041-
github.com/pion/webrtc/v3 v3.2.44/go.mod h1:WRHWtbUNNtph0/FWtExX8cQl4EIpPrZec6gQf1tV6GE=
1040+
github.com/pion/webrtc/v3 v3.2.46 h1:0KmTC2GaeHe9ork3fGy0MFoStAqbGs8mwGufRCIT9a4=
1041+
github.com/pion/webrtc/v3 v3.2.46/go.mod h1:g7pwdiN9Gj2zZZlSTW5XC7OzrgHS9QzRM0y+O2jtjVg=
10421042
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ=
10431043
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU=
10441044
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
@@ -1798,8 +1798,8 @@ modernc.org/fileutil v1.3.0 h1:gQ5SIzK3H9kdfai/5x41oQiKValumqNTDXMvKo62HvE=
17981798
modernc.org/fileutil v1.3.0/go.mod h1:XatxS8fZi3pS8/hKG2GH/ArUogfxjpEKs3Ku3aK4JyQ=
17991799
modernc.org/gc/v2 v2.4.1 h1:9cNzOqPyMJBvrUipmynX0ZohMhcxPtMccYgGOJdOiBw=
18001800
modernc.org/gc/v2 v2.4.1/go.mod h1:wzN5dK1AzVGoH6XOzc3YZ+ey/jPgYHLuVckd62P0GYU=
1801-
modernc.org/libc v1.55.1 h1:2K/vMbMDGymj0CO4mcQybYW8SW3czB+u9rlghpMkTrI=
1802-
modernc.org/libc v1.55.1/go.mod h1:qFXepLhz+JjFThQ4kzwzOjA/y/artDeg+pcYnY+Q83w=
1801+
modernc.org/libc v1.55.2 h1:UN5eoBYrKp1b+gPYx8nZj5H7uxeybvyoQJfvcg+Bqjc=
1802+
modernc.org/libc v1.55.2/go.mod h1:qFXepLhz+JjFThQ4kzwzOjA/y/artDeg+pcYnY+Q83w=
18031803
modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4=
18041804
modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo=
18051805
modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E=

vendor/github.com/CortexFoundation/torrentfs/file.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/signature.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/pion/ice/v2/agent.go

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/pion/ice/v2/agent_handlers.go

Lines changed: 1 addition & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/pion/webrtc/v3/datachannel.go

Lines changed: 0 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/pion/webrtc/v3/peerconnection.go

Lines changed: 3 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)