File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ serde_with = "3.12.0"
86
86
sha2 = { version = " 0.10" , default-features = false }
87
87
sha3 = " 0.10.8"
88
88
smallvec = " 1.15.1"
89
- snow = " 0.9.6 "
89
+ snow = " 0.10.0 "
90
90
spongefish = { git = " https://github.com/arkworks-rs/spongefish.git" , rev = " e9f7031" , features = [
91
91
" arkworks-algebra" ,
92
92
] }
Original file line number Diff line number Diff line change @@ -871,6 +871,7 @@ where
871
871
fn spawn_handshake ( & mut self , s : T :: Stream ) {
872
872
let h = Builder :: new ( NOISE_PARAMS . parse ( ) . expect ( "valid noise params" ) )
873
873
. local_private_key ( & self . keypair . secret_key ( ) . as_bytes ( ) )
874
+ . expect ( "valid private key" )
874
875
. build_responder ( )
875
876
. expect ( "valid noise params yield valid handshake state" ) ;
876
877
self . handshake_tasks . spawn ( async move {
@@ -963,7 +964,9 @@ async fn connect<T: tcp::Stream + Unpin>(
963
964
let new_handshake_state = || {
964
965
Builder :: new ( NOISE_PARAMS . parse ( ) . expect ( "valid noise params" ) )
965
966
. local_private_key ( this. 1 . secret_key ( ) . as_slice ( ) )
967
+ . expect ( "valid private key" )
966
968
. remote_public_key ( to. 1 . as_slice ( ) )
969
+ . expect ( "valid remote pub key" )
967
970
. build_initiator ( )
968
971
. expect ( "valid noise params yield valid handshake state" )
969
972
} ;
You can’t perform that action at this time.
0 commit comments