smbcloud-auth 0.4.7 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Cargo.lock +67 -184
- data/README.md +1 -1
- data/Rakefile +18 -0
- data/ext/auth/Cargo.toml +1 -1
- data/ext/auth/extconf.rb +12 -0
- data/lib/auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db5e00b6c306f1e93fde95a9698c30bcbb5736e058786e719a7234c88a503183
|
|
4
|
+
data.tar.gz: 423056a6a4ad5f3e414126a451e97945be48aba18780ec1adcc6f957668c993e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57e6f59fe77928413187896fe08b5f24e0813ddbde6282088252658326213263be1f9af8fa2aef152ede97afb62c9a32b575389a324d203b63610e67e4d502d6
|
|
7
|
+
data.tar.gz: 2332ebdfed212ec679bae261489728c34f753baff00a0fce46ad561990fd24b71cd9d1d44370d7bd20aaff7f5fcaa933f4ea76b2afd2fd43147d33d0fd6d6982
|
data/Cargo.lock
CHANGED
|
@@ -98,7 +98,7 @@ dependencies = [
|
|
|
98
98
|
|
|
99
99
|
[[package]]
|
|
100
100
|
name = "auth"
|
|
101
|
-
version = "0.4.
|
|
101
|
+
version = "0.4.8"
|
|
102
102
|
dependencies = [
|
|
103
103
|
"magnus",
|
|
104
104
|
"serde",
|
|
@@ -168,15 +168,15 @@ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
|
168
168
|
|
|
169
169
|
[[package]]
|
|
170
170
|
name = "bytes"
|
|
171
|
-
version = "1.12.
|
|
171
|
+
version = "1.12.1"
|
|
172
172
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
-
checksum = "
|
|
173
|
+
checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
174
174
|
|
|
175
175
|
[[package]]
|
|
176
176
|
name = "cc"
|
|
177
|
-
version = "1.2.
|
|
177
|
+
version = "1.2.66"
|
|
178
178
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
-
checksum = "
|
|
179
|
+
checksum = "f5d6cac793997bd970000024b2934968efe83b382de4fdcf4fcb46b6ee4ad996"
|
|
180
180
|
dependencies = [
|
|
181
181
|
"find-msvc-tools",
|
|
182
182
|
"shlex 2.0.1",
|
|
@@ -203,6 +203,17 @@ version = "0.2.1"
|
|
|
203
203
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
204
|
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
|
205
205
|
|
|
206
|
+
[[package]]
|
|
207
|
+
name = "chacha20"
|
|
208
|
+
version = "0.10.1"
|
|
209
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
+
checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81"
|
|
211
|
+
dependencies = [
|
|
212
|
+
"cfg-if",
|
|
213
|
+
"cpufeatures 0.3.0",
|
|
214
|
+
"rand_core",
|
|
215
|
+
]
|
|
216
|
+
|
|
206
217
|
[[package]]
|
|
207
218
|
name = "chrono"
|
|
208
219
|
version = "0.4.45"
|
|
@@ -323,6 +334,15 @@ dependencies = [
|
|
|
323
334
|
"libc",
|
|
324
335
|
]
|
|
325
336
|
|
|
337
|
+
[[package]]
|
|
338
|
+
name = "cpufeatures"
|
|
339
|
+
version = "0.3.0"
|
|
340
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
341
|
+
checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
|
|
342
|
+
dependencies = [
|
|
343
|
+
"libc",
|
|
344
|
+
]
|
|
345
|
+
|
|
326
346
|
[[package]]
|
|
327
347
|
name = "crypto-common"
|
|
328
348
|
version = "0.1.7"
|
|
@@ -444,20 +464,6 @@ dependencies = [
|
|
|
444
464
|
"wasm-bindgen",
|
|
445
465
|
]
|
|
446
466
|
|
|
447
|
-
[[package]]
|
|
448
|
-
name = "getrandom"
|
|
449
|
-
version = "0.3.4"
|
|
450
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
451
|
-
checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
|
|
452
|
-
dependencies = [
|
|
453
|
-
"cfg-if",
|
|
454
|
-
"js-sys",
|
|
455
|
-
"libc",
|
|
456
|
-
"r-efi 5.3.0",
|
|
457
|
-
"wasip2",
|
|
458
|
-
"wasm-bindgen",
|
|
459
|
-
]
|
|
460
|
-
|
|
461
467
|
[[package]]
|
|
462
468
|
name = "getrandom"
|
|
463
469
|
version = "0.4.3"
|
|
@@ -465,8 +471,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
465
471
|
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
466
472
|
dependencies = [
|
|
467
473
|
"cfg-if",
|
|
474
|
+
"js-sys",
|
|
468
475
|
"libc",
|
|
469
|
-
"r-efi
|
|
476
|
+
"r-efi",
|
|
477
|
+
"rand_core",
|
|
478
|
+
"wasm-bindgen",
|
|
470
479
|
]
|
|
471
480
|
|
|
472
481
|
[[package]]
|
|
@@ -863,9 +872,9 @@ dependencies = [
|
|
|
863
872
|
|
|
864
873
|
[[package]]
|
|
865
874
|
name = "memchr"
|
|
866
|
-
version = "2.8.
|
|
875
|
+
version = "2.8.3"
|
|
867
876
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
868
|
-
checksum = "
|
|
877
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
869
878
|
|
|
870
879
|
[[package]]
|
|
871
880
|
name = "minimal-lexical"
|
|
@@ -951,15 +960,6 @@ dependencies = [
|
|
|
951
960
|
"zerovec",
|
|
952
961
|
]
|
|
953
962
|
|
|
954
|
-
[[package]]
|
|
955
|
-
name = "ppv-lite86"
|
|
956
|
-
version = "0.2.21"
|
|
957
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
958
|
-
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
|
|
959
|
-
dependencies = [
|
|
960
|
-
"zerocopy",
|
|
961
|
-
]
|
|
962
|
-
|
|
963
963
|
[[package]]
|
|
964
964
|
name = "proc-macro-error"
|
|
965
965
|
version = "1.0.4"
|
|
@@ -1015,14 +1015,15 @@ dependencies = [
|
|
|
1015
1015
|
|
|
1016
1016
|
[[package]]
|
|
1017
1017
|
name = "quinn-proto"
|
|
1018
|
-
version = "0.11.
|
|
1018
|
+
version = "0.11.16"
|
|
1019
1019
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1020
|
-
checksum = "
|
|
1020
|
+
checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560"
|
|
1021
1021
|
dependencies = [
|
|
1022
1022
|
"bytes",
|
|
1023
|
-
"getrandom 0.3
|
|
1023
|
+
"getrandom 0.4.3",
|
|
1024
1024
|
"lru-slab",
|
|
1025
1025
|
"rand",
|
|
1026
|
+
"rand_pcg",
|
|
1026
1027
|
"ring",
|
|
1027
1028
|
"rustc-hash",
|
|
1028
1029
|
"rustls",
|
|
@@ -1036,16 +1037,16 @@ dependencies = [
|
|
|
1036
1037
|
|
|
1037
1038
|
[[package]]
|
|
1038
1039
|
name = "quinn-udp"
|
|
1039
|
-
version = "0.5.
|
|
1040
|
+
version = "0.5.15"
|
|
1040
1041
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1041
|
-
checksum = "
|
|
1042
|
+
checksum = "35a133f956daabe89a61a685c2649f13d82d5aa4bd5d12d1277e1072a21c0694"
|
|
1042
1043
|
dependencies = [
|
|
1043
1044
|
"cfg_aliases",
|
|
1044
1045
|
"libc",
|
|
1045
1046
|
"once_cell",
|
|
1046
1047
|
"socket2",
|
|
1047
1048
|
"tracing",
|
|
1048
|
-
"windows-sys 0.
|
|
1049
|
+
"windows-sys 0.61.2",
|
|
1049
1050
|
]
|
|
1050
1051
|
|
|
1051
1052
|
[[package]]
|
|
@@ -1057,12 +1058,6 @@ dependencies = [
|
|
|
1057
1058
|
"proc-macro2",
|
|
1058
1059
|
]
|
|
1059
1060
|
|
|
1060
|
-
[[package]]
|
|
1061
|
-
name = "r-efi"
|
|
1062
|
-
version = "5.3.0"
|
|
1063
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1064
|
-
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
1065
|
-
|
|
1066
1061
|
[[package]]
|
|
1067
1062
|
name = "r-efi"
|
|
1068
1063
|
version = "6.0.0"
|
|
@@ -1071,31 +1066,28 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
|
1071
1066
|
|
|
1072
1067
|
[[package]]
|
|
1073
1068
|
name = "rand"
|
|
1074
|
-
version = "0.
|
|
1069
|
+
version = "0.10.2"
|
|
1075
1070
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1076
|
-
checksum = "
|
|
1071
|
+
checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
|
|
1077
1072
|
dependencies = [
|
|
1078
|
-
"
|
|
1073
|
+
"chacha20",
|
|
1074
|
+
"getrandom 0.4.3",
|
|
1079
1075
|
"rand_core",
|
|
1080
1076
|
]
|
|
1081
1077
|
|
|
1082
1078
|
[[package]]
|
|
1083
|
-
name = "
|
|
1084
|
-
version = "0.
|
|
1079
|
+
name = "rand_core"
|
|
1080
|
+
version = "0.10.1"
|
|
1085
1081
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1086
|
-
checksum = "
|
|
1087
|
-
dependencies = [
|
|
1088
|
-
"ppv-lite86",
|
|
1089
|
-
"rand_core",
|
|
1090
|
-
]
|
|
1082
|
+
checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
|
|
1091
1083
|
|
|
1092
1084
|
[[package]]
|
|
1093
|
-
name = "
|
|
1094
|
-
version = "0.
|
|
1085
|
+
name = "rand_pcg"
|
|
1086
|
+
version = "0.10.2"
|
|
1095
1087
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1096
|
-
checksum = "
|
|
1088
|
+
checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a"
|
|
1097
1089
|
dependencies = [
|
|
1098
|
-
"
|
|
1090
|
+
"rand_core",
|
|
1099
1091
|
]
|
|
1100
1092
|
|
|
1101
1093
|
[[package]]
|
|
@@ -1130,9 +1122,9 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
|
|
1130
1122
|
|
|
1131
1123
|
[[package]]
|
|
1132
1124
|
name = "regex"
|
|
1133
|
-
version = "1.
|
|
1125
|
+
version = "1.13.0"
|
|
1134
1126
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1135
|
-
checksum = "
|
|
1127
|
+
checksum = "2a0e75113e14dc5acb068cd0786884f214f1312650a3d36d269f5c4f3cdee8a2"
|
|
1136
1128
|
dependencies = [
|
|
1137
1129
|
"aho-corasick",
|
|
1138
1130
|
"memchr",
|
|
@@ -1142,9 +1134,9 @@ dependencies = [
|
|
|
1142
1134
|
|
|
1143
1135
|
[[package]]
|
|
1144
1136
|
name = "regex-automata"
|
|
1145
|
-
version = "0.4.
|
|
1137
|
+
version = "0.4.15"
|
|
1146
1138
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1147
|
-
checksum = "
|
|
1139
|
+
checksum = "1f388202e4b80542a0921078cc23b6333bcf1409c1e3f86404cae4766a6131db"
|
|
1148
1140
|
dependencies = [
|
|
1149
1141
|
"aho-corasick",
|
|
1150
1142
|
"memchr",
|
|
@@ -1211,9 +1203,9 @@ dependencies = [
|
|
|
1211
1203
|
|
|
1212
1204
|
[[package]]
|
|
1213
1205
|
name = "rustc-hash"
|
|
1214
|
-
version = "2.1.
|
|
1206
|
+
version = "2.1.3"
|
|
1215
1207
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1216
|
-
checksum = "
|
|
1208
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
1217
1209
|
|
|
1218
1210
|
[[package]]
|
|
1219
1211
|
name = "rustls"
|
|
@@ -1243,9 +1235,9 @@ dependencies = [
|
|
|
1243
1235
|
|
|
1244
1236
|
[[package]]
|
|
1245
1237
|
name = "rustls-pki-types"
|
|
1246
|
-
version = "1.
|
|
1238
|
+
version = "1.15.0"
|
|
1247
1239
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1248
|
-
checksum = "
|
|
1240
|
+
checksum = "764899a24af3980067ee14bc143654f297b22eaebfe3c7b6b211920a5a59b046"
|
|
1249
1241
|
dependencies = [
|
|
1250
1242
|
"web-time",
|
|
1251
1243
|
"zeroize",
|
|
@@ -1264,9 +1256,9 @@ dependencies = [
|
|
|
1264
1256
|
|
|
1265
1257
|
[[package]]
|
|
1266
1258
|
name = "rustversion"
|
|
1267
|
-
version = "1.0.
|
|
1259
|
+
version = "1.0.23"
|
|
1268
1260
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1269
|
-
checksum = "
|
|
1261
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
1270
1262
|
|
|
1271
1263
|
[[package]]
|
|
1272
1264
|
name = "ryu"
|
|
@@ -1400,7 +1392,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1400
1392
|
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
1401
1393
|
dependencies = [
|
|
1402
1394
|
"cfg-if",
|
|
1403
|
-
"cpufeatures",
|
|
1395
|
+
"cpufeatures 0.2.17",
|
|
1404
1396
|
"digest",
|
|
1405
1397
|
]
|
|
1406
1398
|
|
|
@@ -1445,9 +1437,9 @@ checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
|
|
|
1445
1437
|
|
|
1446
1438
|
[[package]]
|
|
1447
1439
|
name = "smbcloud-auth-sdk"
|
|
1448
|
-
version = "0.4.
|
|
1440
|
+
version = "0.4.7"
|
|
1449
1441
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1450
|
-
checksum = "
|
|
1442
|
+
checksum = "03974c97cd068860c2dc4eac5281f79edc4bc8d1706451811a237332257a9461"
|
|
1451
1443
|
dependencies = [
|
|
1452
1444
|
"base64",
|
|
1453
1445
|
"reqwest",
|
|
@@ -1462,9 +1454,9 @@ dependencies = [
|
|
|
1462
1454
|
|
|
1463
1455
|
[[package]]
|
|
1464
1456
|
name = "smbcloud-model"
|
|
1465
|
-
version = "0.4.
|
|
1457
|
+
version = "0.4.7"
|
|
1466
1458
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1467
|
-
checksum = "
|
|
1459
|
+
checksum = "e77a4fba4ede67959cca5b3531f4e01f9b03be559117018dee132a5709a44ab7"
|
|
1468
1460
|
dependencies = [
|
|
1469
1461
|
"chrono",
|
|
1470
1462
|
"log",
|
|
@@ -1480,9 +1472,9 @@ dependencies = [
|
|
|
1480
1472
|
|
|
1481
1473
|
[[package]]
|
|
1482
1474
|
name = "smbcloud-network"
|
|
1483
|
-
version = "0.4.
|
|
1475
|
+
version = "0.4.7"
|
|
1484
1476
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1485
|
-
checksum = "
|
|
1477
|
+
checksum = "ba309eda605816132dfa079eb3d47d41dbcea65ca9c36efb6a4032cb6f18c25b"
|
|
1486
1478
|
dependencies = [
|
|
1487
1479
|
"clap 4.6.1",
|
|
1488
1480
|
"log",
|
|
@@ -1988,15 +1980,6 @@ version = "0.11.1+wasi-snapshot-preview1"
|
|
|
1988
1980
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1989
1981
|
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
1990
1982
|
|
|
1991
|
-
[[package]]
|
|
1992
|
-
name = "wasip2"
|
|
1993
|
-
version = "1.0.4+wasi-0.2.12"
|
|
1994
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1995
|
-
checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
|
|
1996
|
-
dependencies = [
|
|
1997
|
-
"wit-bindgen",
|
|
1998
|
-
]
|
|
1999
|
-
|
|
2000
1983
|
[[package]]
|
|
2001
1984
|
name = "wasm-bindgen"
|
|
2002
1985
|
version = "0.2.126"
|
|
@@ -2180,15 +2163,6 @@ dependencies = [
|
|
|
2180
2163
|
"windows-targets 0.52.6",
|
|
2181
2164
|
]
|
|
2182
2165
|
|
|
2183
|
-
[[package]]
|
|
2184
|
-
name = "windows-sys"
|
|
2185
|
-
version = "0.60.2"
|
|
2186
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2187
|
-
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
|
|
2188
|
-
dependencies = [
|
|
2189
|
-
"windows-targets 0.53.5",
|
|
2190
|
-
]
|
|
2191
|
-
|
|
2192
2166
|
[[package]]
|
|
2193
2167
|
name = "windows-sys"
|
|
2194
2168
|
version = "0.61.2"
|
|
@@ -2222,30 +2196,13 @@ dependencies = [
|
|
|
2222
2196
|
"windows_aarch64_gnullvm 0.52.6",
|
|
2223
2197
|
"windows_aarch64_msvc 0.52.6",
|
|
2224
2198
|
"windows_i686_gnu 0.52.6",
|
|
2225
|
-
"windows_i686_gnullvm
|
|
2199
|
+
"windows_i686_gnullvm",
|
|
2226
2200
|
"windows_i686_msvc 0.52.6",
|
|
2227
2201
|
"windows_x86_64_gnu 0.52.6",
|
|
2228
2202
|
"windows_x86_64_gnullvm 0.52.6",
|
|
2229
2203
|
"windows_x86_64_msvc 0.52.6",
|
|
2230
2204
|
]
|
|
2231
2205
|
|
|
2232
|
-
[[package]]
|
|
2233
|
-
name = "windows-targets"
|
|
2234
|
-
version = "0.53.5"
|
|
2235
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2236
|
-
checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
|
|
2237
|
-
dependencies = [
|
|
2238
|
-
"windows-link",
|
|
2239
|
-
"windows_aarch64_gnullvm 0.53.1",
|
|
2240
|
-
"windows_aarch64_msvc 0.53.1",
|
|
2241
|
-
"windows_i686_gnu 0.53.1",
|
|
2242
|
-
"windows_i686_gnullvm 0.53.1",
|
|
2243
|
-
"windows_i686_msvc 0.53.1",
|
|
2244
|
-
"windows_x86_64_gnu 0.53.1",
|
|
2245
|
-
"windows_x86_64_gnullvm 0.53.1",
|
|
2246
|
-
"windows_x86_64_msvc 0.53.1",
|
|
2247
|
-
]
|
|
2248
|
-
|
|
2249
2206
|
[[package]]
|
|
2250
2207
|
name = "windows_aarch64_gnullvm"
|
|
2251
2208
|
version = "0.48.5"
|
|
@@ -2258,12 +2215,6 @@ version = "0.52.6"
|
|
|
2258
2215
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2259
2216
|
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
2260
2217
|
|
|
2261
|
-
[[package]]
|
|
2262
|
-
name = "windows_aarch64_gnullvm"
|
|
2263
|
-
version = "0.53.1"
|
|
2264
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2265
|
-
checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
|
|
2266
|
-
|
|
2267
2218
|
[[package]]
|
|
2268
2219
|
name = "windows_aarch64_msvc"
|
|
2269
2220
|
version = "0.48.5"
|
|
@@ -2276,12 +2227,6 @@ version = "0.52.6"
|
|
|
2276
2227
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2277
2228
|
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
2278
2229
|
|
|
2279
|
-
[[package]]
|
|
2280
|
-
name = "windows_aarch64_msvc"
|
|
2281
|
-
version = "0.53.1"
|
|
2282
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2283
|
-
checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
|
|
2284
|
-
|
|
2285
2230
|
[[package]]
|
|
2286
2231
|
name = "windows_i686_gnu"
|
|
2287
2232
|
version = "0.48.5"
|
|
@@ -2294,24 +2239,12 @@ version = "0.52.6"
|
|
|
2294
2239
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2295
2240
|
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
2296
2241
|
|
|
2297
|
-
[[package]]
|
|
2298
|
-
name = "windows_i686_gnu"
|
|
2299
|
-
version = "0.53.1"
|
|
2300
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2301
|
-
checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
|
|
2302
|
-
|
|
2303
2242
|
[[package]]
|
|
2304
2243
|
name = "windows_i686_gnullvm"
|
|
2305
2244
|
version = "0.52.6"
|
|
2306
2245
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2307
2246
|
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
2308
2247
|
|
|
2309
|
-
[[package]]
|
|
2310
|
-
name = "windows_i686_gnullvm"
|
|
2311
|
-
version = "0.53.1"
|
|
2312
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2313
|
-
checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
|
|
2314
|
-
|
|
2315
2248
|
[[package]]
|
|
2316
2249
|
name = "windows_i686_msvc"
|
|
2317
2250
|
version = "0.48.5"
|
|
@@ -2324,12 +2257,6 @@ version = "0.52.6"
|
|
|
2324
2257
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2325
2258
|
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
2326
2259
|
|
|
2327
|
-
[[package]]
|
|
2328
|
-
name = "windows_i686_msvc"
|
|
2329
|
-
version = "0.53.1"
|
|
2330
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2331
|
-
checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
|
|
2332
|
-
|
|
2333
2260
|
[[package]]
|
|
2334
2261
|
name = "windows_x86_64_gnu"
|
|
2335
2262
|
version = "0.48.5"
|
|
@@ -2342,12 +2269,6 @@ version = "0.52.6"
|
|
|
2342
2269
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2343
2270
|
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
2344
2271
|
|
|
2345
|
-
[[package]]
|
|
2346
|
-
name = "windows_x86_64_gnu"
|
|
2347
|
-
version = "0.53.1"
|
|
2348
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2349
|
-
checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
|
|
2350
|
-
|
|
2351
2272
|
[[package]]
|
|
2352
2273
|
name = "windows_x86_64_gnullvm"
|
|
2353
2274
|
version = "0.48.5"
|
|
@@ -2360,12 +2281,6 @@ version = "0.52.6"
|
|
|
2360
2281
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2361
2282
|
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
2362
2283
|
|
|
2363
|
-
[[package]]
|
|
2364
|
-
name = "windows_x86_64_gnullvm"
|
|
2365
|
-
version = "0.53.1"
|
|
2366
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2367
|
-
checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
|
|
2368
|
-
|
|
2369
2284
|
[[package]]
|
|
2370
2285
|
name = "windows_x86_64_msvc"
|
|
2371
2286
|
version = "0.48.5"
|
|
@@ -2378,18 +2293,6 @@ version = "0.52.6"
|
|
|
2378
2293
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2379
2294
|
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
2380
2295
|
|
|
2381
|
-
[[package]]
|
|
2382
|
-
name = "windows_x86_64_msvc"
|
|
2383
|
-
version = "0.53.1"
|
|
2384
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2385
|
-
checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
|
|
2386
|
-
|
|
2387
|
-
[[package]]
|
|
2388
|
-
name = "wit-bindgen"
|
|
2389
|
-
version = "0.57.1"
|
|
2390
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2391
|
-
checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
|
|
2392
|
-
|
|
2393
2296
|
[[package]]
|
|
2394
2297
|
name = "writeable"
|
|
2395
2298
|
version = "0.6.3"
|
|
@@ -2419,26 +2322,6 @@ dependencies = [
|
|
|
2419
2322
|
"synstructure",
|
|
2420
2323
|
]
|
|
2421
2324
|
|
|
2422
|
-
[[package]]
|
|
2423
|
-
name = "zerocopy"
|
|
2424
|
-
version = "0.8.52"
|
|
2425
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2426
|
-
checksum = "ce1022995ff5ff5d841ad7d994facc23098cd40152f2c1d11cd607c6f530653f"
|
|
2427
|
-
dependencies = [
|
|
2428
|
-
"zerocopy-derive",
|
|
2429
|
-
]
|
|
2430
|
-
|
|
2431
|
-
[[package]]
|
|
2432
|
-
name = "zerocopy-derive"
|
|
2433
|
-
version = "0.8.52"
|
|
2434
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2435
|
-
checksum = "1ae7f38b72ec2a254e2b87ef277cf2cd4fb97cbebf944faa6f33354da0867930"
|
|
2436
|
-
dependencies = [
|
|
2437
|
-
"proc-macro2",
|
|
2438
|
-
"quote",
|
|
2439
|
-
"syn 2.0.118",
|
|
2440
|
-
]
|
|
2441
|
-
|
|
2442
2325
|
[[package]]
|
|
2443
2326
|
name = "zerofrom"
|
|
2444
2327
|
version = "0.1.8"
|
data/README.md
CHANGED
data/Rakefile
CHANGED
|
@@ -11,4 +11,22 @@ RbSys::ExtensionTask.new('auth', GEMSPEC) do |ext|
|
|
|
11
11
|
ext.lib_dir = 'lib/auth'
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
# macOS: the rb_sys/rake-compiler build emits the bundle as an MH_DYLIB with an
|
|
15
|
+
# empty LC_ID_DYLIB install name (a plain `cargo build` does not). dyld on macOS
|
|
16
|
+
# 15+/Tahoe rejects that with "load command string extends beyond end of load
|
|
17
|
+
# command", so the gem fails to load. Stamp a valid install name onto every
|
|
18
|
+
# bundle the build produces by enhancing the bundle file tasks themselves (which
|
|
19
|
+
# is what `rake native gem` runs, not the top-level `compile`). install_name_tool
|
|
20
|
+
# re-signs ad-hoc, ships on the macOS gem-build runners, and works across archs
|
|
21
|
+
# (cross-built x86_64 bundles too). Idempotent.
|
|
22
|
+
if RbConfig::CONFIG['host_os'] =~ /darwin/
|
|
23
|
+
Rake::Task.tasks.each do |t|
|
|
24
|
+
next unless t.name.end_with?('auth.bundle')
|
|
25
|
+
|
|
26
|
+
t.enhance do
|
|
27
|
+
sh 'install_name_tool', '-id', '@rpath/auth.bundle', t.name if File.exist?(t.name)
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
14
32
|
task default: :compile
|
data/ext/auth/Cargo.toml
CHANGED
data/ext/auth/extconf.rb
CHANGED
|
@@ -4,3 +4,15 @@ require 'mkmf'
|
|
|
4
4
|
require 'rb_sys/mkmf'
|
|
5
5
|
|
|
6
6
|
create_rust_makefile('auth/auth')
|
|
7
|
+
|
|
8
|
+
# rb-sys (fixup_libnames) appends `install_name_tool -id "" $(DLLIB)` to the
|
|
9
|
+
# generated Makefile, blanking the bundle's LC_ID_DYLIB install name. dyld on
|
|
10
|
+
# macOS 26/27 rejects an empty dylib-ID string ("load command string extends
|
|
11
|
+
# beyond end of load command"), so the extension fails to dlopen. Rewrite that
|
|
12
|
+
# step to stamp a valid @rpath id instead. This covers the `gem install`
|
|
13
|
+
# (extconf) build path; the Rakefile covers `rake native gem` builds.
|
|
14
|
+
if RUBY_PLATFORM.include?('darwin') && File.exist?('Makefile')
|
|
15
|
+
makefile = File.read('Makefile')
|
|
16
|
+
patched = makefile.gsub('install_name_tool -id ""', 'install_name_tool -id "@rpath/auth.bundle"')
|
|
17
|
+
File.write('Makefile', patched) if patched != makefile
|
|
18
|
+
end
|
data/lib/auth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smbcloud-auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seto Elkahfi
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-07-10 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: json
|