forge
Explore
Log in

Don't you dare go Hollow

Cargo audit is clean of vulnerabilities: turso 0.9.0-pre.2 without its fts feature (no tantivy, old zstd or lru)

Browse files at this commit

5219076026a5abc2191ce8252f62124a548b27bfAhmet Kaan GümüşParent: bb771dc
  • harden
    • cargo audit is clean of vulnerabilities: turso 0.9.0-pre.2 without its fts feature (no tantivy, old zstd or lru)
    • web push encrypts (RFC 8291) and signs VAPID (RFC 8292) on p256 0.14, hkdf, aes-gcm and sha2 instead of web-push-native (no jwt-simple, rsa 0.9 or crypto-bigint 0.5)
    • SSH no longer accepts RSA user keys, as the key page already refused them (russh without rsa)
    • syntect and comrak take only the features forge uses (no yaml-rust or onig)
Show full message
🔒 harden: cargo audit is clean of vulnerabilities: turso 0.9.0-pre.2 without its fts feature (no tantivy, old zstd or lru); web push encrypts (RFC 8291) and signs VAPID (RFC 8292) on p256 0.14, hkdf, aes-gcm and sha2 instead of web-push-native (no jwt-simple, rsa 0.9 or crypto-bigint 0.5); SSH no longer accepts RSA user keys, as the key page already refused them (russh without rsa); syntect and comrak take only the features forge uses (no yaml-rust or onig)
Cargo.lockmodified+105 -1156

Diff too large; view file

