Skip to content

Commit 0744af7

Browse files
committed
Enforce content-length validation on sender and size limits on payjoin-cli
1 parent 08c5571 commit 0744af7

File tree

7 files changed

+218
-110
lines changed

7 files changed

+218
-110
lines changed

Cargo-minimal.lock

Lines changed: 63 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,9 @@ dependencies = [
834834

835835
[[package]]
836836
name = "futures"
837-
version = "0.3.30"
837+
version = "0.3.31"
838838
source = "registry+https://github.com/rust-lang/crates.io-index"
839-
checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
839+
checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
840840
dependencies = [
841841
"futures-channel",
842842
"futures-core",
@@ -849,25 +849,25 @@ dependencies = [
849849

850850
[[package]]
851851
name = "futures-channel"
852-
version = "0.3.30"
852+
version = "0.3.31"
853853
source = "registry+https://github.com/rust-lang/crates.io-index"
854-
checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
854+
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
855855
dependencies = [
856856
"futures-core",
857857
"futures-sink",
858858
]
859859

860860
[[package]]
861861
name = "futures-core"
862-
version = "0.3.30"
862+
version = "0.3.31"
863863
source = "registry+https://github.com/rust-lang/crates.io-index"
864-
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
864+
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
865865

866866
[[package]]
867867
name = "futures-executor"
868-
version = "0.3.30"
868+
version = "0.3.31"
869869
source = "registry+https://github.com/rust-lang/crates.io-index"
870-
checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
870+
checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
871871
dependencies = [
872872
"futures-core",
873873
"futures-task",
@@ -876,15 +876,15 @@ dependencies = [
876876

877877
[[package]]
878878
name = "futures-io"
879-
version = "0.3.30"
879+
version = "0.3.31"
880880
source = "registry+https://github.com/rust-lang/crates.io-index"
881-
checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
881+
checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
882882

883883
[[package]]
884884
name = "futures-macro"
885-
version = "0.3.30"
885+
version = "0.3.31"
886886
source = "registry+https://github.com/rust-lang/crates.io-index"
887-
checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
887+
checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
888888
dependencies = [
889889
"proc-macro2",
890890
"quote",
@@ -893,21 +893,21 @@ dependencies = [
893893

894894
[[package]]
895895
name = "futures-sink"
896-
version = "0.3.30"
896+
version = "0.3.31"
897897
source = "registry+https://github.com/rust-lang/crates.io-index"
898-
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
898+
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
899899

900900
[[package]]
901901
name = "futures-task"
902-
version = "0.3.30"
902+
version = "0.3.31"
903903
source = "registry+https://github.com/rust-lang/crates.io-index"
904-
checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
904+
checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
905905

906906
[[package]]
907907
name = "futures-util"
908-
version = "0.3.30"
908+
version = "0.3.31"
909909
source = "registry+https://github.com/rust-lang/crates.io-index"
910-
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
910+
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
911911
dependencies = [
912912
"futures-channel",
913913
"futures-core",
@@ -1257,10 +1257,11 @@ dependencies = [
12571257

12581258
[[package]]
12591259
name = "js-sys"
1260-
version = "0.3.70"
1260+
version = "0.3.77"
12611261
source = "registry+https://github.com/rust-lang/crates.io-index"
1262-
checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
1262+
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
12631263
dependencies = [
1264+
"once_cell",
12641265
"wasm-bindgen",
12651266
]
12661267

@@ -1628,9 +1629,11 @@ dependencies = [
16281629
"anyhow",
16291630
"async-trait",
16301631
"bitcoincore-rpc",
1632+
"bytes",
16311633
"clap",
16321634
"config",
16331635
"env_logger",
1636+
"futures",
16341637
"http-body-util",
16351638
"hyper",
16361639
"hyper-rustls",
@@ -2057,10 +2060,12 @@ dependencies = [
20572060
"sync_wrapper",
20582061
"tokio",
20592062
"tokio-rustls",
2063+
"tokio-util",
20602064
"tower-service",
20612065
"url",
20622066
"wasm-bindgen",
20632067
"wasm-bindgen-futures",
2068+
"wasm-streams",
20642069
"web-sys",
20652070
"webpki-roots 0.26.5",
20662071
"winreg",
@@ -2212,6 +2217,12 @@ dependencies = [
22122217
"untrusted 0.9.0",
22132218
]
22142219

2220+
[[package]]
2221+
name = "rustversion"
2222+
version = "1.0.21"
2223+
source = "registry+https://github.com/rust-lang/crates.io-index"
2224+
checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
2225+
22152226
[[package]]
22162227
name = "ryu"
22172228
version = "1.0.18"
@@ -2935,24 +2946,24 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
29352946

29362947
[[package]]
29372948
name = "wasm-bindgen"
2938-
version = "0.2.93"
2949+
version = "0.2.100"
29392950
source = "registry+https://github.com/rust-lang/crates.io-index"
2940-
checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
2951+
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
29412952
dependencies = [
29422953
"cfg-if",
29432954
"once_cell",
2955+
"rustversion",
29442956
"wasm-bindgen-macro",
29452957
]
29462958

29472959
[[package]]
29482960
name = "wasm-bindgen-backend"
2949-
version = "0.2.93"
2961+
version = "0.2.100"
29502962
source = "registry+https://github.com/rust-lang/crates.io-index"
2951-
checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
2963+
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
29522964
dependencies = [
29532965
"bumpalo",
29542966
"log",
2955-
"once_cell",
29562967
"proc-macro2",
29572968
"quote",
29582969
"syn 2.0.77",
@@ -2961,31 +2972,32 @@ dependencies = [
29612972

29622973
[[package]]
29632974
name = "wasm-bindgen-futures"
2964-
version = "0.4.43"
2975+
version = "0.4.50"
29652976
source = "registry+https://github.com/rust-lang/crates.io-index"
2966-
checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed"
2977+
checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
29672978
dependencies = [
29682979
"cfg-if",
29692980
"js-sys",
2981+
"once_cell",
29702982
"wasm-bindgen",
29712983
"web-sys",
29722984
]
29732985

29742986
[[package]]
29752987
name = "wasm-bindgen-macro"
2976-
version = "0.2.93"
2988+
version = "0.2.100"
29772989
source = "registry+https://github.com/rust-lang/crates.io-index"
2978-
checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
2990+
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
29792991
dependencies = [
29802992
"quote",
29812993
"wasm-bindgen-macro-support",
29822994
]
29832995

29842996
[[package]]
29852997
name = "wasm-bindgen-macro-support"
2986-
version = "0.2.93"
2998+
version = "0.2.100"
29872999
source = "registry+https://github.com/rust-lang/crates.io-index"
2988-
checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
3000+
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
29893001
dependencies = [
29903002
"proc-macro2",
29913003
"quote",
@@ -2996,15 +3008,31 @@ dependencies = [
29963008

29973009
[[package]]
29983010
name = "wasm-bindgen-shared"
2999-
version = "0.2.93"
3011+
version = "0.2.100"
3012+
source = "registry+https://github.com/rust-lang/crates.io-index"
3013+
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
3014+
dependencies = [
3015+
"unicode-ident",
3016+
]
3017+
3018+
[[package]]
3019+
name = "wasm-streams"
3020+
version = "0.4.2"
30003021
source = "registry+https://github.com/rust-lang/crates.io-index"
3001-
checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
3022+
checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65"
3023+
dependencies = [
3024+
"futures-util",
3025+
"js-sys",
3026+
"wasm-bindgen",
3027+
"wasm-bindgen-futures",
3028+
"web-sys",
3029+
]
30023030

30033031
[[package]]
30043032
name = "web-sys"
3005-
version = "0.3.70"
3033+
version = "0.3.77"
30063034
source = "registry+https://github.com/rust-lang/crates.io-index"
3007-
checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0"
3035+
checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
30083036
dependencies = [
30093037
"js-sys",
30103038
"wasm-bindgen",

0 commit comments

Comments
 (0)