@@ -90,16 +90,6 @@ dependencies = [
90 "zeroize",90 "zeroize",
91 ]91 ]
92 92
93-[[package]]
94-name = "aes-keywrap"
95-version = "0.9.1"
96-source = "registry+https://github.com/rust-lang/crates.io-index"
97-checksum = "cf71a903b87eeef4903e7077cc9689f0c8449e093395db09dc48d1a39934e770"
98-dependencies = [
99- "aes 0.9.3",
100- "byteorder",
101-]
102-
103 [[package]]93 [[package]]
104 name = "ahash"94 name = "ahash"
105 version = "0.8.12"95 version = "0.8.12"
@@ -420,12 +410,6 @@ dependencies = [
420 "pkg-config",410 "pkg-config",
421 ]411 ]
422 412
423-[[package]]
424-name = "base16ct"
425-version = "0.2.0"
426-source = "registry+https://github.com/rust-lang/crates.io-index"
427-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
428-
429 [[package]]413 [[package]]
430 name = "base16ct"414 name = "base16ct"
431 version = "1.0.0"415 version = "1.0.0"
@@ -513,7 +497,7 @@ dependencies = [
513 "lazy_static",497 "lazy_static",
514 "lazycell",498 "lazycell",
515 "log",499 "log",
516- "prettyplease 0.2.37",500+ "prettyplease",
517 "proc-macro2",501 "proc-macro2",
518 "quote",502 "quote",
519 "regex",503 "regex",
@@ -523,12 +507,6 @@ dependencies = [
523 "which",507 "which",
524 ]508 ]
525 509
526-[[package]]
527-name = "binstring"
528-version = "0.1.8"
529-source = "registry+https://github.com/rust-lang/crates.io-index"
530-checksum = "3cff57e3fb66fb8077cb7f5de37442fff99b4ee99d71e6b946ad9b6b7246c27c"
531-
532 [[package]]510 [[package]]
533 name = "bit-set"511 name = "bit-set"
534 version = "0.8.0"512 version = "0.8.0"
@@ -556,15 +534,6 @@ version = "2.13.2"
556 source = "registry+https://github.com/rust-lang/crates.io-index"534 source = "registry+https://github.com/rust-lang/crates.io-index"
557 checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"535 checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
558 536
559-[[package]]
560-name = "bitpacking"
561-version = "0.9.3"
562-source = "registry+https://github.com/rust-lang/crates.io-index"
563-checksum = "96a7139abd3d9cebf8cd6f920a389cf3dc9576172e32f4563f188cae3c3eb019"
564-dependencies = [
565- "crunchy",
566-]
567-
568 [[package]]537 [[package]]
569 name = "bitvec"538 name = "bitvec"
570 version = "1.1.1"539 version = "1.1.1"
@@ -586,16 +555,6 @@ dependencies = [
586 "digest 0.11.3",555 "digest 0.11.3",
587 ]556 ]
588 557
589-[[package]]
590-name = "blake2b_simd"
591-version = "1.0.5"
592-source = "registry+https://github.com/rust-lang/crates.io-index"
593-checksum = "3560a7b1951efe814fcd721938313adc56753ca39f4b23847d7e9a2402f5dbff"
594-dependencies = [
595- "arrayvec",
596- "constant_time_eq",
597-]
598-
599 [[package]]558 [[package]]
600 name = "block-buffer"559 name = "block-buffer"
601 version = "0.10.4"560 version = "0.10.4"
@@ -634,29 +593,6 @@ dependencies = [
634 "cipher 0.5.2",593 "cipher 0.5.2",
635 ]594 ]
636 595
637-[[package]]
638-name = "bon"
639-version = "3.10.3"
640-source = "registry+https://github.com/rust-lang/crates.io-index"
641-checksum = "a05442cd7005532d0cfedec676b5b9333d2b4c7c3afabe2b1a9ce2742fbe2ee6"
642-dependencies = [
643- "bon-macros",
644-]
645-
646-[[package]]
647-name = "bon-macros"
648-version = "3.10.3"
649-source = "registry+https://github.com/rust-lang/crates.io-index"
650-checksum = "93833e97ac7c46ba97045afcf247238c27057538fcf2f06344662ddd5f567be6"
651-dependencies = [
652- "darling 0.24.1",
653- "ident_case",
654- "prettyplease 0.3.0",
655- "proc-macro2",
656- "quote",
657- "syn 3.0.9",
658-]
659-
660 [[package]]596 [[package]]
661 name = "branches"597 name = "branches"
662 version = "0.4.6"598 version = "0.4.6"
@@ -781,12 +717,6 @@ dependencies = [
781 "shlex 2.0.1",717 "shlex 2.0.1",
782 ]718 ]
783 719
784-[[package]]
785-name = "census"
786-version = "0.4.2"
787-source = "registry+https://github.com/rust-lang/crates.io-index"
788-checksum = "4f4c707c6a209cbe82d10abd08e1ea8995e9ea937d2550646e02798948992be0"
789-
790 [[package]]720 [[package]]
791 name = "cexpr"721 name = "cexpr"
792 version = "0.6.0"722 version = "0.6.0"
@@ -906,7 +836,6 @@ dependencies = [
906 "anstyle",836 "anstyle",
907 "clap_lex",837 "clap_lex",
908 "strsim",838 "strsim",
909- "terminal_size",
910 ]839 ]
911 840
912 [[package]]841 [[package]]
@@ -951,17 +880,6 @@ version = "0.5.4"
951 source = "registry+https://github.com/rust-lang/crates.io-index"880 source = "registry+https://github.com/rust-lang/crates.io-index"
952 checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"881 checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
953 882
954-[[package]]
955-name = "coarsetime"
956-version = "0.1.38"
957-source = "registry+https://github.com/rust-lang/crates.io-index"
958-checksum = "eae63702c5627c75addbfb1ea9d1b3842205a6ffd43e4cce884a2a9eb1828fd7"
959-dependencies = [
960- "libc",
961- "wasix",
962- "wasm-bindgen",
963-]
964-
965 [[package]]883 [[package]]
966 name = "codemap"884 name = "codemap"
967 version = "0.1.3"885 version = "0.1.3"
@@ -1014,22 +932,15 @@ version = "0.59.0"
1014 source = "registry+https://github.com/rust-lang/crates.io-index"932 source = "registry+https://github.com/rust-lang/crates.io-index"
1015 checksum = "3adf553d37681e21753316065ad5a763d9513f81c910e250576c572114a8eb06"933 checksum = "3adf553d37681e21753316065ad5a763d9513f81c910e250576c572114a8eb06"
1016 dependencies = [934 dependencies = [
1017- "bon",
1018 "caseless",935 "caseless",
1019- "clap",
1020- "emojis",
1021 "entities",936 "entities",
1022 "finl_unicode",937 "finl_unicode",
1023- "fmt2io",
1024 "memchr-n",938 "memchr-n",
1025 "phf 0.14.0",939 "phf 0.14.0",
1026 "phf_codegen",940 "phf_codegen",
1027 "rustc-hash 2.1.3",941 "rustc-hash 2.1.3",
1028- "shell-words",
1029 "smallvec",942 "smallvec",
1030- "syntect",
1031 "typed-arena",943 "typed-arena",
1032- "xdg",
1033 ]944 ]
1034 945
1035 [[package]]946 [[package]]
@@ -1041,12 +952,6 @@ dependencies = [
1041 "crossbeam-utils",952 "crossbeam-utils",
1042 ]953 ]
1043 954
1044-[[package]]
1045-name = "const-oid"
1046-version = "0.9.6"
1047-source = "registry+https://github.com/rust-lang/crates.io-index"
1048-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
1049-
1050 [[package]]955 [[package]]
1051 name = "const-oid"956 name = "const-oid"
1052 version = "0.10.2"957 version = "0.10.2"
@@ -1074,12 +979,6 @@ dependencies = [
1074 "unicode-xid",979 "unicode-xid",
1075 ]980 ]
1076 981
1077-[[package]]
1078-name = "constant_time_eq"
1079-version = "0.4.2"
1080-source = "registry+https://github.com/rust-lang/crates.io-index"
1081-checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
1082-
1083 [[package]]982 [[package]]
1084 name = "cookie"983 name = "cookie"
1085 version = "0.18.2"984 version = "0.18.2"
@@ -1223,18 +1122,6 @@ version = "0.2.4"
1223 source = "registry+https://github.com/rust-lang/crates.io-index"1122 source = "registry+https://github.com/rust-lang/crates.io-index"
1224 checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"1123 checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
1225 1124
1226-[[package]]
1227-name = "crypto-bigint"
1228-version = "0.5.5"
1229-source = "registry+https://github.com/rust-lang/crates.io-index"
1230-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
1231-dependencies = [
1232- "generic-array 0.14.7",
1233- "rand_core 0.6.4",
1234- "subtle",
1235- "zeroize",
1236-]
1237-
1238 [[package]]1125 [[package]]
1239 name = "crypto-bigint"1126 name = "crypto-bigint"
1240 version = "0.7.10"1127 version = "0.7.10"
@@ -1274,16 +1161,6 @@ dependencies = [
1274 "rand_core 0.10.1",1161 "rand_core 0.10.1",
1275 ]1162 ]
1276 1163
1277-[[package]]
1278-name = "crypto-primes"
1279-version = "0.7.2"
1280-source = "registry+https://github.com/rust-lang/crates.io-index"
1281-checksum = "3633a51a39c69ebbaa4feaa694bd83d241e4093901c84a0963b19d9bb3f0cf8f"
1282-dependencies = [
1283- "crypto-bigint 0.7.10",
1284- "rand_core 0.10.1",
1285-]
1286-
1287 [[package]]1164 [[package]]
1288 name = "cssparser"1165 name = "cssparser"
1289 version = "0.38.0"1166 version = "0.38.0"
@@ -1307,12 +1184,6 @@ dependencies = [
1307 "syn 3.0.9",1184 "syn 3.0.9",
1308 ]1185 ]
1309 1186
1310-[[package]]
1311-name = "ct-codecs"
1312-version = "1.1.8"
1313-source = "registry+https://github.com/rust-lang/crates.io-index"
1314-checksum = "8fd9f3db6f2cfef61c10613071955154ffdc9e515daebff26de4b54e35038fdd"
1315-
1316 [[package]]1187 [[package]]
1317 name = "ctr"1188 name = "ctr"
1318 version = "0.9.2"1189 version = "0.9.2"
@@ -1375,18 +1246,8 @@ version = "0.20.11"
1375 source = "registry+https://github.com/rust-lang/crates.io-index"1246 source = "registry+https://github.com/rust-lang/crates.io-index"
1376 checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"1247 checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
1377 dependencies = [1248 dependencies = [
1378- "darling_core 0.20.11",1249+ "darling_core",
1379- "darling_macro 0.20.11",1250+ "darling_macro",
1380-]
1381-
1382-[[package]]
1383-name = "darling"
1384-version = "0.24.1"
1385-source = "registry+https://github.com/rust-lang/crates.io-index"
1386-checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec"
1387-dependencies = [
1388- "darling_core 0.24.1",
1389- "darling_macro 0.24.1",
1390 ]1251 ]
1391 1252
1392 [[package]]1253 [[package]]
@@ -1403,41 +1264,17 @@ dependencies = [
1403 "syn 2.0.119",1264 "syn 2.0.119",
1404 ]1265 ]
1405 1266
1406-[[package]]
1407-name = "darling_core"
1408-version = "0.24.1"
1409-source = "registry+https://github.com/rust-lang/crates.io-index"
1410-checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff"
1411-dependencies = [
1412- "ident_case",
1413- "proc-macro2",
1414- "quote",
1415- "strsim",
1416- "syn 3.0.9",
1417-]
1418-
1419 [[package]]1267 [[package]]
1420 name = "darling_macro"1268 name = "darling_macro"
1421 version = "0.20.11"1269 version = "0.20.11"
1422 source = "registry+https://github.com/rust-lang/crates.io-index"1270 source = "registry+https://github.com/rust-lang/crates.io-index"
1423 checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"1271 checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
1424 dependencies = [1272 dependencies = [
1425- "darling_core 0.20.11",1273+ "darling_core",
1426 "quote",1274 "quote",
1427 "syn 2.0.119",1275 "syn 2.0.119",
1428 ]1276 ]
1429 1277
1430-[[package]]
1431-name = "darling_macro"
1432-version = "0.24.1"
1433-source = "registry+https://github.com/rust-lang/crates.io-index"
1434-checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
1435-dependencies = [
1436- "darling_core 0.24.1",
1437- "quote",
1438- "syn 3.0.9",
1439-]
1440-
1441 [[package]]1278 [[package]]
1442 name = "dashmap"1279 name = "dashmap"
1443 version = "6.2.1"1280 version = "6.2.1"
@@ -1458,12 +1295,6 @@ version = "2.11.1"
1458 source = "registry+https://github.com/rust-lang/crates.io-index"1295 source = "registry+https://github.com/rust-lang/crates.io-index"
1459 checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"1296 checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"
1460 1297
1461-[[package]]
1462-name = "datasketches"
1463-version = "0.2.0"
1464-source = "registry+https://github.com/rust-lang/crates.io-index"
1465-checksum = "c286de4e81ea2590afc24d754e0f83810c566f50a1388fa75ebd57928c0d9745"
1466-
1467 [[package]]1298 [[package]]
1468 name = "defmt"1299 name = "defmt"
1469 version = "0.3.101"1300 version = "0.3.101"
@@ -1515,25 +1346,14 @@ dependencies = [
1515 "syn 2.0.119",1346 "syn 2.0.119",
1516 ]1347 ]
1517 1348
1518-[[package]]
1519-name = "der"
1520-version = "0.7.10"
1521-source = "registry+https://github.com/rust-lang/crates.io-index"
1522-checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
1523-dependencies = [
1524- "const-oid 0.9.6",
1525- "pem-rfc7468 0.7.0",
1526- "zeroize",
1527-]
1528-
1529 [[package]]1349 [[package]]
1530 name = "der"1350 name = "der"
1531 version = "0.8.3"1351 version = "0.8.3"
1532 source = "registry+https://github.com/rust-lang/crates.io-index"1352 source = "registry+https://github.com/rust-lang/crates.io-index"
1533 checksum = "6a996a108feb8b427a6e12fcf6af4aa83409b79d72c15337d7741368131ee004"1353 checksum = "6a996a108feb8b427a6e12fcf6af4aa83409b79d72c15337d7741368131ee004"
1534 dependencies = [1354 dependencies = [
1535- "const-oid 0.10.2",1355+ "const-oid",
1536- "pem-rfc7468 1.0.0",1356+ "pem-rfc7468",
1537 "zeroize",1357 "zeroize",
1538 ]1358 ]
1539 1359
@@ -1556,9 +1376,6 @@ name = "deranged"
1556 version = "0.5.9"1376 version = "0.5.9"
1557 source = "registry+https://github.com/rust-lang/crates.io-index"1377 source = "registry+https://github.com/rust-lang/crates.io-index"
1558 checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"1378 checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"
1559-dependencies = [
1560- "serde_core",
1561-]
1562 1379
1563 [[package]]1380 [[package]]
1564 name = "derive_builder"1381 name = "derive_builder"
@@ -1575,7 +1392,7 @@ version = "0.20.2"
1575 source = "registry+https://github.com/rust-lang/crates.io-index"1392 source = "registry+https://github.com/rust-lang/crates.io-index"
1576 checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8"1393 checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8"
1577 dependencies = [1394 dependencies = [
1578- "darling 0.20.11",1395+ "darling",
1579 "proc-macro2",1396 "proc-macro2",
1580 "quote",1397 "quote",
1581 "syn 2.0.119",1398 "syn 2.0.119",
@@ -1628,7 +1445,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1628 checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"1445 checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
1629 dependencies = [1446 dependencies = [
1630 "block-buffer 0.10.4",1447 "block-buffer 0.10.4",
1631- "const-oid 0.9.6",
1632 "crypto-common 0.1.7",1448 "crypto-common 0.1.7",
1633 "subtle",1449 "subtle",
1634 ]1450 ]
@@ -1640,7 +1456,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1640 checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"1456 checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
1641 dependencies = [1457 dependencies = [
1642 "block-buffer 0.12.1",1458 "block-buffer 0.12.1",
1643- "const-oid 0.10.2",1459+ "const-oid",
1644 "crypto-common 0.2.2",1460 "crypto-common 0.2.2",
1645 "ctutils",1461 "ctutils",
1646 ]1462 ]
@@ -1656,12 +1472,6 @@ dependencies = [
1656 "syn 3.0.9",1472 "syn 3.0.9",
1657 ]1473 ]
1658 1474
1659-[[package]]
1660-name = "downcast-rs"
1661-version = "2.0.2"
1662-source = "registry+https://github.com/rust-lang/crates.io-index"
1663-checksum = "117240f60069e65410b3ae1bb213295bd828f707b5bec6596a1afc8793ce0cbc"
1664-
1665 [[package]]1475 [[package]]
1666 name = "dtoa"1476 name = "dtoa"
1667 version = "1.0.11"1477 version = "1.0.11"
@@ -1683,64 +1493,29 @@ version = "1.0.5"
1683 source = "registry+https://github.com/rust-lang/crates.io-index"1493 source = "registry+https://github.com/rust-lang/crates.io-index"
1684 checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"1494 checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
1685 1495
1686-[[package]]
1687-name = "ecdsa"
1688-version = "0.16.9"
1689-source = "registry+https://github.com/rust-lang/crates.io-index"
1690-checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca"
1691-dependencies = [
1692- "der 0.7.10",
1693- "digest 0.10.7",
1694- "elliptic-curve 0.13.8",
1695- "rfc6979 0.4.0",
1696- "signature 2.2.0",
1697- "spki 0.7.3",
1698-]
1699-
1700 [[package]]1496 [[package]]
1701 name = "ecdsa"1497 name = "ecdsa"
1702 version = "0.17.0"1498 version = "0.17.0"
1703 source = "registry+https://github.com/rust-lang/crates.io-index"1499 source = "registry+https://github.com/rust-lang/crates.io-index"
1704 checksum = "c0681a4fc24c767085329728d8dfba959af91228aa4610cca4f8ce317ba46ae0"1500 checksum = "c0681a4fc24c767085329728d8dfba959af91228aa4610cca4f8ce317ba46ae0"
1705 dependencies = [1501 dependencies = [
1706- "der 0.8.3",1502+ "der",
1707 "digest 0.11.3",1503 "digest 0.11.3",
1708- "elliptic-curve 0.14.3",1504+ "elliptic-curve",
1709- "rfc6979 0.6.0",1505+ "rfc6979",
1710- "signature 3.0.0",1506+ "signature",
1711- "spki 0.8.1",1507+ "spki",
1712 "zeroize",1508 "zeroize",
1713 ]1509 ]
1714 1510
1715-[[package]]
1716-name = "ece-native"
1717-version = "0.5.0"
1718-source = "registry+https://github.com/rust-lang/crates.io-index"
1719-checksum = "6911cc97c62febd8cbcb2cb49ed21c58ccd418a80c43f20df4973ee08484e65d"
1720-dependencies = [
1721- "aes-gcm 0.10.3",
1722- "hkdf 0.12.4",
1723- "sha2 0.10.9",
1724-]
1725-
1726 [[package]]1511 [[package]]
1727 name = "ed25519"1512 name = "ed25519"
1728 version = "3.0.0"1513 version = "3.0.0"
1729 source = "registry+https://github.com/rust-lang/crates.io-index"1514 source = "registry+https://github.com/rust-lang/crates.io-index"
1730 checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a"1515 checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a"
1731 dependencies = [1516 dependencies = [
1732- "pkcs8 0.11.0",1517+ "pkcs8",
1733- "signature 3.0.0",1518+ "signature",
1734-]
1735-
1736-[[package]]
1737-name = "ed25519-compact"
1738-version = "2.6.0"
1739-source = "registry+https://github.com/rust-lang/crates.io-index"
1740-checksum = "1454db4f2edb7f0e8fe0c5b375b0c978fc63244cc9f010d160e417eb10139aa8"
1741-dependencies = [
1742- "ct-codecs",
1743- "getrandom 0.4.3",
1744 ]1519 ]
1745 1520
1746 [[package]]1521 [[package]]
@@ -1754,7 +1529,7 @@ dependencies = [
1754 "rand_core 0.10.1",1529 "rand_core 0.10.1",
1755 "serde",1530 "serde",
1756 "sha2 0.11.1",1531 "sha2 0.11.1",
1757- "signature 3.0.0",1532+ "signature",
1758 "subtle",1533 "subtle",
1759 "zeroize",1534 "zeroize",
1760 ]1535 ]
@@ -1771,45 +1546,24 @@ version = "1.19.0"
1771 source = "registry+https://github.com/rust-lang/crates.io-index"1546 source = "registry+https://github.com/rust-lang/crates.io-index"
1772 checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"1547 checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
1773 1548
1774-[[package]]
1775-name = "elliptic-curve"
1776-version = "0.13.8"
1777-source = "registry+https://github.com/rust-lang/crates.io-index"
1778-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
1779-dependencies = [
1780- "base16ct 0.2.0",
1781- "crypto-bigint 0.5.5",
1782- "digest 0.10.7",
1783- "ff 0.13.1",
1784- "generic-array 0.14.7",
1785- "group 0.13.0",
1786- "hkdf 0.12.4",
1787- "pem-rfc7468 0.7.0",
1788- "pkcs8 0.10.2",
1789- "rand_core 0.6.4",
1790- "sec1 0.7.3",
1791- "subtle",
1792- "zeroize",
1793-]
1794-
1795 [[package]]1549 [[package]]
1796 name = "elliptic-curve"1550 name = "elliptic-curve"
1797 version = "0.14.3"1551 version = "0.14.3"
1798 source = "registry+https://github.com/rust-lang/crates.io-index"1552 source = "registry+https://github.com/rust-lang/crates.io-index"
1799 checksum = "900f37e7e18d74a2347389af6cd69e3a30d5cc9e697f40004865679aa75e9c7c"1553 checksum = "900f37e7e18d74a2347389af6cd69e3a30d5cc9e697f40004865679aa75e9c7c"
1800 dependencies = [1554 dependencies = [
1801- "base16ct 1.0.0",1555+ "base16ct",
1802- "crypto-bigint 0.7.10",1556+ "crypto-bigint",
1803 "crypto-common 0.2.2",1557 "crypto-common 0.2.2",
1804 "digest 0.11.3",1558 "digest 0.11.3",
1805- "ff 0.14.0",1559+ "ff",
1806- "group 0.14.0",1560+ "group",
1807 "hkdf 0.13.0",1561 "hkdf 0.13.0",
1808 "hybrid-array",1562 "hybrid-array",
1809- "pem-rfc7468 1.0.0",1563+ "pem-rfc7468",
1810- "pkcs8 0.11.0",1564+ "pkcs8",
1811 "rand_core 0.10.1",1565 "rand_core 0.10.1",
1812- "sec1 0.8.1",1566+ "sec1",
1813 "subtle",1567 "subtle",
1814 "zeroize",1568 "zeroize",
1815 ]1569 ]
@@ -1906,17 +1660,6 @@ version = "1.0.3"
1906 source = "registry+https://github.com/rust-lang/crates.io-index"1660 source = "registry+https://github.com/rust-lang/crates.io-index"
1907 checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"1661 checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
1908 1662
1909-[[package]]
1910-name = "erased-serde"
1911-version = "0.4.11"
1912-source = "registry+https://github.com/rust-lang/crates.io-index"
1913-checksum = "1e59b668157f32d3459d4bd634861a06ffa2503a461ca5f0916b9f0252605e66"
1914-dependencies = [
1915- "serde",
1916- "serde_core",
1917- "typeid",
1918-]
1919-
1920 [[package]]1663 [[package]]
1921 name = "errno"1664 name = "errno"
1922 version = "0.3.14"1665 version = "0.3.14"
@@ -1924,7 +1667,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1924 checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"1667 checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
1925 dependencies = [1668 dependencies = [
1926 "libc",1669 "libc",
1927- "windows-sys 0.61.2",1670+ "windows-sys 0.52.0",
1928 ]1671 ]
1929 1672
1930 [[package]]1673 [[package]]
@@ -1955,12 +1698,6 @@ dependencies = [
1955 "siphasher",1698 "siphasher",
1956 ]1699 ]
1957 1700
1958-[[package]]
1959-name = "fastdivide"
1960-version = "0.4.2"
1961-source = "registry+https://github.com/rust-lang/crates.io-index"
1962-checksum = "9afc2bd4d5a73106dd53d10d73d3401c2f32730ba2c0b93ddb888a8983680471"
1963-
1964 [[package]]1701 [[package]]
1965 name = "faster-hex"1702 name = "faster-hex"
1966 version = "0.10.1"1703 version = "0.10.1"
@@ -2005,16 +1742,6 @@ dependencies = [
2005 "syn 3.0.9",1742 "syn 3.0.9",
2006 ]1743 ]
2007 1744
2008-[[package]]
2009-name = "ff"
2010-version = "0.13.1"
2011-source = "registry+https://github.com/rust-lang/crates.io-index"
2012-checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
2013-dependencies = [
2014- "rand_core 0.6.4",
2015- "subtle",
2016-]
2017-
2018 [[package]]1745 [[package]]
2019 name = "ff"1746 name = "ff"
2020 version = "0.14.0"1747 version = "0.14.0"
@@ -2070,12 +1797,6 @@ dependencies = [
2070 "zlib-rs",1797 "zlib-rs",
2071 ]1798 ]
2072 1799
2073-[[package]]
2074-name = "fmt2io"
2075-version = "1.0.0"
2076-source = "registry+https://github.com/rust-lang/crates.io-index"
2077-checksum = "6b6129284da9f7e5296cc22183a63f24300e945e297705dcc0672f7df01d62c8"
2078-
2079 [[package]]1800 [[package]]
2080 name = "fnv"1801 name = "fnv"
2081 version = "1.0.7"1802 version = "1.0.7"
@@ -2199,7 +1920,7 @@ dependencies = [
2199 "toml",1920 "toml",
2200 "tracing",1921 "tracing",
2201 "tracing-subscriber",1922 "tracing-subscriber",
2202- "zstd 0.14.3",1923+ "zstd",
2203 ]1924 ]
2204 1925
2205 [[package]]1926 [[package]]
@@ -2220,6 +1941,7 @@ dependencies = [
2220 name = "forge-web"1941 name = "forge-web"
2221 version = "0.1.0"1942 version = "0.1.0"
2222 dependencies = [1943 dependencies = [
1944+ "aes-gcm 0.11.1",
2223 "ammonia",1945 "ammonia",
2224 "async-compression",1946 "async-compression",
2225 "base64 0.23.1",1947 "base64 0.23.1",
@@ -2236,6 +1958,7 @@ dependencies = [
2236 "futures-util",1958 "futures-util",
2237 "grass",1959 "grass",
2238 "hex",1960 "hex",
1961+ "hkdf 0.13.0",
2239 "hmac 0.13.0",1962 "hmac 0.13.0",
2240 "http",1963 "http",
2241 "http-body",1964 "http-body",
@@ -2247,6 +1970,7 @@ dependencies = [
2247 "multer",1970 "multer",
2248 "nix 0.31.3",1971 "nix 0.31.3",
2249 "object_store",1972 "object_store",
1973+ "p256",
2250 "rand 0.10.3",1974 "rand 0.10.3",
2251 "reqwest",1975 "reqwest",
2252 "rpassword",1976 "rpassword",
@@ -2268,7 +1992,6 @@ dependencies = [
2268 "tracing",1992 "tracing",
2269 "tracing-subscriber",1993 "tracing-subscriber",
2270 "ulid",1994 "ulid",
2271- "web-push-native",
2272 "webauthn-authenticator-rs",1995 "webauthn-authenticator-rs",
2273 "webauthn-rs",1996 "webauthn-rs",
2274 "webauthn-rs-proto",1997 "webauthn-rs-proto",
@@ -2284,16 +2007,6 @@ dependencies = [
2284 "percent-encoding",2007 "percent-encoding",
2285 ]2008 ]
2286 2009
2287-[[package]]
2288-name = "fs4"
2289-version = "0.13.1"
2290-source = "registry+https://github.com/rust-lang/crates.io-index"
2291-checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4"
2292-dependencies = [
2293- "rustix 1.1.6",
2294- "windows-sys 0.59.0",
2295-]
2296-
2297 [[package]]2010 [[package]]
2298 name = "fs_extra"2011 name = "fs_extra"
2299 version = "1.3.0"2012 version = "1.3.0"
@@ -2432,7 +2145,6 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
2432 dependencies = [2145 dependencies = [
2433 "typenum",2146 "typenum",
2434 "version_check",2147 "version_check",
2435- "zeroize",
2436 ]2148 ]
2437 2149
2438 [[package]]2150 [[package]]
@@ -3355,24 +3067,13 @@ dependencies = [
3355 "rand 0.8.8",3067 "rand 0.8.8",
3356 ]3068 ]
3357 3069
3358-[[package]]
3359-name = "group"
3360-version = "0.13.0"
3361-source = "registry+https://github.com/rust-lang/crates.io-index"
3362-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
3363-dependencies = [
3364- "ff 0.13.1",
3365- "rand_core 0.6.4",
3366- "subtle",
3367-]
3368-
3369 [[package]]3070 [[package]]
3370 name = "group"3071 name = "group"
3371 version = "0.14.0"3072 version = "0.14.0"
3372 source = "registry+https://github.com/rust-lang/crates.io-index"3073 source = "registry+https://github.com/rust-lang/crates.io-index"
3373 checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"3074 checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4"
3374 dependencies = [3075 dependencies = [
3375- "ff 0.14.0",3076+ "ff",
3376 "rand_core 0.10.1",3077 "rand_core 0.10.1",
3377 "subtle",3078 "subtle",
3378 ]3079 ]
@@ -3518,33 +3219,6 @@ dependencies = [
3518 "digest 0.11.3",3219 "digest 0.11.3",
3519 ]3220 ]
3520 3221
3521-[[package]]
3522-name = "hmac-sha1-compact"
3523-version = "1.1.8"
3524-source = "registry+https://github.com/rust-lang/crates.io-index"
3525-checksum = "7ed9b23855291da44e7e84616e19dc0d969c3580e14ffa6b759f28775e26afc1"
3526-dependencies = [
3527- "digest 0.10.7",
3528-]
3529-
3530-[[package]]
3531-name = "hmac-sha256"
3532-version = "1.1.15"
3533-source = "registry+https://github.com/rust-lang/crates.io-index"
3534-checksum = "1ad320b3b96fb2a455a0726d16efe0a5afdbd34b71dea5bc53b05ea057714d4e"
3535-dependencies = [
3536- "digest 0.10.7",
3537-]
3538-
3539-[[package]]
3540-name = "hmac-sha512"
3541-version = "1.1.13"
3542-source = "registry+https://github.com/rust-lang/crates.io-index"
3543-checksum = "66de62217b456dfbbba2bed965a134a4df57c48f0eac4c772018aee528e72244"
3544-dependencies = [
3545- "digest 0.10.7",
3546-]
3547-
3548 [[package]]3222 [[package]]
3549 name = "home"3223 name = "home"
3550 version = "0.5.12"3224 version = "0.5.12"
@@ -3576,12 +3250,6 @@ dependencies = [
3576 "memchr",3250 "memchr",
3577 ]3251 ]
3578 3252
3579-[[package]]
3580-name = "htmlescape"
3581-version = "0.3.1"
3582-source = "registry+https://github.com/rust-lang/crates.io-index"
3583-checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163"
3584-
3585 [[package]]3253 [[package]]
3586 name = "http"3254 name = "http"
3587 version = "1.5.0"3255 version = "1.5.0"
@@ -4178,60 +3846,20 @@ dependencies = [
4178 ]3846 ]
4179 3847
4180 [[package]]3848 [[package]]
4181-name = "jwt-simple"3849+name = "keccak"
4182-version = "0.12.17"3850+version = "0.2.2"
4183 source = "registry+https://github.com/rust-lang/crates.io-index"3851 source = "registry+https://github.com/rust-lang/crates.io-index"
4184-checksum = "06a4207b9d1f423858853fb9ee8b34aebc2b661f3b446ca4efda46c4b3700a2f"3852+checksum = "d8f198d1db720e4940b5a493201d199d9f24f568f8f746bd13706243a2f71598"
4185 dependencies = [3853 dependencies = [
4186- "anyhow",3854+ "cfg-if",
4187- "binstring",3855+ "cpufeatures 0.3.1",
4188- "blake2b_simd",
4189- "coarsetime",
4190- "ct-codecs",
4191- "ed25519-compact",
4192- "hmac-sha1-compact",
4193- "hmac-sha256",
4194- "hmac-sha512",
4195- "k256",
4196- "p256 0.13.2",
4197- "p384 0.13.1",
4198- "rand 0.8.8",
4199- "serde",
4200- "serde_json",
4201- "superboring",
4202- "thiserror 2.0.21",
4203- "zeroize",
4204 ]3856 ]
4205 3857
4206 [[package]]3858 [[package]]
4207-name = "k256"3859+name = "kem"
4208-version = "0.13.4"3860+version = "0.3.0"
4209 source = "registry+https://github.com/rust-lang/crates.io-index"3861 source = "registry+https://github.com/rust-lang/crates.io-index"
4210-checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b"3862+checksum = "01737161ba802849cfd486b5bd209d38ba4943494c249a8126005170c7621edd"
4211-dependencies = [
4212- "cfg-if",
4213- "ecdsa 0.16.9",
4214- "elliptic-curve 0.13.8",
4215- "once_cell",
4216- "sha2 0.10.9",
4217- "signature 2.2.0",
4218-]
4219-
4220-[[package]]
4221-name = "keccak"
4222-version = "0.2.2"
4223-source = "registry+https://github.com/rust-lang/crates.io-index"
4224-checksum = "d8f198d1db720e4940b5a493201d199d9f24f568f8f746bd13706243a2f71598"
4225-dependencies = [
4226- "cfg-if",
4227- "cpufeatures 0.3.1",
4228-]
4229-
4230-[[package]]
4231-name = "kem"
4232-version = "0.3.0"
4233-source = "registry+https://github.com/rust-lang/crates.io-index"
4234-checksum = "01737161ba802849cfd486b5bd209d38ba4943494c249a8126005170c7621edd"
4235 dependencies = [3863 dependencies = [
4236 "crypto-common 0.2.2",3864 "crypto-common 0.2.2",
4237 "rand_core 0.10.1",3865 "rand_core 0.10.1",
@@ -4266,9 +3894,6 @@ name = "lazy_static"
4266 version = "1.5.1"3894 version = "1.5.1"
4267 source = "registry+https://github.com/rust-lang/crates.io-index"3895 source = "registry+https://github.com/rust-lang/crates.io-index"
4268 checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"3896 checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
4269-dependencies = [
4270- "spin 0.9.9",
4271-]
4272 3897
4273 [[package]]3898 [[package]]
4274 name = "lazycell"3899 name = "lazycell"
@@ -4304,12 +3929,6 @@ dependencies = [
4304 "webpki-roots",3929 "webpki-roots",
4305 ]3930 ]
4306 3931
4307-[[package]]
4308-name = "levenshtein_automata"
4309-version = "0.2.1"
4310-source = "registry+https://github.com/rust-lang/crates.io-index"
4311-checksum = "0c2cdeb66e45e9f36bfad5bbdb4d2384e70936afbee843c6f6543f0c551ebb25"
4312-
4313 [[package]]3932 [[package]]
4314 name = "libc"3933 name = "libc"
4315 version = "0.2.191"3934 version = "0.2.191"
@@ -4386,12 +4005,6 @@ dependencies = [
4386 "cc",4005 "cc",
4387 ]4006 ]
4388 4007
4389-[[package]]
4390-name = "linked-hash-map"
4391-version = "0.5.6"
4392-source = "registry+https://github.com/rust-lang/crates.io-index"
4393-checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
4394-
4395 [[package]]4008 [[package]]
4396 name = "linkme"4009 name = "linkme"
4397 version = "0.3.37"4010 version = "0.3.37"
@@ -4458,27 +4071,12 @@ dependencies = [
4458 "tracing-subscriber",4071 "tracing-subscriber",
4459 ]4072 ]
4460 4073
4461-[[package]]
4462-name = "lru"
4463-version = "0.16.4"
4464-source = "registry+https://github.com/rust-lang/crates.io-index"
4465-checksum = "7f66e8d5d03f609abc3a39e6f08e4164ebf1447a732906d39eb9b99b7919ef39"
4466-dependencies = [
4467- "hashbrown 0.16.1",
4468-]
4469-
4470 [[package]]4074 [[package]]
4471 name = "lru-slab"4075 name = "lru-slab"
4472 version = "0.1.3"4076 version = "0.1.3"
4473 source = "registry+https://github.com/rust-lang/crates.io-index"4077 source = "registry+https://github.com/rust-lang/crates.io-index"
4474 checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f"4078 checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f"
4475 4079
4476-[[package]]
4477-name = "lz4_flex"
4478-version = "0.13.1"
4479-source = "registry+https://github.com/rust-lang/crates.io-index"
4480-checksum = "7ef0d4ed8669f8f8826eb00dc878084aa8f253506c4fd5e8f58f5bce72ddb97e"
4481-
4482 [[package]]4080 [[package]]
4483 name = "maplit"4081 name = "maplit"
4484 version = "1.0.2"4082 version = "1.0.2"
@@ -4527,15 +4125,6 @@ version = "0.8.1"
4527 source = "registry+https://github.com/rust-lang/crates.io-index"4125 source = "registry+https://github.com/rust-lang/crates.io-index"
4528 checksum = "7ebb8d8732c6a6df3d8f032a82911cfc747e00efb95cc46e8d0acd5b5b88570c"4126 checksum = "7ebb8d8732c6a6df3d8f032a82911cfc747e00efb95cc46e8d0acd5b5b88570c"
4529 4127
4530-[[package]]
4531-name = "measure_time"
4532-version = "0.9.0"
4533-source = "registry+https://github.com/rust-lang/crates.io-index"
4534-checksum = "51c55d61e72fc3ab704396c5fa16f4c184db37978ae4e94ca8959693a235fc0e"
4535-dependencies = [
4536- "log",
4537-]
4538-
4539 [[package]]4128 [[package]]
4540 name = "memchr"4129 name = "memchr"
4541 version = "2.8.3"4130 version = "2.8.3"
@@ -4644,22 +4233,6 @@ dependencies = [
4644 "windows-sys 0.61.2",4233 "windows-sys 0.61.2",
4645 ]4234 ]
4646 4235
4647-[[package]]
4648-name = "ml-dsa"
4649-version = "0.1.1"
4650-source = "registry+https://github.com/rust-lang/crates.io-index"
4651-checksum = "add6b9d92e496f16f4526d68ff29da1483aba4b119baeab8bed3b9e3544a6f3d"
4652-dependencies = [
4653- "const-oid 0.10.2",
4654- "crypto-common 0.2.2",
4655- "ctutils",
4656- "hybrid-array",
4657- "module-lattice",
4658- "pkcs8 0.11.0",
4659- "shake",
4660- "signature 3.0.0",
4661-]
4662-
4663 [[package]]4236 [[package]]
4664 name = "ml-kem"4237 name = "ml-kem"
4665 version = "0.3.3"4238 version = "0.3.3"
@@ -4669,7 +4242,7 @@ dependencies = [
4669 "hybrid-array",4242 "hybrid-array",
4670 "kem",4243 "kem",
4671 "module-lattice",4244 "module-lattice",
4672- "pkcs8 0.11.0",4245+ "pkcs8",
4673 "rand_core 0.10.1",4246 "rand_core 0.10.1",
4674 "sha3",4247 "sha3",
4675 "shake",4248 "shake",
@@ -4719,12 +4292,6 @@ version = "1.0.0"
4719 source = "registry+https://github.com/rust-lang/crates.io-index"4292 source = "registry+https://github.com/rust-lang/crates.io-index"
4720 checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d"4293 checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d"
4721 4294
4722-[[package]]
4723-name = "murmurhash32"
4724-version = "0.3.1"
4725-source = "registry+https://github.com/rust-lang/crates.io-index"
4726-checksum = "2195bf6aa996a481483b29d62a7663eed3fe39600c460e323f8ff41e90bdd89b"
4727-
4728 [[package]]4295 [[package]]
4729 name = "nc"4296 name = "nc"
4730 version = "0.9.8"4297 version = "0.9.8"
@@ -4853,22 +4420,6 @@ dependencies = [
4853 "rand_core 0.10.1",4420 "rand_core 0.10.1",
4854 ]4421 ]
4855 4422
4856-[[package]]
4857-name = "num-bigint-dig"
4858-version = "0.8.6"
4859-source = "registry+https://github.com/rust-lang/crates.io-index"
4860-checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7"
4861-dependencies = [
4862- "lazy_static",
4863- "libm",
4864- "num-integer",
4865- "num-iter",
4866- "num-traits",
4867- "rand 0.8.8",
4868- "smallvec",
4869- "zeroize",
4870-]
4871-
4872 [[package]]4423 [[package]]
4873 name = "num-conv"4424 name = "num-conv"
4874 version = "0.2.2"4425 version = "0.2.2"
@@ -4895,16 +4446,6 @@ dependencies = [
4895 "num-traits",4446 "num-traits",
4896 ]4447 ]
4897 4448
4898-[[package]]
4899-name = "num-iter"
4900-version = "0.1.46"
4901-source = "registry+https://github.com/rust-lang/crates.io-index"
4902-checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b"
4903-dependencies = [
4904- "num-integer",
4905- "num-traits",
4906-]
4907-
4908 [[package]]4449 [[package]]
4909 name = "num-traits"4450 name = "num-traits"
4910 version = "0.2.19"4451 version = "0.2.19"
@@ -4912,7 +4453,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
4912 checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"4453 checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
4913 dependencies = [4454 dependencies = [
4914 "autocfg",4455 "autocfg",
4915- "libm",
4916 ]4456 ]
4917 4457
4918 [[package]]4458 [[package]]
@@ -4940,7 +4480,7 @@ dependencies = [
4940 "nix 0.31.3",4480 "nix 0.31.3",
4941 "parking_lot",4481 "parking_lot",
4942 "percent-encoding",4482 "percent-encoding",
4943- "quick-xml 0.41.0",4483+ "quick-xml",
4944 "rand 0.10.3",4484 "rand 0.10.3",
4945 "reqwest",4485 "reqwest",
4946 "rustls-pki-types",4486 "rustls-pki-types",
@@ -5032,34 +4572,6 @@ version = "1.70.2"
5032 source = "registry+https://github.com/rust-lang/crates.io-index"4572 source = "registry+https://github.com/rust-lang/crates.io-index"
5033 checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"4573 checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
5034 4574
5035-[[package]]
5036-name = "oneshot"
5037-version = "0.1.13"
5038-source = "registry+https://github.com/rust-lang/crates.io-index"
5039-checksum = "269bca4c2591a28585d6bf10d9ed0332b7d76900a1b02bec41bdc3a2cdcda107"
5040-
5041-[[package]]
5042-name = "onig"
5043-version = "6.5.3"
5044-source = "registry+https://github.com/rust-lang/crates.io-index"
5045-checksum = "0cc3cbf698f9438986c11a880c90a6d04b9de27575afd28bbf45b154b6c709e2"
5046-dependencies = [
5047- "bitflags 2.13.2",
5048- "libc",
5049- "once_cell",
5050- "onig_sys",
5051-]
5052-
5053-[[package]]
5054-name = "onig_sys"
5055-version = "69.9.3"
5056-source = "registry+https://github.com/rust-lang/crates.io-index"
5057-checksum = "1e68317604e77e53b85896388e1a803c1d21b74c899ec9e5e1112db90735edd7"
5058-dependencies = [
5059- "cc",
5060- "pkg-config",
5061-]
5062-
5063 [[package]]4575 [[package]]
5064 name = "opaque-debug"4576 name = "opaque-debug"
5065 version = "0.3.1"4577 version = "0.3.1"
@@ -5109,78 +4621,36 @@ dependencies = [
5109 "vcpkg",4621 "vcpkg",
5110 ]4622 ]
5111 4623
5112-[[package]]
5113-name = "ordered-float"
5114-version = "5.5.1"
5115-source = "registry+https://github.com/rust-lang/crates.io-index"
5116-checksum = "7f59006ce1e204c30956638535b74d317bca99477b9356dfaec54c37f6f600ab"
5117-dependencies = [
5118- "num-traits",
5119-]
5120-
5121-[[package]]
5122-name = "ownedbytes"
5123-version = "0.9.0"
5124-source = "registry+https://github.com/rust-lang/crates.io-index"
5125-checksum = "2fbd56f7631767e61784dc43f8580f403f4475bd4aaa4da003e6295e1bab4a7e"
5126-dependencies = [
5127- "stable_deref_trait",
5128-]
5129-
5130 [[package]]4624 [[package]]
5131 name = "owo-colors"4625 name = "owo-colors"
5132 version = "3.5.0"4626 version = "3.5.0"
5133 source = "registry+https://github.com/rust-lang/crates.io-index"4627 source = "registry+https://github.com/rust-lang/crates.io-index"
5134 checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"4628 checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
5135 4629
5136-[[package]]
5137-name = "p256"
5138-version = "0.13.2"
5139-source = "registry+https://github.com/rust-lang/crates.io-index"
5140-checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b"
5141-dependencies = [
5142- "ecdsa 0.16.9",
5143- "elliptic-curve 0.13.8",
5144- "primeorder 0.13.6",
5145- "sha2 0.10.9",
5146-]
5147-
5148 [[package]]4630 [[package]]
5149 name = "p256"4631 name = "p256"
5150 version = "0.14.0"4632 version = "0.14.0"
5151 source = "registry+https://github.com/rust-lang/crates.io-index"4633 source = "registry+https://github.com/rust-lang/crates.io-index"
5152 checksum = "d2c9239b2dbc807adbbe147e8cf72ea7450c3a0aabe62cb8e75ff4ec22e1f72a"4634 checksum = "d2c9239b2dbc807adbbe147e8cf72ea7450c3a0aabe62cb8e75ff4ec22e1f72a"
5153 dependencies = [4635 dependencies = [
5154- "ecdsa 0.17.0",4636+ "ecdsa",
5155- "elliptic-curve 0.14.3",4637+ "elliptic-curve",
5156 "primefield",4638 "primefield",
5157- "primeorder 0.14.0",4639+ "primeorder",
5158 "sha2 0.11.1",4640 "sha2 0.11.1",
5159 ]4641 ]
5160 4642
5161-[[package]]
5162-name = "p384"
5163-version = "0.13.1"
5164-source = "registry+https://github.com/rust-lang/crates.io-index"
5165-checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6"
5166-dependencies = [
5167- "ecdsa 0.16.9",
5168- "elliptic-curve 0.13.8",
5169- "primeorder 0.13.6",
5170- "sha2 0.10.9",
5171-]
5172-
5173 [[package]]4643 [[package]]
5174 name = "p384"4644 name = "p384"
5175 version = "0.14.0"4645 version = "0.14.0"
5176 source = "registry+https://github.com/rust-lang/crates.io-index"4646 source = "registry+https://github.com/rust-lang/crates.io-index"
5177 checksum = "d17b851e6b3e378ab4ecb07fa2ed23f4d15f075735f8fec9fa1e7bdce5f8301f"4647 checksum = "d17b851e6b3e378ab4ecb07fa2ed23f4d15f075735f8fec9fa1e7bdce5f8301f"
5178 dependencies = [4648 dependencies = [
5179- "ecdsa 0.17.0",4649+ "ecdsa",
5180- "elliptic-curve 0.14.3",4650+ "elliptic-curve",
5181 "fiat-crypto",4651 "fiat-crypto",
5182 "primefield",4652 "primefield",
5183- "primeorder 0.14.0",4653+ "primeorder",
5184 "sha2 0.11.1",4654 "sha2 0.11.1",
5185 ]4655 ]
5186 4656
@@ -5190,11 +4660,11 @@ version = "0.14.0"
5190 source = "registry+https://github.com/rust-lang/crates.io-index"4660 source = "registry+https://github.com/rust-lang/crates.io-index"
5191 checksum = "4ad64cc32c2dc466317c12ee5853e61f159f9eab1fe7efade0395dc2e7b43449"4661 checksum = "4ad64cc32c2dc466317c12ee5853e61f159f9eab1fe7efade0395dc2e7b43449"
5192 dependencies = [4662 dependencies = [
5193- "base16ct 1.0.0",4663+ "base16ct",
5194- "ecdsa 0.17.0",4664+ "ecdsa",
5195- "elliptic-curve 0.14.3",4665+ "elliptic-curve",
5196 "primefield",4666 "primefield",
5197- "primeorder 0.14.0",4667+ "primeorder",
5198 "sha2 0.11.1",4668 "sha2 0.11.1",
5199 ]4669 ]
5200 4670
@@ -5213,7 +4683,7 @@ version = "0.2.5"
5213 source = "registry+https://github.com/rust-lang/crates.io-index"4683 source = "registry+https://github.com/rust-lang/crates.io-index"
5214 checksum = "e0bc922d9aa8cfcf598de27b3c6122cb2eeda9d6fe71527a22ebcb7f633540ff"4684 checksum = "e0bc922d9aa8cfcf598de27b3c6122cb2eeda9d6fe71527a22ebcb7f633540ff"
5215 dependencies = [4685 dependencies = [
5216- "base16ct 1.0.0",4686+ "base16ct",
5217 "byteorder",4687 "byteorder",
5218 "bytes",4688 "bytes",
5219 "delegate",4689 "delegate",
@@ -5306,15 +4776,6 @@ dependencies = [
5306 "hmac 0.13.0",4776 "hmac 0.13.0",
5307 ]4777 ]
5308 4778
5309-[[package]]
5310-name = "pem-rfc7468"
5311-version = "0.7.0"
5312-source = "registry+https://github.com/rust-lang/crates.io-index"
5313-checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
5314-dependencies = [
5315- "base64ct",
5316-]
5317-
5318 [[package]]4779 [[package]]
5319 name = "pem-rfc7468"4780 name = "pem-rfc7468"
5320 version = "1.0.0"4781 version = "1.0.0"
@@ -5460,27 +4921,6 @@ version = "0.2.17"
5460 source = "registry+https://github.com/rust-lang/crates.io-index"4921 source = "registry+https://github.com/rust-lang/crates.io-index"
5461 checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"4922 checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
5462 4923
5463-[[package]]
5464-name = "pkcs1"
5465-version = "0.7.5"
5466-source = "registry+https://github.com/rust-lang/crates.io-index"
5467-checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f"
5468-dependencies = [
5469- "der 0.7.10",
5470- "pkcs8 0.10.2",
5471- "spki 0.7.3",
5472-]
5473-
5474-[[package]]
5475-name = "pkcs1"
5476-version = "0.8.0-rc.4"
5477-source = "registry+https://github.com/rust-lang/crates.io-index"
5478-checksum = "986d2e952779af96ea048f160fd9194e1751b4faea78bcf3ceb456efe008088e"
5479-dependencies = [
5480- "der 0.8.3",
5481- "spki 0.8.1",
5482-]
5483-
5484 [[package]]4924 [[package]]
5485 name = "pkcs5"4925 name = "pkcs5"
5486 version = "0.8.1"4926 version = "0.8.1"
@@ -5490,22 +4930,12 @@ dependencies = [
5490 "aes 0.9.3",4930 "aes 0.9.3",
5491 "aes-gcm 0.11.1",4931 "aes-gcm 0.11.1",
5492 "cbc",4932 "cbc",
5493- "der 0.8.3",4933+ "der",
5494 "pbkdf2",4934 "pbkdf2",
5495 "rand_core 0.10.1",4935 "rand_core 0.10.1",
5496 "scrypt",4936 "scrypt",
5497 "sha2 0.11.1",4937 "sha2 0.11.1",
5498- "spki 0.8.1",4938+ "spki",
5499-]
5500-
5501-[[package]]
5502-name = "pkcs8"
5503-version = "0.10.2"
5504-source = "registry+https://github.com/rust-lang/crates.io-index"
5505-checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
5506-dependencies = [
5507- "der 0.7.10",
5508- "spki 0.7.3",
5509 ]4939 ]
5510 4940
5511 [[package]]4941 [[package]]
@@ -5514,10 +4944,10 @@ version = "0.11.0"
5514 source = "registry+https://github.com/rust-lang/crates.io-index"4944 source = "registry+https://github.com/rust-lang/crates.io-index"
5515 checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7"4945 checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7"
5516 dependencies = [4946 dependencies = [
5517- "der 0.8.3",4947+ "der",
5518 "pkcs5",4948 "pkcs5",
5519 "rand_core 0.10.1",4949 "rand_core 0.10.1",
5520- "spki 0.8.1",4950+ "spki",
5521 ]4951 ]
5522 4952
5523 [[package]]4953 [[package]]
@@ -5526,19 +4956,6 @@ version = "0.3.34"
5526 source = "registry+https://github.com/rust-lang/crates.io-index"4956 source = "registry+https://github.com/rust-lang/crates.io-index"
5527 checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"4957 checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
5528 4958
5529-[[package]]
5530-name = "plist"
5531-version = "1.10.3"
5532-source = "registry+https://github.com/rust-lang/crates.io-index"
5533-checksum = "327a4cb2ad49dc48adfdc9da89e22c64d488b508c67a044d71ba729e4521a285"
5534-dependencies = [
5535- "base64 0.23.1",
5536- "indexmap",
5537- "quick-xml 0.42.0",
5538- "serde",
5539- "time",
5540-]
5541-
5542 [[package]]4959 [[package]]
5543 name = "png"4960 name = "png"
5544 version = "0.18.1"4961 version = "0.18.1"
@@ -5668,46 +5085,27 @@ dependencies = [
5668 "syn 2.0.119",5085 "syn 2.0.119",
5669 ]5086 ]
5670 5087
5671-[[package]]
5672-name = "prettyplease"
5673-version = "0.3.0"
5674-source = "registry+https://github.com/rust-lang/crates.io-index"
5675-checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0"
5676-dependencies = [
5677- "proc-macro2",
5678- "syn 3.0.9",
5679-]
5680-
5681 [[package]]5088 [[package]]
5682 name = "primefield"5089 name = "primefield"
5683 version = "0.14.0"5090 version = "0.14.0"
5684 source = "registry+https://github.com/rust-lang/crates.io-index"5091 source = "registry+https://github.com/rust-lang/crates.io-index"
5685 checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"5092 checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4"
5686 dependencies = [5093 dependencies = [
5687- "crypto-bigint 0.7.10",5094+ "crypto-bigint",
5688 "crypto-common 0.2.2",5095 "crypto-common 0.2.2",
5689- "ff 0.14.0",5096+ "ff",
5690 "rand_core 0.10.1",5097 "rand_core 0.10.1",
5691 "subtle",5098 "subtle",
5692 "zeroize",5099 "zeroize",
5693 ]5100 ]
5694 5101
5695-[[package]]
5696-name = "primeorder"
5697-version = "0.13.6"
5698-source = "registry+https://github.com/rust-lang/crates.io-index"
5699-checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6"
5700-dependencies = [
5701- "elliptic-curve 0.13.8",
5702-]
5703-
5704 [[package]]5102 [[package]]
5705 name = "primeorder"5103 name = "primeorder"
5706 version = "0.14.0"5104 version = "0.14.0"
5707 source = "registry+https://github.com/rust-lang/crates.io-index"5105 source = "registry+https://github.com/rust-lang/crates.io-index"
5708 checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"5106 checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06"
5709 dependencies = [5107 dependencies = [
5710- "elliptic-curve 0.14.3",5108+ "elliptic-curve",
5711 "once_cell",5109 "once_cell",
5712 "primefield",5110 "primefield",
5713 "serdect",5111 "serdect",
@@ -5861,15 +5259,6 @@ dependencies = [
5861 "serde",5259 "serde",
5862 ]5260 ]
5863 5261
5864-[[package]]
5865-name = "quick-xml"
5866-version = "0.42.0"
5867-source = "registry+https://github.com/rust-lang/crates.io-index"
5868-checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b"
5869-dependencies = [
5870- "memchr",
5871-]
5872-
5873 [[package]]5262 [[package]]
5874 name = "quinn"5263 name = "quinn"
5875 version = "0.11.12"5264 version = "0.11.12"
@@ -5924,7 +5313,7 @@ dependencies = [
5924 "once_cell",5313 "once_cell",
5925 "socket2",5314 "socket2",
5926 "tracing",5315 "tracing",
5927- "windows-sys 0.61.2",5316+ "windows-sys 0.52.0",
5928 ]5317 ]
5929 5318
5930 [[package]]5319 [[package]]
@@ -6063,26 +5452,6 @@ dependencies = [
6063 "rustversion",5452 "rustversion",
6064 ]5453 ]
6065 5454
6066-[[package]]
6067-name = "rayon"
6068-version = "1.12.0"
6069-source = "registry+https://github.com/rust-lang/crates.io-index"
6070-checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
6071-dependencies = [
6072- "either",
6073- "rayon-core",
6074-]
6075-
6076-[[package]]
6077-name = "rayon-core"
6078-version = "1.13.0"
6079-source = "registry+https://github.com/rust-lang/crates.io-index"
6080-checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
6081-dependencies = [
6082- "crossbeam-deque",
6083- "crossbeam-utils",
6084-]
6085-
6086 [[package]]5455 [[package]]
6087 name = "redox_syscall"5456 name = "redox_syscall"
6088 version = "0.5.18"5457 version = "0.5.18"
@@ -6183,23 +5552,13 @@ dependencies = [
6183 "web-sys",5552 "web-sys",
6184 ]5553 ]
6185 5554
6186-[[package]]
6187-name = "rfc6979"
6188-version = "0.4.0"
6189-source = "registry+https://github.com/rust-lang/crates.io-index"
6190-checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
6191-dependencies = [
6192- "hmac 0.12.1",
6193- "subtle",
6194-]
6195-
6196 [[package]]5555 [[package]]
6197 name = "rfc6979"5556 name = "rfc6979"
6198 version = "0.6.0"5557 version = "0.6.0"
6199 source = "registry+https://github.com/rust-lang/crates.io-index"5558 source = "registry+https://github.com/rust-lang/crates.io-index"
6200 checksum = "b4a459cddafb3fe76b31fd8f1108007566c40301feb64dc7b54656eb7388172b"5559 checksum = "b4a459cddafb3fe76b31fd8f1108007566c40301feb64dc7b54656eb7388172b"
6201 dependencies = [5560 dependencies = [
6202- "crypto-bigint 0.7.10",5561+ "crypto-bigint",
6203 "hmac 0.13.0",5562 "hmac 0.13.0",
6204 ]5563 ]
6205 5564
@@ -6238,46 +5597,6 @@ dependencies = [
6238 "windows-sys 0.61.2",5597 "windows-sys 0.61.2",
6239 ]5598 ]
6240 5599
6241-[[package]]
6242-name = "rsa"
6243-version = "0.9.10"
6244-source = "registry+https://github.com/rust-lang/crates.io-index"
6245-checksum = "b8573f03f5883dcaebdfcf4725caa1ecb9c15b2ef50c43a07b816e06799bb12d"
6246-dependencies = [
6247- "const-oid 0.9.6",
6248- "digest 0.10.7",
6249- "num-bigint-dig",
6250- "num-integer",
6251- "num-traits",
6252- "pkcs1 0.7.5",
6253- "pkcs8 0.10.2",
6254- "rand_core 0.6.4",
6255- "sha2 0.10.9",
6256- "signature 2.2.0",
6257- "spki 0.7.3",
6258- "subtle",
6259- "zeroize",
6260-]
6261-
6262-[[package]]
6263-name = "rsa"
6264-version = "0.10.0-rc.18"
6265-source = "registry+https://github.com/rust-lang/crates.io-index"
6266-checksum = "30b2aa4ba0d89f73d1e332df05be0eeab8840351c36ca5654341dfdb57bb3caf"
6267-dependencies = [
6268- "const-oid 0.10.2",
6269- "crypto-bigint 0.7.10",
6270- "crypto-primes",
6271- "digest 0.11.3",
6272- "pkcs1 0.8.0-rc.4",
6273- "pkcs8 0.11.0",
6274- "rand_core 0.10.1",
6275- "sha2 0.11.1",
6276- "signature 3.0.0",
6277- "spki 0.8.1",
6278- "zeroize",
6279-]
6280-
6281 [[package]]5600 [[package]]
6282 name = "rtoolbox"5601 name = "rtoolbox"
6283 version = "0.0.6"5602 version = "0.0.6"
@@ -6302,16 +5621,16 @@ dependencies = [
6302 "bytes",5621 "bytes",
6303 "cbc",5622 "cbc",
6304 "cipher 0.5.2",5623 "cipher 0.5.2",
6305- "crypto-bigint 0.7.10",5624+ "crypto-bigint",
6306 "ctr 0.10.1",5625 "ctr 0.10.1",
6307 "curve25519-dalek",5626 "curve25519-dalek",
6308 "data-encoding",5627 "data-encoding",
6309 "delegate",5628 "delegate",
6310- "der 0.8.3",5629+ "der",
6311 "digest 0.11.3",5630 "digest 0.11.3",
6312- "ecdsa 0.17.0",5631+ "ecdsa",
6313 "ed25519-dalek",5632 "ed25519-dalek",
6314- "elliptic-curve 0.14.3",5633+ "elliptic-curve",
6315 "enum_dispatch",5634 "enum_dispatch",
6316 "flate2",5635 "flate2",
6317 "futures",5636 "futures",
@@ -6327,28 +5646,26 @@ dependencies = [
6327 "ml-kem",5646 "ml-kem",
6328 "module-lattice",5647 "module-lattice",
6329 "num-bigint 0.5.1",5648 "num-bigint 0.5.1",
6330- "p256 0.14.0",5649+ "p256",
6331- "p384 0.14.0",5650+ "p384",
6332 "p521",5651 "p521",
6333 "pageant",5652 "pageant",
6334 "pbkdf2",5653 "pbkdf2",
6335- "pkcs1 0.8.0-rc.4",
6336 "pkcs5",5654 "pkcs5",
6337- "pkcs8 0.11.0",5655+ "pkcs8",
6338 "polyval 0.7.3",5656 "polyval 0.7.3",
6339 "rand 0.10.3",5657 "rand 0.10.3",
6340 "rand_core 0.10.1",5658 "rand_core 0.10.1",
6341- "rsa 0.10.0-rc.18",
6342 "russh-cryptovec",5659 "russh-cryptovec",
6343 "russh-util",5660 "russh-util",
6344 "salsa20",5661 "salsa20",
6345 "scrypt",5662 "scrypt",
6346- "sec1 0.8.1",5663+ "sec1",
6347 "sha1 0.11.0",5664 "sha1 0.11.0",
6348 "sha2 0.11.1",5665 "sha2 0.11.1",
6349 "sha3",5666 "sha3",
6350- "signature 3.0.0",5667+ "signature",
6351- "spki 0.8.1",5668+ "spki",
6352 "ssh-encoding",5669 "ssh-encoding",
6353 "ssh-key",5670 "ssh-key",
6354 "subtle",5671 "subtle",
@@ -6395,16 +5712,6 @@ dependencies = [
6395 "thiserror 2.0.21",5712 "thiserror 2.0.21",
6396 ]5713 ]
6397 5714
6398-[[package]]
6399-name = "rust-stemmers"
6400-version = "1.2.0"
6401-source = "registry+https://github.com/rust-lang/crates.io-index"
6402-checksum = "e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54"
6403-dependencies = [
6404- "serde",
6405- "serde_derive",
6406-]
6407-
6408 [[package]]5715 [[package]]
6409 name = "rustc-hash"5716 name = "rustc-hash"
6410 version = "1.1.0"5717 version = "1.1.0"
@@ -6455,7 +5762,7 @@ dependencies = [
6455 "errno",5762 "errno",
6456 "libc",5763 "libc",
6457 "linux-raw-sys 0.4.15",5764 "linux-raw-sys 0.4.15",
6458- "windows-sys 0.59.0",5765+ "windows-sys 0.52.0",
6459 ]5766 ]
6460 5767
6461 [[package]]5768 [[package]]
@@ -6468,7 +5775,7 @@ dependencies = [
6468 "errno",5775 "errno",
6469 "libc",5776 "libc",
6470 "linux-raw-sys 0.12.1",5777 "linux-raw-sys 0.12.1",
6471- "windows-sys 0.61.2",5778+ "windows-sys 0.52.0",
6472 ]5779 ]
6473 5780
6474 [[package]]5781 [[package]]
@@ -6527,7 +5834,7 @@ dependencies = [
6527 "security-framework",5834 "security-framework",
6528 "security-framework-sys",5835 "security-framework-sys",
6529 "webpki-root-certs",5836 "webpki-root-certs",
6530- "windows-sys 0.61.2",5837+ "windows-sys 0.52.0",
6531 ]5838 ]
6532 5839
6533 [[package]]5840 [[package]]
@@ -6635,29 +5942,15 @@ dependencies = [
6635 "sha2 0.11.1",5942 "sha2 0.11.1",
6636 ]5943 ]
6637 5944
6638-[[package]]
6639-name = "sec1"
6640-version = "0.7.3"
6641-source = "registry+https://github.com/rust-lang/crates.io-index"
6642-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
6643-dependencies = [
6644- "base16ct 0.2.0",
6645- "der 0.7.10",
6646- "generic-array 0.14.7",
6647- "pkcs8 0.10.2",
6648- "subtle",
6649- "zeroize",
6650-]
6651-
6652 [[package]]5945 [[package]]
6653 name = "sec1"5946 name = "sec1"
6654 version = "0.8.1"5947 version = "0.8.1"
6655 source = "registry+https://github.com/rust-lang/crates.io-index"5948 source = "registry+https://github.com/rust-lang/crates.io-index"
6656 checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"5949 checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d"
6657 dependencies = [5950 dependencies = [
6658- "base16ct 1.0.0",5951+ "base16ct",
6659 "ctutils",5952 "ctutils",
6660- "der 0.8.3",5953+ "der",
6661 "hybrid-array",5954 "hybrid-array",
6662 "subtle",5955 "subtle",
6663 "zeroize",5956 "zeroize",
@@ -6831,7 +6124,7 @@ version = "0.4.3"
6831 source = "registry+https://github.com/rust-lang/crates.io-index"6124 source = "registry+https://github.com/rust-lang/crates.io-index"
6832 checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e"6125 checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e"
6833 dependencies = [6126 dependencies = [
6834- "base16ct 1.0.0",6127+ "base16ct",
6835 "serde",6128 "serde",
6836 ]6129 ]
6837 6130
@@ -6931,12 +6224,6 @@ dependencies = [
6931 "lazy_static",6224 "lazy_static",
6932 ]6225 ]
6933 6226
6934-[[package]]
6935-name = "shell-words"
6936-version = "1.1.1"
6937-source = "registry+https://github.com/rust-lang/crates.io-index"
6938-checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
6939-
6940 [[package]]6227 [[package]]
6941 name = "shlex"6228 name = "shlex"
6942 version = "1.3.0"6229 version = "1.3.0"
@@ -6989,16 +6276,6 @@ dependencies = [
6989 "libc",6276 "libc",
6990 ]6277 ]
6991 6278
6992-[[package]]
6993-name = "signature"
6994-version = "2.2.0"
6995-source = "registry+https://github.com/rust-lang/crates.io-index"
6996-checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
6997-dependencies = [
6998- "digest 0.10.7",
6999- "rand_core 0.6.4",
7000-]
7001-
7002 [[package]]6279 [[package]]
7003 name = "signature"6280 name = "signature"
7004 version = "3.0.0"6281 version = "3.0.0"
@@ -7055,15 +6332,6 @@ version = "1.0.4"
7055 source = "registry+https://github.com/rust-lang/crates.io-index"6332 source = "registry+https://github.com/rust-lang/crates.io-index"
7056 checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"6333 checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"
7057 6334
7058-[[package]]
7059-name = "sketches-ddsketch"
7060-version = "0.4.2"
7061-source = "registry+https://github.com/rust-lang/crates.io-index"
7062-checksum = "e53e2f8d4e9c692f23a90208fad6a64862f413e286d533f1f649f160e2d5caee"
7063-dependencies = [
7064- "serde",
7065-]
7066-
7067 [[package]]6335 [[package]]
7068 name = "slab"6336 name = "slab"
7069 version = "0.4.12"6337 version = "0.4.12"
@@ -7104,16 +6372,6 @@ version = "0.10.1"
7104 source = "registry+https://github.com/rust-lang/crates.io-index"6372 source = "registry+https://github.com/rust-lang/crates.io-index"
7105 checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3"6373 checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3"
7106 6374
7107-[[package]]
7108-name = "spki"
7109-version = "0.7.3"
7110-source = "registry+https://github.com/rust-lang/crates.io-index"
7111-checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
7112-dependencies = [
7113- "base64ct",
7114- "der 0.7.10",
7115-]
7116-
7117 [[package]]6375 [[package]]
7118 name = "spki"6376 name = "spki"
7119 version = "0.8.1"6377 version = "0.8.1"
@@ -7121,7 +6379,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
7121 checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9"6379 checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9"
7122 dependencies = [6380 dependencies = [
7123 "base64ct",6381 "base64ct",
7124- "der 0.8.3",6382+ "der",
7125 ]6383 ]
7126 6384
7127 [[package]]6385 [[package]]
@@ -7156,10 +6414,9 @@ checksum = "7b54d0ed0498daf3f78d82e00e28c8eec9d75a067c4cfbcc7a0f7d0f4077749e"
7156 dependencies = [6414 dependencies = [
7157 "base64ct",6415 "base64ct",
7158 "bytes",6416 "bytes",
7159- "crypto-bigint 0.7.10",
7160 "ctutils",6417 "ctutils",
7161 "digest 0.11.3",6418 "digest 0.11.3",
7162- "pem-rfc7468 1.0.0",6419+ "pem-rfc7468",
7163 "zeroize",6420 "zeroize",
7164 ]6421 ]
7165 6422
@@ -7175,15 +6432,14 @@ dependencies = [
7175 "ed25519-dalek",6432 "ed25519-dalek",
7176 "hex",6433 "hex",
7177 "hmac 0.13.0",6434 "hmac 0.13.0",
7178- "p256 0.14.0",6435+ "p256",
7179- "p384 0.14.0",6436+ "p384",
7180 "p521",6437 "p521",
7181 "rand_core 0.10.1",6438 "rand_core 0.10.1",
7182- "rsa 0.10.0-rc.18",6439+ "sec1",
7183- "sec1 0.8.1",
7184 "sha1 0.11.0",6440 "sha1 0.11.0",
7185 "sha2 0.11.1",6441 "sha2 0.11.1",
7186- "signature 3.0.0",6442+ "signature",
7187 "ssh-cipher",6443 "ssh-cipher",
7188 "ssh-encoding",6444 "ssh-encoding",
7189 "zeroize",6445 "zeroize",
@@ -7280,24 +6536,6 @@ version = "2.6.1"
7280 source = "registry+https://github.com/rust-lang/crates.io-index"6536 source = "registry+https://github.com/rust-lang/crates.io-index"
7281 checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"6537 checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
7282 6538
7283-[[package]]
7284-name = "superboring"
7285-version = "0.1.17"
7286-source = "registry+https://github.com/rust-lang/crates.io-index"
7287-checksum = "19706eb9c165c3c27117e8795678015277188647b03db4f7cbf9df98048e09a6"
7288-dependencies = [
7289- "aes-gcm 0.11.1",
7290- "aes-keywrap",
7291- "getrandom 0.2.17",
7292- "getrandom 0.4.3",
7293- "hmac-sha1-compact",
7294- "hmac-sha256",
7295- "hmac-sha512",
7296- "ml-dsa",
7297- "rand 0.8.8",
7298- "rsa 0.9.10",
7299-]
7300-
7301 [[package]]6539 [[package]]
7302 name = "symlink"6540 name = "symlink"
7303 version = "0.1.0"6541 version = "0.1.0"
@@ -7368,163 +6606,11 @@ dependencies = [
7368 "flate2",6606 "flate2",
7369 "fnv",6607 "fnv",
7370 "once_cell",6608 "once_cell",
7371- "onig",
7372- "plist",
7373 "regex-syntax",6609 "regex-syntax",
7374 "serde",6610 "serde",
7375 "serde_derive",6611 "serde_derive",
7376- "serde_json",
7377 "thiserror 2.0.21",6612 "thiserror 2.0.21",
7378 "walkdir",6613 "walkdir",
7379- "yaml-rust",
7380-]
7381-
7382-[[package]]
7383-name = "tantivy"
7384-version = "0.26.2"
7385-source = "registry+https://github.com/rust-lang/crates.io-index"
7386-checksum = "861facfabd71044968f364837f9a083b56464ba5a59079f88706ee5c451ca069"
7387-dependencies = [
7388- "aho-corasick",
7389- "arc-swap",
7390- "base64 0.22.1",
7391- "bitpacking",
7392- "bon",
7393- "byteorder",
7394- "census",
7395- "crc32fast",
7396- "crossbeam-channel",
7397- "datasketches",
7398- "downcast-rs",
7399- "fastdivide",
7400- "fnv",
7401- "fs4",
7402- "htmlescape",
7403- "itertools 0.14.0",
7404- "levenshtein_automata",
7405- "log",
7406- "lru",
7407- "lz4_flex",
7408- "measure_time",
7409- "memmap2",
7410- "once_cell",
7411- "oneshot",
7412- "rayon",
7413- "regex",
7414- "rust-stemmers",
7415- "rustc-hash 2.1.3",
7416- "serde",
7417- "serde_json",
7418- "sketches-ddsketch",
7419- "smallvec",
7420- "tantivy-bitpacker",
7421- "tantivy-columnar",
7422- "tantivy-common",
7423- "tantivy-fst",
7424- "tantivy-query-grammar",
7425- "tantivy-stacker",
7426- "tantivy-tokenizer-api",
7427- "tempfile",
7428- "thiserror 2.0.21",
7429- "time",
7430- "typetag",
7431- "uuid",
7432- "winapi",
7433-]
7434-
7435-[[package]]
7436-name = "tantivy-bitpacker"
7437-version = "0.10.0"
7438-source = "registry+https://github.com/rust-lang/crates.io-index"
7439-checksum = "4fed3d674429bcd2de5d0a6d1aa5495fed8afd9c5ecce993019caf7615f53fa4"
7440-dependencies = [
7441- "bitpacking",
7442-]
7443-
7444-[[package]]
7445-name = "tantivy-columnar"
7446-version = "0.7.0"
7447-source = "registry+https://github.com/rust-lang/crates.io-index"
7448-checksum = "c57166f5bcfd478f370ab8445afb4678dce44801fa5ce5c451aaf8595583c5dc"
7449-dependencies = [
7450- "downcast-rs",
7451- "fastdivide",
7452- "itertools 0.14.0",
7453- "serde",
7454- "tantivy-bitpacker",
7455- "tantivy-common",
7456- "tantivy-sstable",
7457- "tantivy-stacker",
7458-]
7459-
7460-[[package]]
7461-name = "tantivy-common"
7462-version = "0.11.0"
7463-source = "registry+https://github.com/rust-lang/crates.io-index"
7464-checksum = "bbf10915aa75da3c3b0d58b58853d2e889efbaf32d4982a4c3715dde6bba23e5"
7465-dependencies = [
7466- "async-trait",
7467- "byteorder",
7468- "ownedbytes",
7469- "serde",
7470- "time",
7471-]
7472-
7473-[[package]]
7474-name = "tantivy-fst"
7475-version = "0.5.0"
7476-source = "registry+https://github.com/rust-lang/crates.io-index"
7477-checksum = "d60769b80ad7953d8a7b2c70cdfe722bbcdcac6bccc8ac934c40c034d866fc18"
7478-dependencies = [
7479- "byteorder",
7480- "regex-syntax",
7481- "utf8-ranges",
7482-]
7483-
7484-[[package]]
7485-name = "tantivy-query-grammar"
7486-version = "0.26.0"
7487-source = "registry+https://github.com/rust-lang/crates.io-index"
7488-checksum = "dfadb8526b6da90704feb293b0701a6aae62ea14983143344be2dc5ce30f1d82"
7489-dependencies = [
7490- "fnv",
7491- "nom 7.1.3",
7492- "ordered-float",
7493- "serde",
7494- "serde_json",
7495-]
7496-
7497-[[package]]
7498-name = "tantivy-sstable"
7499-version = "0.7.0"
7500-source = "registry+https://github.com/rust-lang/crates.io-index"
7501-checksum = "8a2cfc3ac5164cbadc28965ffb145a8f47582a60ae5897859ad8d4316596c606"
7502-dependencies = [
7503- "futures-util",
7504- "itertools 0.14.0",
7505- "tantivy-bitpacker",
7506- "tantivy-common",
7507- "tantivy-fst",
7508- "zstd 0.13.3",
7509-]
7510-
7511-[[package]]
7512-name = "tantivy-stacker"
7513-version = "0.7.0"
7514-source = "registry+https://github.com/rust-lang/crates.io-index"
7515-checksum = "6cbb051742da9d53ca9e8fff43a9b10e319338b24e2c0e15d0372df19ffeb951"
7516-dependencies = [
7517- "murmurhash32",
7518- "tantivy-common",
7519-]
7520-
7521-[[package]]
7522-name = "tantivy-tokenizer-api"
7523-version = "0.7.0"
7524-source = "registry+https://github.com/rust-lang/crates.io-index"
7525-checksum = "eac258c2c6390673f2685813afeeafcb8c4e0ee7de8dd3fc46838dcc37263f98"
7526-dependencies = [
7527- "serde",
7528 ]6614 ]
7529 6615
7530 [[package]]6616 [[package]]
@@ -7554,7 +6640,7 @@ dependencies = [
7554 "getrandom 0.4.3",6640 "getrandom 0.4.3",
7555 "once_cell",6641 "once_cell",
7556 "rustix 1.1.6",6642 "rustix 1.1.6",
7557- "windows-sys 0.61.2",6643+ "windows-sys 0.52.0",
7558 ]6644 ]
7559 6645
7560 [[package]]6646 [[package]]
@@ -7566,16 +6652,6 @@ dependencies = [
7566 "new_debug_unreachable",6652 "new_debug_unreachable",
7567 ]6653 ]
7568 6654
7569-[[package]]
7570-name = "terminal_size"
7571-version = "0.4.4"
7572-source = "registry+https://github.com/rust-lang/crates.io-index"
7573-checksum = "230a1b821ccbd75b185820a1f1ff7b14d21da1e442e22c0863ea5f08771a8874"
7574-dependencies = [
7575- "rustix 1.1.6",
7576- "windows-sys 0.61.2",
7577-]
7578-
7579 [[package]]6655 [[package]]
7580 name = "thiserror"6656 name = "thiserror"
7581 version = "1.0.69"6657 version = "1.0.69"
@@ -8295,9 +7371,9 @@ dependencies = [
8295 7371
8296 [[package]]7372 [[package]]
8297 name = "turso"7373 name = "turso"
8298-version = "0.8.3"7374+version = "0.9.0-pre.2"
8299 source = "registry+https://github.com/rust-lang/crates.io-index"7375 source = "registry+https://github.com/rust-lang/crates.io-index"
8300-checksum = "f1cf9c519a3a971e845a42c870930557cb53c2368c5737d4c78f8fbfd0444e98"7376+checksum = "d308610533718bedd1cf6684672b8ca70fd8cacdc6b51cfb32a58c7a1d0f3a3a"
8301 dependencies = [7377 dependencies = [
8302 "mimalloc",7378 "mimalloc",
8303 "thiserror 2.0.21",7379 "thiserror 2.0.21",
@@ -8310,9 +7386,9 @@ dependencies = [
8310 7386
8311 [[package]]7387 [[package]]
8312 name = "turso_core"7388 name = "turso_core"
8313-version = "0.8.3"7389+version = "0.9.0-pre.2"
8314 source = "registry+https://github.com/rust-lang/crates.io-index"7390 source = "registry+https://github.com/rust-lang/crates.io-index"
8315-checksum = "810ee7b139fd6aa9304cb2fa278c1be0bb964c92457e2a24c1d384196ce5e217"7391+checksum = "488d9ce9131998e65b990e0a88316164a2a71f542592290bae3eba8921b20b90"
8316 dependencies = [7392 dependencies = [
8317 "aegis",7393 "aegis",
8318 "aes 0.8.4",7394 "aes 0.8.4",
@@ -8330,7 +7406,6 @@ dependencies = [
8330 "cfg_block",7406 "cfg_block",
8331 "chrono",7407 "chrono",
8332 "crc32c",7408 "crc32c",
8333- "crc32fast",
8334 "crossbeam-epoch",7409 "crossbeam-epoch",
8335 "crossbeam-utils",7410 "crossbeam-utils",
8336 "either",7411 "either",
@@ -8369,7 +7444,6 @@ dependencies = [
8369 "smallvec",7444 "smallvec",
8370 "strum 0.26.3",7445 "strum 0.26.3",
8371 "strum_macros 0.26.4",7446 "strum_macros 0.26.4",
8372- "tantivy",
8373 "tempfile",7447 "tempfile",
8374 "thiserror 2.0.21",7448 "thiserror 2.0.21",
8375 "tracing",7449 "tracing",
@@ -8385,9 +7459,9 @@ dependencies = [
8385 7459
8386 [[package]]7460 [[package]]
8387 name = "turso_ext"7461 name = "turso_ext"
8388-version = "0.8.3"7462+version = "0.9.0-pre.2"
8389 source = "registry+https://github.com/rust-lang/crates.io-index"7463 source = "registry+https://github.com/rust-lang/crates.io-index"
8390-checksum = "e5003ed7e98f082fe4114627c8d7c7ab569c27766e9bd350a0c09af06ad3fd46"7464+checksum = "84f2166b606445d83b2bf7d8263708cf4610fe0497720bb71d06f517547e00ce"
8391 dependencies = [7465 dependencies = [
8392 "chrono",7466 "chrono",
8393 "getrandom 0.4.3",7467 "getrandom 0.4.3",
@@ -8396,9 +7470,9 @@ dependencies = [
8396 7470
8397 [[package]]7471 [[package]]
8398 name = "turso_macros"7472 name = "turso_macros"
8399-version = "0.8.3"7473+version = "0.9.0-pre.2"
8400 source = "registry+https://github.com/rust-lang/crates.io-index"7474 source = "registry+https://github.com/rust-lang/crates.io-index"
8401-checksum = "74770c0d0c8b272b479b5343f19dbd2f8f2677d85a4d6222fc214dcac2882beb"7475+checksum = "06c5bd6e59e039a46586a2e90f82d0c63bd9bc2e2af071ce7ad06041d2caca48"
8402 dependencies = [7476 dependencies = [
8403 "proc-macro2",7477 "proc-macro2",
8404 "quote",7478 "quote",
@@ -8407,9 +7481,9 @@ dependencies = [
8407 7481
8408 [[package]]7482 [[package]]
8409 name = "turso_parser"7483 name = "turso_parser"
8410-version = "0.8.3"7484+version = "0.9.0-pre.2"
8411 source = "registry+https://github.com/rust-lang/crates.io-index"7485 source = "registry+https://github.com/rust-lang/crates.io-index"
8412-checksum = "a69bb856ec8306ad7ed1c13fc61de6a79452bf646ca53d99bb4cc646d5bfc4ff"7486+checksum = "6d9ca1665786eb8e836499a685ad9fc5a6e0d0b469c54d71f3c38ed6f4977ddc"
8413 dependencies = [7487 dependencies = [
8414 "bitflags 2.13.2",7488 "bitflags 2.13.2",
8415 "memchr",7489 "memchr",
@@ -8422,12 +7496,13 @@ dependencies = [
8422 7496
8423 [[package]]7497 [[package]]
8424 name = "turso_sdk_kit"7498 name = "turso_sdk_kit"
8425-version = "0.8.3"7499+version = "0.9.0-pre.2"
8426 source = "registry+https://github.com/rust-lang/crates.io-index"7500 source = "registry+https://github.com/rust-lang/crates.io-index"
8427-checksum = "819a17926d04dbeb5b03f00cdab6ed7351bbb6778d00840364b9af62bca02914"7501+checksum = "de6efcab419d6b316dea46aab86d012044cc504e77bba8908330764250bef608"
8428 dependencies = [7502 dependencies = [
8429 "bindgen",7503 "bindgen",
8430 "env_logger",7504 "env_logger",
7505+ "find-msvc-tools",
8431 "parking_lot",7506 "parking_lot",
8432 "tracing",7507 "tracing",
8433 "tracing-appender",7508 "tracing-appender",
@@ -8439,9 +7514,9 @@ dependencies = [
8439 7514
8440 [[package]]7515 [[package]]
8441 name = "turso_sdk_kit_macros"7516 name = "turso_sdk_kit_macros"
8442-version = "0.8.3"7517+version = "0.9.0-pre.2"
8443 source = "registry+https://github.com/rust-lang/crates.io-index"7518 source = "registry+https://github.com/rust-lang/crates.io-index"
8444-checksum = "8f315d7f8c5bba49d1c7ca000664a455085cb95f0fa8031c6dc1f67d6d0f28e1"7519+checksum = "77539f8f1bbbad20000300850bdccfb301623d728a5038d127ca766bc3c9ed45"
8445 dependencies = [7520 dependencies = [
8446 "proc-macro2",7521 "proc-macro2",
8447 "quote",7522 "quote",
@@ -8450,9 +7525,9 @@ dependencies = [
8450 7525
8451 [[package]]7526 [[package]]
8452 name = "turso_sync_engine"7527 name = "turso_sync_engine"
8453-version = "0.8.3"7528+version = "0.9.0-pre.2"
8454 source = "registry+https://github.com/rust-lang/crates.io-index"7529 source = "registry+https://github.com/rust-lang/crates.io-index"
8455-checksum = "f8d37dca9e05cc090ca3d73083f82fc63b0d11c33550308ca5d93668a8441b71"7530+checksum = "ae0a1e7f50a8004c9713642ff2f772cf4c592f2bdc33912d9f1872e95af61744"
8456 dependencies = [7531 dependencies = [
8457 "base64 0.22.1",7532 "base64 0.22.1",
8458 "bytes",7533 "bytes",
@@ -8473,9 +7548,9 @@ dependencies = [
8473 7548
8474 [[package]]7549 [[package]]
8475 name = "turso_sync_sdk_kit"7550 name = "turso_sync_sdk_kit"
8476-version = "0.8.3"7551+version = "0.9.0-pre.2"
8477 source = "registry+https://github.com/rust-lang/crates.io-index"7552 source = "registry+https://github.com/rust-lang/crates.io-index"
8478-checksum = "93fe4b961c9cc90f6339447dabfe83ed13a498721e41378932ab7eaf8ddd6976"7553+checksum = "10f2d849752a2d1e5e26d5bfc6a739c0914978b5153a824e9bca4a0438ee1e41"
8479 dependencies = [7554 dependencies = [
8480 "bindgen",7555 "bindgen",
8481 "env_logger",7556 "env_logger",
@@ -8511,42 +7586,12 @@ version = "0.13.0"
8511 source = "registry+https://github.com/rust-lang/crates.io-index"7586 source = "registry+https://github.com/rust-lang/crates.io-index"
8512 checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e"7587 checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e"
8513 7588
8514-[[package]]
8515-name = "typeid"
8516-version = "1.0.3"
8517-source = "registry+https://github.com/rust-lang/crates.io-index"
8518-checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
8519-
8520 [[package]]7589 [[package]]
8521 name = "typenum"7590 name = "typenum"
8522 version = "1.20.1"7591 version = "1.20.1"
8523 source = "registry+https://github.com/rust-lang/crates.io-index"7592 source = "registry+https://github.com/rust-lang/crates.io-index"
8524 checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"7593 checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
8525 7594
8526-[[package]]
8527-name = "typetag"
8528-version = "0.2.23"
8529-source = "registry+https://github.com/rust-lang/crates.io-index"
8530-checksum = "c90e86058a30d42a1a928dfb4b49bb33c98c3a2b4909492e6b0881cd94798ec2"
8531-dependencies = [
8532- "erased-serde",
8533- "inventory",
8534- "once_cell",
8535- "serde",
8536- "typetag-impl",
8537-]
8538-
8539-[[package]]
8540-name = "typetag-impl"
8541-version = "0.2.23"
8542-source = "registry+https://github.com/rust-lang/crates.io-index"
8543-checksum = "f153acc4e99a5f2a5aefa09fb078be54e26271b2813f6041200b224c098d8328"
8544-dependencies = [
8545- "proc-macro2",
8546- "quote",
8547- "syn 3.0.9",
8548-]
8549-
8550 [[package]]7595 [[package]]
8551 name = "ulid"7596 name = "ulid"
8552 version = "3.0.0"7597 version = "3.0.0"
@@ -8671,12 +7716,6 @@ version = "1.0.5"
8671 source = "registry+https://github.com/rust-lang/crates.io-index"7716 source = "registry+https://github.com/rust-lang/crates.io-index"
8672 checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"7717 checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
8673 7718
8674-[[package]]
8675-name = "utf8-ranges"
8676-version = "1.0.5"
8677-source = "registry+https://github.com/rust-lang/crates.io-index"
8678-checksum = "7fcfc827f90e53a02eaef5e535ee14266c1d569214c6aa70133a624d8a3164ba"
8679-
8680 [[package]]7719 [[package]]
8681 name = "utf8_iter"7720 name = "utf8_iter"
8682 version = "1.0.4"7721 version = "1.0.4"
@@ -8754,15 +7793,6 @@ dependencies = [
8754 "wit-bindgen",7793 "wit-bindgen",
8755 ]7794 ]
8756 7795
8757-[[package]]
8758-name = "wasix"
8759-version = "0.13.2"
8760-source = "registry+https://github.com/rust-lang/crates.io-index"
8761-checksum = "ae86f02046da16a333a9129d31451423e1657737ecdafed4193838a5f54c5cfe"
8762-dependencies = [
8763- "wasi",
8764-]
8765-
8766 [[package]]7796 [[package]]
8767 name = "wasm-bindgen"7797 name = "wasm-bindgen"
8768 version = "0.2.129"7798 version = "0.2.129"
@@ -8832,23 +7862,6 @@ dependencies = [
8832 "web-sys",7862 "web-sys",
8833 ]7863 ]
8834 7864
8835-[[package]]
8836-name = "web-push-native"
8837-version = "0.5.0"
8838-source = "registry+https://github.com/rust-lang/crates.io-index"
8839-checksum = "7628c93e39aeee4c0bca50ae333052b4f174c653e8fca1d0a8e34f9bc4879c0c"
8840-dependencies = [
8841- "aes-gcm 0.10.3",
8842- "base64ct",
8843- "ece-native",
8844- "hkdf 0.13.0",
8845- "http",
8846- "jwt-simple",
8847- "p256 0.13.2",
8848- "serde",
8849- "sha2 0.11.1",
8850-]
8851-
8852 [[package]]7865 [[package]]
8853 name = "web-sys"7866 name = "web-sys"
8854 version = "0.3.106"7867 version = "0.3.106"
Cargo.tomlmodified+8 -6
@@ -18,10 +18,10 @@ license = "AGPL-3.0-or-later"
18 tower = { version = "0.5.3", features = ["util"] }18 tower = { version = "0.5.3", features = ["util"] }
19 tower-http = { version = "0.7.1", features = ["compression-br", "compression-gzip"] }19 tower-http = { version = "0.7.1", features = ["compression-br", "compression-gzip"] }
20 gix = { version = "0.90.0", default-features = false, features = ["revision", "blob-diff", "max-performance", "sha1"] }20 gix = { version = "0.90.0", default-features = false, features = ["revision", "blob-diff", "max-performance", "sha1"] }
21-comrak = "0.59.0"21+comrak = { version = "0.59.0", default-features = false }
22 emojis = "0.9.0"22 emojis = "0.9.0"
23 ammonia = "4.2.3"23 ammonia = "4.2.3"
24-syntect = { version = "5.3.0", default-features = false, features = ["default-fancy"] }24+syntect = { version = "5.3.0", default-features = false, features = ["default-syntaxes", "default-themes", "html", "regex-fancy"] }
25 hmac = "0.13.0"25 hmac = "0.13.0"
26 sha1 = "0.11.0"26 sha1 = "0.11.0"
27 image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp", "gif"] }27 image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp", "gif"] }
@@ -65,11 +65,13 @@ base64 = "0.23.1"
65 getrandom = "0.4.3"65 getrandom = "0.4.3"
66 rpassword = "7.5.4"66 rpassword = "7.5.4"
67 chacha20poly1305 = "0.11.0"67 chacha20poly1305 = "0.11.0"
68-# Web Push (forge-web): RFC 8291 encryption and RFC 8292 VAPID, RustCrypto based, pure Rust68+# Web Push (forge-web): RFC 8291 encryption and RFC 8292 VAPID
69-web-push-native = "0.5.0"69+p256 = { version = "0.14.0", features = ["ecdh", "ecdsa"] }
70+hkdf = "0.13.0"
71+aes-gcm = "0.11.1"
70 72
71 # storage73 # storage
72-turso = "0.8.3"74+turso = { version = "0.9.0-pre.2", default-features = false, features = ["mimalloc"] }
73 object_store = { version = "0.14.2", default-features = false, features = ["fs", "aws"] }75 object_store = { version = "0.14.2", default-features = false, features = ["fs", "aws"] }
74 multer = "3.1.0"76 multer = "3.1.0"
75 77
@@ -80,7 +82,7 @@ lettre = { version = "0.11.23", default-features = false, features = ["smtp-tran
80 topcoat = { version = "0.11.0", default-features = false, features = ["router", "view", "runtime", "cookie", "asset", "serve", "sse", "discover", "multipart"] }82 topcoat = { version = "0.11.0", default-features = false, features = ["router", "view", "runtime", "cookie", "asset", "serve", "sse", "discover", "multipart"] }
81 83
82 # ssh server84 # ssh server
83-russh = "0.65.0"85+russh = { version = "0.65.0", default-features = false, features = ["flate2", "aws-lc-rs"] }
84 86
85 # observability87 # observability
86 tracing = "0.1.44"88 tracing = "0.1.44"
README.mdmodified+1 -1
@@ -49,7 +49,7 @@ You need Rust (stable, edition 2024) and git 2.38 or newer. forge refuses to sta
49 ssh-keygen -t ed2551949 ssh-keygen -t ed25519
50 ```50 ```
51 51
52- RSA keys are rejected, because forge turns off SHA-1 signatures.52+ RSA keys are rejected; forge is built without RSA.
53 53
54 5. Create a token at `/settings/tokens` for HTTPS pushes. It starts with `forge_` and is shown only once.54 5. Create a token at `/settings/tokens` for HTTPS pushes. It starts with `forge_` and is shown only once.
55 55
crates/forge-ssh/src/server.rsmodified+5 -13
@@ -16,7 +16,7 @@ use std::time::Duration;
16 use bytes::Bytes;16 use bytes::Bytes;
17 use russh::keys::ssh_key::LineEnding;17 use russh::keys::ssh_key::LineEnding;
18 use russh::keys::ssh_key::private::{Ed25519Keypair, KeypairData};18 use russh::keys::ssh_key::private::{Ed25519Keypair, KeypairData};
19-use russh::keys::{Algorithm, EcdsaCurve, HashAlg, PrivateKey, PublicKey};19+use russh::keys::{Algorithm, EcdsaCurve, PrivateKey, PublicKey};
20 use russh::server::{20 use russh::server::{
21 Auth, Config, Handle, Handler, Msg, PublicKeyOffer, Session, VerifiedPublicKey, run_stream,21 Auth, Config, Handle, Handler, Msg, PublicKeyOffer, Session, VerifiedPublicKey, run_stream,
22 };22 };
@@ -121,7 +121,7 @@ fn publickey_only() -> MethodSet {
121 methods121 methods
122 }122 }
123 123
124-/// Host and user key algorithms this server negotiates. `ssh-rsa` (SHA-1) is not listed.124+/// Host and user key algorithms this server negotiates. RSA is not listed: russh is built without it.
125 fn preferred_algorithms() -> Preferred {125 fn preferred_algorithms() -> Preferred {
126 Preferred {126 Preferred {
127 key: Cow::Owned(vec![127 key: Cow::Owned(vec![
@@ -137,19 +137,12 @@ fn preferred_algorithms() -> Preferred {
137 Algorithm::Ecdsa {137 Algorithm::Ecdsa {
138 curve: EcdsaCurve::NistP521,138 curve: EcdsaCurve::NistP521,
139 },139 },
140- Algorithm::Rsa {
141- hash: Some(HashAlg::Sha512),
142- },
143- Algorithm::Rsa {
144- hash: Some(HashAlg::Sha256),
145- },
146 ]),140 ]),
147 ..Preferred::default()141 ..Preferred::default()
148 }142 }
149 }143 }
150 144
151-/// Key types accepted for authentication. RSA keys appear as `ssh-rsa` key blobs whatever the145+/// Key types accepted for authentication. RSA keys are refused, as they are when a key is added.
152-/// signature algorithm is, so this check cannot tell SHA-1 signatures apart. See `run`'s docs.
153 fn key_type_allowed(algorithm: &Algorithm) -> bool {146 fn key_type_allowed(algorithm: &Algorithm) -> bool {
154 matches!(147 matches!(
155 algorithm,148 algorithm,
@@ -157,7 +150,6 @@ fn key_type_allowed(algorithm: &Algorithm) -> bool {
157 | Algorithm::SkEd25519150 | Algorithm::SkEd25519
158 | Algorithm::SkEcdsaSha2NistP256151 | Algorithm::SkEcdsaSha2NistP256
159 | Algorithm::Ecdsa { .. }152 | Algorithm::Ecdsa { .. }
160- | Algorithm::Rsa { .. }
161 )153 )
162 }154 }
163 155
@@ -604,9 +596,9 @@ mod tests {
604 }596 }
605 597
606 #[test]598 #[test]
607- fn key_types_exclude_dsa() {599+ fn key_types_exclude_dsa_and_rsa() {
608 assert!(key_type_allowed(&Algorithm::Ed25519));600 assert!(key_type_allowed(&Algorithm::Ed25519));
609- assert!(key_type_allowed(&Algorithm::Rsa { hash: None }));601+ assert!(!key_type_allowed(&Algorithm::Rsa { hash: None }));
610 assert!(!key_type_allowed(&Algorithm::Dsa));602 assert!(!key_type_allowed(&Algorithm::Dsa));
611 }603 }
612 }604 }
crates/forge-web/Cargo.tomlmodified+3 -1
@@ -58,7 +58,9 @@ tar.workspace = true
58 flate2.workspace = true58 flate2.workspace = true
59 webauthn-rs = { version = "0.5.5", features = ["danger-allow-state-serialisation", "conditional-ui"] }59 webauthn-rs = { version = "0.5.5", features = ["danger-allow-state-serialisation", "conditional-ui"] }
60 webauthn-rs-proto = "0.5.5"60 webauthn-rs-proto = "0.5.5"
61-web-push-native.workspace = true61+p256.workspace = true
62+hkdf.workspace = true
63+aes-gcm.workspace = true
62 64
63 [build-dependencies]65 [build-dependencies]
64 grass.workspace = true66 grass.workspace = true
crates/forge-web/src/pages/push.rsmodified+6 -6
@@ -79,8 +79,8 @@ fn check_endpoint(endpoint: &str, policy: &WebhookPolicy) -> forge_core::Result<
79 }79 }
80 let url = reqwest::Url::parse(endpoint)80 let url = reqwest::Url::parse(endpoint)
81 .map_err(|_| forge_core::Error::Invalid("the push endpoint is not a URL".into()))?;81 .map_err(|_| forge_core::Error::Invalid("the push endpoint is not a URL".into()))?;
82- // The VAPID audience is the origin without a port (web-push-native builds it that way), so a82+ // The VAPID audience is the origin (scheme and host, with the port if any), so a non-default
83- // non-default port would not match what the push service checks. Push services use 443.83+ // port would not match what the push service checks. Push services use 443.
84 if url.scheme() != "https" || url.host_str().is_none() || url.port().is_some() {84 if url.scheme() != "https" || url.host_str().is_none() || url.port().is_some() {
85 return Err(forge_core::Error::Invalid(85 return Err(forge_core::Error::Invalid(
86 "the push endpoint must be an https URL on the default port".into(),86 "the push endpoint must be an https URL on the default port".into(),
@@ -96,7 +96,7 @@ fn check_keys(p256dh: &str, auth: &str) -> forge_core::Result<()> {
96 let point = crypto::decode_b64(p256dh)?;96 let point = crypto::decode_b64(p256dh)?;
97 if point.len() != 6597 if point.len() != 65
98 || point[0] != 0x0498 || point[0] != 0x04
99- || web_push_native::p256::PublicKey::from_sec1_bytes(&point).is_err()99+ || p256::PublicKey::from_sec1_bytes(&point).is_err()
100 {100 {
101 return Err(forge_core::Error::Invalid(101 return Err(forge_core::Error::Invalid(
102 "the browser key is not a P-256 public key".into(),102 "the browser key is not a P-256 public key".into(),
@@ -300,7 +300,7 @@ mod tests {
300 use forge_core::Store;300 use forge_core::Store;
301 use topcoat::router::request::Request;301 use topcoat::router::request::Request;
302 use topcoat::router::{Body, Router, to_bytes};302 use topcoat::router::{Body, Router, to_bytes};
303- use web_push_native::p256::elliptic_curve::sec1::ToEncodedPoint;303+ use p256::elliptic_curve::sec1::ToSec1Point;
304 304
305 use crate::auth::SESSION_COOKIE;305 use crate::auth::SESSION_COOKIE;
306 use crate::test_support::{app_router, create_session, test_state};306 use crate::test_support::{app_router, create_session, test_state};
@@ -339,9 +339,9 @@ mod tests {
339 339
340 /// A browser key and auth secret as a browser would send them: base64url, uncompressed point.340 /// A browser key and auth secret as a browser would send them: base64url, uncompressed point.
341 fn browser_keys() -> (String, String) {341 fn browser_keys() -> (String, String) {
342- let secret = web_push_native::p256::SecretKey::from_slice(&crypto::new_vapid_private())342+ let secret = p256::SecretKey::from_slice(&crypto::new_vapid_private())
343 .expect("scalar");343 .expect("scalar");
344- let point = secret.public_key().to_encoded_point(false);344+ let point = secret.public_key().to_sec1_point(false);
345 (345 (
346 crypto::encode_b64(point.as_bytes()),346 crypto::encode_b64(point.as_bytes()),
347 crypto::encode_b64(&[7u8; 16]),347 crypto::encode_b64(&[7u8; 16]),
crates/forge-web/src/web_push/crypto.rsmodified+168 -19
@@ -1,18 +1,30 @@
1-//! Thin glue over `web-push-native`, which does the cryptography: the RFC 8291 message encryption1+//! Web Push, on the RustCrypto crates: the RFC 8291 message encryption (aes128gcm content coding,
2-//! (aes128gcm content coding, RFC 8188) and the RFC 8292 VAPID authorization (an ES256 JWT). The2+//! RFC 8188) and the RFC 8292 VAPID authorization (an ES256 JWT). This module converts the
3-//! crate is RustCrypto based and pure Rust. This module only converts the base64url values that3+//! base64url values that browsers and the database hold into key types, and builds the request.
4-//! browsers and the database hold into the types the crate takes, and builds the request.
5 4
5+use std::time::{SystemTime, UNIX_EPOCH};
6+
7+use aes_gcm::Aes128Gcm;
8+use aes_gcm::KeyInit;
9+use aes_gcm::aead::Aead;
6 use base64::Engine;10 use base64::Engine;
7 use base64::engine::general_purpose::URL_SAFE_NO_PAD;11 use base64::engine::general_purpose::URL_SAFE_NO_PAD;
8-use p256::elliptic_curve::sec1::ToEncodedPoint;12+use hkdf::Hkdf;
9-use web_push_native::jwt_simple::algorithms::ES256KeyPair;13+use p256::ecdsa::signature::Signer;
10-use web_push_native::{Auth, WebPushBuilder, p256};14+use p256::ecdsa::{Signature, SigningKey};
15+use p256::elliptic_curve::sec1::ToSec1Point;
16+use sha2::Sha256;
11 17
12 use forge_core::{Error, Result};18 use forge_core::{Error, Result};
13 19
14 /// The uncompressed P-256 point length: 0x04 followed by X and Y.20 /// The uncompressed P-256 point length: 0x04 followed by X and Y.
15 const POINT_LEN: usize = 65;21 const POINT_LEN: usize = 65;
22+/// The record size the body declares (RFC 8188 `rs`). One record holds the whole message.
23+const RECORD_SIZE: u32 = 4096;
24+/// How long a VAPID token stays valid, in seconds: 12 hours, the most RFC 8292 allows.
25+const VAPID_TTL: u64 = 12 * 60 * 60;
26+/// How long the push service may hold a message for an offline browser, in seconds.
27+const PUSH_TTL: &str = "43200";
16 28
17 /// Decodes base64url, with or without padding.29 /// Decodes base64url, with or without padding.
18 pub fn decode_b64(text: &str) -> Result<Vec<u8>> {30 pub fn decode_b64(text: &str) -> Result<Vec<u8>> {
@@ -26,16 +38,28 @@ pub fn encode_b64(bytes: &[u8]) -> String {
26 URL_SAFE_NO_PAD.encode(bytes)38 URL_SAFE_NO_PAD.encode(bytes)
27 }39 }
28 40
41+/// A random P-256 private key from the system RNG. A draw that is zero or not below the curve
42+/// order is rare enough that it is simply drawn again.
43+fn random_secret() -> p256::SecretKey {
44+ loop {
45+ let mut bytes = [0u8; 32];
46+ rand::fill(&mut bytes);
47+ if let Ok(secret) = p256::SecretKey::from_slice(&bytes) {
48+ return secret;
49+ }
50+ }
51+}
52+
29 /// A new VAPID private key (32 bytes) from the system RNG.53 /// A new VAPID private key (32 bytes) from the system RNG.
30 pub fn new_vapid_private() -> [u8; 32] {54 pub fn new_vapid_private() -> [u8; 32] {
31 let mut out = [0u8; 32];55 let mut out = [0u8; 32];
32- out.copy_from_slice(&ES256KeyPair::generate().to_bytes());56+ out.copy_from_slice(&random_secret().to_bytes());
33 out57 out
34 }58 }
35 59
36 /// The key pair the VAPID signature is made with, from its 32-byte private scalar.60 /// The key pair the VAPID signature is made with, from its 32-byte private scalar.
37-pub fn vapid_key_pair(private: &[u8; 32]) -> Result<ES256KeyPair> {61+pub fn vapid_key_pair(private: &[u8; 32]) -> Result<SigningKey> {
38- ES256KeyPair::from_bytes(private).map_err(|_| Error::Crypto("bad VAPID key".into()))62+ SigningKey::from_slice(private).map_err(|_| Error::Crypto("bad VAPID key".into()))
39 }63 }
40 64
41 /// The public key of a VAPID private key, as the uncompressed point in base64url. This is the65 /// The public key of a VAPID private key, as the uncompressed point in base64url. This is the
@@ -43,10 +67,90 @@ pub fn vapid_key_pair(private: &[u8; 32]) -> Result<ES256KeyPair> {
43 pub fn vapid_public_key(private: &[u8; 32]) -> Result<String> {67 pub fn vapid_public_key(private: &[u8; 32]) -> Result<String> {
44 let secret =68 let secret =
45 p256::SecretKey::from_slice(private).map_err(|_| Error::Crypto("bad VAPID key".into()))?;69 p256::SecretKey::from_slice(private).map_err(|_| Error::Crypto("bad VAPID key".into()))?;
46- let point = secret.public_key().to_encoded_point(false);70+ let point = secret.public_key().to_sec1_point(false);
47 Ok(encode_b64(point.as_bytes()))71 Ok(encode_b64(point.as_bytes()))
48 }72 }
49 73
74+/// The RFC 8291 body for one message. The ephemeral key and the salt are arguments so that a test
75+/// can fix them; `push_request` draws both at random.
76+fn encrypt_body(
77+ ua_public: &p256::PublicKey,
78+ auth: &[u8],
79+ as_secret: &p256::SecretKey,
80+ salt: &[u8; 16],
81+ payload: &[u8],
82+) -> Result<Vec<u8>> {
83+ let encryption_error = |e: &dyn std::fmt::Display| {
84+ Error::Crypto(format!("web push encryption failed: {e}"))
85+ };
86+ let as_public = as_secret.public_key().to_sec1_point(false);
87+ let ua_point = ua_public.to_sec1_point(false);
88+ let shared = p256::ecdh::diffie_hellman(as_secret.to_nonzero_scalar(), ua_public.as_affine());
89+
90+ // IKM: the ECDH secret, salted with the auth secret, expanded over both public keys.
91+ let mut key_info = b"WebPush: info\0".to_vec();
92+ key_info.extend_from_slice(ua_point.as_bytes());
93+ key_info.extend_from_slice(as_public.as_bytes());
94+ let mut ikm = [0u8; 32];
95+ Hkdf::<Sha256>::new(Some(auth), &shared.raw_secret_bytes()[..])
96+ .expand(&key_info, &mut ikm)
97+ .map_err(|e| encryption_error(&e))?;
98+
99+ // The content encryption key and the nonce, from a PRK salted with the message salt.
100+ let mut cek = [0u8; 16];
101+ let mut nonce = [0u8; 12];
102+ let prk = Hkdf::<Sha256>::new(Some(salt), &ikm);
103+ prk.expand(b"Content-Encoding: aes128gcm\0", &mut cek)
104+ .map_err(|e| encryption_error(&e))?;
105+ prk.expand(b"Content-Encoding: nonce\0", &mut nonce)
106+ .map_err(|e| encryption_error(&e))?;
107+
108+ // The plaintext ends with 0x02, the delimiter of the last record. With the 16-byte tag the one
109+ // record must fit in `RECORD_SIZE`.
110+ if payload.len() + 1 + 16 > RECORD_SIZE as usize {
111+ return Err(Error::Invalid("the push message is too large".into()));
112+ }
113+ let mut plaintext = payload.to_vec();
114+ plaintext.push(0x02);
115+ let ciphertext = Aes128Gcm::new(&cek.into())
116+ .encrypt(&nonce.into(), plaintext.as_slice())
117+ .map_err(|e| encryption_error(&e))?;
118+
119+ let mut body = Vec::with_capacity(salt.len() + 4 + 1 + POINT_LEN + ciphertext.len());
120+ body.extend_from_slice(salt);
121+ body.extend_from_slice(&RECORD_SIZE.to_be_bytes());
122+ body.push(POINT_LEN as u8);
123+ body.extend_from_slice(as_public.as_bytes());
124+ body.extend_from_slice(&ciphertext);
125+ Ok(body)
126+}
127+
128+/// The VAPID token (RFC 8292) for a push to `uri`: an ES256 JWT whose audience is the origin of
129+/// the endpoint. The signature is the raw 64-byte `r || s`, not DER.
130+fn vapid_token(uri: &http::Uri, subject: &str, key_pair: &SigningKey) -> Result<String> {
131+ let bad_endpoint = || Error::Invalid("bad push endpoint".into());
132+ let scheme = uri.scheme_str().ok_or_else(bad_endpoint)?;
133+ let authority = uri.authority().ok_or_else(bad_endpoint)?;
134+ let now = SystemTime::now()
135+ .duration_since(UNIX_EPOCH)
136+ .map_err(|_| Error::Crypto("the system clock is before 1970".into()))?
137+ .as_secs();
138+ let header = URL_SAFE_NO_PAD.encode(r#"{"typ":"JWT","alg":"ES256"}"#);
139+ let claims = serde_json::json!({
140+ "aud": format!("{scheme}://{authority}"),
141+ "exp": now + VAPID_TTL,
142+ "sub": subject,
143+ });
144+ let input = format!("{header}.{}", URL_SAFE_NO_PAD.encode(claims.to_string()));
145+ let signature: Signature = key_pair
146+ .try_sign(input.as_bytes())
147+ .map_err(|e| Error::Crypto(format!("VAPID signing failed: {e}")))?;
148+ Ok(format!(
149+ "{input}.{}",
150+ URL_SAFE_NO_PAD.encode(signature.to_bytes())
151+ ))
152+}
153+
50 /// Builds the POST for one push: the body is encrypted for the browser's key and auth secret,154 /// Builds the POST for one push: the body is encrypted for the browser's key and auth secret,
51 /// and the request carries the VAPID `Authorization` for `endpoint`'s origin. `subject` is the155 /// and the request carries the VAPID `Authorization` for `endpoint`'s origin. `subject` is the
52 /// contact URL (`mailto:` or `https:`).156 /// contact URL (`mailto:` or `https:`).
@@ -55,7 +159,7 @@ pub fn push_request(
55 p256dh: &[u8],159 p256dh: &[u8],
56 auth: &[u8],160 auth: &[u8],
57 subject: &str,161 subject: &str,
58- key_pair: &ES256KeyPair,162+ key_pair: &SigningKey,
59 payload: Vec<u8>,163 payload: Vec<u8>,
60 ) -> Result<http::Request<Vec<u8>>> {164 ) -> Result<http::Request<Vec<u8>>> {
61 if p256dh.len() != POINT_LEN {165 if p256dh.len() != POINT_LEN {
@@ -70,20 +174,33 @@ pub fn push_request(
70 "the browser auth secret is not 16 bytes".into(),174 "the browser auth secret is not 16 bytes".into(),
71 ));175 ));
72 }176 }
73- let ua_auth = Auth::clone_from_slice(auth);
74 let uri: http::Uri = endpoint177 let uri: http::Uri = endpoint
75 .parse()178 .parse()
76 .map_err(|_| Error::Invalid("bad push endpoint".into()))?;179 .map_err(|_| Error::Invalid("bad push endpoint".into()))?;
77- WebPushBuilder::new(uri, ua_public, ua_auth)180+
78- .with_vapid(key_pair, subject)181+ let mut salt = [0u8; 16];
79- .build(payload)182+ rand::fill(&mut salt);
80- .map_err(|e| Error::Crypto(format!("web push encryption failed: {e}")))183+ let body = encrypt_body(&ua_public, auth, &random_secret(), &salt, &payload)?;
184+
185+ let token = vapid_token(&uri, subject, key_pair)?;
186+ let public = key_pair.verifying_key().to_sec1_point(false);
187+ http::Request::builder()
188+ .method(http::Method::POST)
189+ .uri(uri)
190+ .header("content-encoding", "aes128gcm")
191+ .header("content-type", "application/octet-stream")
192+ .header("ttl", PUSH_TTL)
193+ .header(
194+ "authorization",
195+ format!("vapid t={token}, k={}", encode_b64(public.as_bytes())),
196+ )
197+ .body(body)
198+ .map_err(|e| Error::Crypto(format!("web push request failed: {e}")))
81 }199 }
82 200
83 #[cfg(test)]201 #[cfg(test)]
84 mod tests {202 mod tests {
85 use super::*;203 use super::*;
86- use p256::elliptic_curve::sec1::ToEncodedPoint;
87 204
88 #[test]205 #[test]
89 fn a_browser_key_that_is_not_a_point_is_refused() {206 fn a_browser_key_that_is_not_a_point_is_refused() {
@@ -121,7 +238,7 @@ mod tests {
121 let browser = p256::SecretKey::from_slice(&new_vapid_private()).expect("scalar");238 let browser = p256::SecretKey::from_slice(&new_vapid_private()).expect("scalar");
122 let point = browser239 let point = browser
123 .public_key()240 .public_key()
124- .to_encoded_point(false)241+ .to_sec1_point(false)
125 .as_bytes()242 .as_bytes()
126 .to_vec();243 .to_vec();
127 let auth = [9u8; 16];244 let auth = [9u8; 16];
@@ -174,4 +291,36 @@ mod tests {
174 let public = vapid_public_key(&new_vapid_private()).expect("public");291 let public = vapid_public_key(&new_vapid_private()).expect("public");
175 assert_eq!(decode_b64(&public).expect("b64").len(), POINT_LEN);292 assert_eq!(decode_b64(&public).expect("b64").len(), POINT_LEN);
176 }293 }
294+
295+ #[test]
296+ fn the_rfc_8291_appendix_a_vector_encrypts_to_the_published_body() {
297+ let as_secret = p256::SecretKey::from_slice(
298+ &decode_b64("yfWPiYE-n46HLnH0KqZOF1fJJU3MYrct3AELtAQ-oRw").expect("b64"),
299+ )
300+ .expect("key");
301+ let ua_public = p256::PublicKey::from_sec1_bytes(
302+ &decode_b64(
303+ "BCVxsr7N_eNgVRqvHtD0zTZsEc6-VV-JvLexhqUzORcxaOzi6-AYWXvTBHm4bjyPjs7Vd8pZGH6SRpkNtoIAiw4",
304+ )
305+ .expect("b64"),
306+ )
307+ .expect("point");
308+ let auth = decode_b64("BTBZMqHH6r4Tts7J_aSIgg").expect("b64");
309+ let salt: [u8; 16] = decode_b64("DGv6ra1nlYgDCS1FRnbzlw")
310+ .expect("b64")
311+ .try_into()
312+ .expect("16 bytes");
313+ let body = encrypt_body(
314+ &ua_public,
315+ &auth,
316+ &as_secret,
317+ &salt,
318+ b"When I grow up, I want to be a watermelon",
319+ )
320+ .expect("body");
321+ assert_eq!(
322+ encode_b64(&body),
323+ "DGv6ra1nlYgDCS1FRnbzlwAAEABBBP4z9KsN6nGRTbVYI_c7VJSPQTBtkgcy27mlmlMoZIIgDll6e3vCYLocInmYWAmS6TlzAC8wEqKK6PBru3jl7A_yl95bQpu6cVPTpK4Mqgkf1CXztLVBSt2Ks3oZwbuwXPXLWyouBWLVWGNWQexSgSxsj_Qulcy4a-fN"
324+ );
325+ }
177 }326 }
crates/forge-web/src/web_push/mod.rsmodified+3 -3
@@ -351,7 +351,7 @@ pub async fn deliver(state: &AppState, user_id: &str, alert: &Alert) -> Result<u
351 #[cfg(test)]351 #[cfg(test)]
352 mod tests {352 mod tests {
353 use super::*;353 use super::*;
354- use web_push_native::p256::elliptic_curve::sec1::ToEncodedPoint;354+ use p256::elliptic_curve::sec1::ToSec1Point;
355 355
356 fn activity(actor: Option<&str>) -> Alert {356 fn activity(actor: Option<&str>) -> Alert {
357 Alert::Activity {357 Alert::Activity {
@@ -492,9 +492,9 @@ mod tests {
492 }492 }
493 493
494 fn device(endpoint: String) -> PushSubscription {494 fn device(endpoint: String) -> PushSubscription {
495- let secret = web_push_native::p256::SecretKey::from_slice(&crypto::new_vapid_private())495+ let secret = p256::SecretKey::from_slice(&crypto::new_vapid_private())
496 .expect("scalar");496 .expect("scalar");
497- let point = secret.public_key().to_encoded_point(false);497+ let point = secret.public_key().to_sec1_point(false);
498 PushSubscription {498 PushSubscription {
499 id: endpoint.clone(),499 id: endpoint.clone(),
500 user_id: String::new(),500 user_id: String::new(),
docs/architecture.mdmodified+1 -1
@@ -196,7 +196,7 @@ Secrets (`forge.key` is not in the DB). Values sealed with XChaCha20-Poly1305 ar
196 ### 5.3 SSH fetch and push196 ### 5.3 SSH fetch and push
197 197
198 1. Client connects to `ssh_listen` (default `0.0.0.0:2222`). russh runs the handshake under `auth_timeout` and `inactivity_timeout`.198 1. Client connects to `ssh_listen` (default `0.0.0.0:2222`). russh runs the handshake under `auth_timeout` and `inactivity_timeout`.
199-2. `auth_publickey`: `GitBackend::authenticate_key(algorithm, key_blob)` does an exact byte match on `ssh_keys.key_blob`. `ssh-rsa` with SHA-1 is disabled. On success, `last_used_at` is touched.199+2. `auth_publickey`: `GitBackend::authenticate_key(algorithm, key_blob)` does an exact byte match on `ssh_keys.key_blob`. RSA keys are refused; russh is built without its `rsa` feature. On success, `last_used_at` is touched.
200 3. Client sends an `env` request. Only `GIT_PROTOCOL` is accepted. Other names are ignored or refused.200 3. Client sends an `env` request. Only `GIT_PROTOCOL` is accepted. Other names are ignored or refused.
201 4. Client sends `exec`. `parse_exec` accepts only `git-upload-pack` or `git-receive-pack` with a single-quoted path. Quotes and newlines inside the path are rejected. No shell is used.201 4. Client sends `exec`. `parse_exec` accepts only `git-upload-pack` or `git-receive-pack` with a single-quoted path. Quotes and newlines inside the path are rejected. No shell is used.
202 5. `GitBackend::prepare(user_id, service, repo_path, git_protocol)` resolves the repo, runs `authorize()`, and builds the git `Command` through `forge-git`. On `Err(msg)`, the message goes to stderr and the exit status is 1.202 5. `GitBackend::prepare(user_id, service, repo_path, git_protocol)` resolves the repo, runs `authorize()`, and builds the git `Command` through `forge-git`. On `Err(msg)`, the message goes to stderr and the exit status is 1.