@dxos/credentials 2.33.9-dev.b6f4ca19 → 2.33.9-dev.d0ae5f95
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.
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": {
|
|
3
|
+
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "b244e85cfdb47b1a4acf350ebdf0f6a24b988361",
|
|
4
|
+
"packages/halo/credentials/.eslintrc.js": "8c186197e908188715a6c9635941ec4b7896c787",
|
|
5
|
+
"packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
|
|
6
|
+
"packages/halo/credentials/package.json": "ec2d638856c5d301ba67cac6c35bd9bad434583e",
|
|
7
|
+
"packages/halo/credentials/src/auth/auth-message.ts": "7b358a1b61331154a7753942ee298562871a7837",
|
|
8
|
+
"packages/halo/credentials/src/auth/auth-plugin.test.ts": "d6f401b531c3283b9a3aff46484789a145b10da5",
|
|
9
|
+
"packages/halo/credentials/src/auth/auth-plugin.ts": "799abc7a90bf045f799458a47091a3de7de4a1a9",
|
|
10
|
+
"packages/halo/credentials/src/auth/auth.test.ts": "c0fdab964c9dc19fe16775b6f1275dc572ec28fc",
|
|
11
|
+
"packages/halo/credentials/src/auth/authenticator.ts": "11605a3921db2b5e0eba380dc06650834a0e0f27",
|
|
12
|
+
"packages/halo/credentials/src/auth/error-codes.ts": "6949e70399430cc44a5cc7d4a24ee7cace599ffe",
|
|
13
|
+
"packages/halo/credentials/src/auth/index.ts": "c4a66cb0a4bb9f8f1e0abf6d429296617b11633b",
|
|
14
|
+
"packages/halo/credentials/src/greet/constants.ts": "195d88c13f436c94d499bd8ee3d62481e35e502f",
|
|
15
|
+
"packages/halo/credentials/src/greet/error-codes.ts": "93f2d4ddbf4f93507855529d7a5091ed4de8c90e",
|
|
16
|
+
"packages/halo/credentials/src/greet/greeter-plugin.test.ts": "749f1abdece0442563c0e9e226f8c8c51d6bbd41",
|
|
17
|
+
"packages/halo/credentials/src/greet/greeter.test.js": "dee7a8155ca2c89d3b6c9cbcb845c17c7eb1dddf",
|
|
18
|
+
"packages/halo/credentials/src/greet/greeter.ts": "8baa7c37d5923457ba260cbaeabba2acaec53d97",
|
|
19
|
+
"packages/halo/credentials/src/greet/greeting-command-plugin.ts": "8244bc3eb7768e0d9872a4acd814c8015a312687",
|
|
20
|
+
"packages/halo/credentials/src/greet/greeting-message.ts": "c7cd305bf2c9630feda7caa8b83c8bfcc3d8b825",
|
|
21
|
+
"packages/halo/credentials/src/greet/index.ts": "27c8d16082512564760dd56a7e0a33bbb47143e7",
|
|
22
|
+
"packages/halo/credentials/src/greet/invitation.ts": "8f5a178165da28b953881c7891cbb35a3dc6a8da",
|
|
23
|
+
"packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "93c172397b0bf9dfac810d129c828e7a6c6fabc8",
|
|
24
|
+
"packages/halo/credentials/src/greet/passcode.ts": "8e1dbcc8bf471b9e71a4928b32cd8f78262d748a",
|
|
25
|
+
"packages/halo/credentials/src/identity/events.ts": "e246b3c0d36466d5bcd376f715debdcd625546c5",
|
|
26
|
+
"packages/halo/credentials/src/identity/identity-message-processor.ts": "1002c6286dcc4e0eb4a5b75b48f732e7b8004cd9",
|
|
27
|
+
"packages/halo/credentials/src/identity/identity-message.ts": "985314c1d06e04a5a960f91eafc9ae6da202b111",
|
|
28
|
+
"packages/halo/credentials/src/identity/index.ts": "9a8a89b670b19503d0bd84d07cc3caa0eec42491",
|
|
29
|
+
"packages/halo/credentials/src/identity/seedphrase.test.ts": "9275e40662c2e8f71de03199146329ec15c81e6f",
|
|
30
|
+
"packages/halo/credentials/src/identity/seedphrase.ts": "c89e2a10c3de55f8ed3879e1b854bfc1c51d27f0",
|
|
31
|
+
"packages/halo/credentials/src/index.ts": "86006625e8875fb5ae7fcc2e77954bc9c6b07d73",
|
|
32
|
+
"packages/halo/credentials/src/keys/README.md": "593ff3672447c5561d891f9e5cd6f8b1218d9cdd",
|
|
33
|
+
"packages/halo/credentials/src/keys/filter.test.js": "882ae21a88b4065471616ac08cb10ec537a38bde",
|
|
34
|
+
"packages/halo/credentials/src/keys/filter.ts": "d16e150ccbc69b40b3a0d8afac05f763e37e2a3d",
|
|
35
|
+
"packages/halo/credentials/src/keys/index.ts": "0319187cd75685b856deb44d887e9af389e91fa9",
|
|
36
|
+
"packages/halo/credentials/src/keys/keyring-helpers.ts": "68f290057daa68baecc4ba83293480fdcf4dbd8b",
|
|
37
|
+
"packages/halo/credentials/src/keys/keyring.test.ts": "dd59ea4478f82a04f2b5f6b3ac291e2bcd8ab0f4",
|
|
38
|
+
"packages/halo/credentials/src/keys/keyring.ts": "e836be552124c142f09164a2c73e809a1716d6c4",
|
|
39
|
+
"packages/halo/credentials/src/keys/keystore.test.js": "c810fd1c1db191122dafbbf4f7d0acce12cb8065",
|
|
40
|
+
"packages/halo/credentials/src/keys/keystore.ts": "97dced3a329139faee35062b7d6d9d28ddba3df4",
|
|
41
|
+
"packages/halo/credentials/src/keys/keytype.ts": "499be4ecd6b66fac896d0b3e615af027cad19f65",
|
|
42
|
+
"packages/halo/credentials/src/keys/signer.ts": "9a774bd508d88c6fb0c8edbae670c3134848dfdc",
|
|
43
|
+
"packages/halo/credentials/src/keys/simple-metrics.ts": "819fe8021c5797a05140bcb2733cc7028d1363fd",
|
|
44
|
+
"packages/halo/credentials/src/party/events.ts": "a99049a589ec5fd5190cd5770d161d21a4bc80d5",
|
|
45
|
+
"packages/halo/credentials/src/party/index.ts": "ccb02b656cf612c45e7dedba4f396fd42e78efa9",
|
|
46
|
+
"packages/halo/credentials/src/party/party-credential.ts": "7b89a4bd82647ae8a612207f5fd504c172f5ab80",
|
|
47
|
+
"packages/halo/credentials/src/party/party-invitation-manager.ts": "6687457ad2acb82798eb57e1420c58777e199e64",
|
|
48
|
+
"packages/halo/credentials/src/party/party-invitations.test.js": "c936e97e6798f32fe330241b6c137abe49494f1f",
|
|
49
|
+
"packages/halo/credentials/src/party/party-state.test.js": "66e283e1e3b53585605659f0334cf53001061eda",
|
|
50
|
+
"packages/halo/credentials/src/party/party-state.ts": "5b3dd7d94db0683464456df118e9c505c021ea8e",
|
|
51
|
+
"packages/halo/credentials/src/proto/any.ts": "105c5acfd71c4295eb43344199897e100e3e94cd",
|
|
52
|
+
"packages/halo/credentials/src/proto/codec.ts": "8abef0896530ddfe71aa382c1906528b3bc00926",
|
|
53
|
+
"packages/halo/credentials/src/proto/datetime.ts": "6b97cac40b80a7a5e54f4f6d6a2a396fa684af9b",
|
|
54
|
+
"packages/halo/credentials/src/proto/defs/import.proto": "ff3982e0053697ef1f2a0edd273b813e25e92a6c",
|
|
55
|
+
"packages/halo/credentials/src/proto/index.ts": "d7b2823fd389cbce0684ad7f964e1db02f4df05d",
|
|
56
|
+
"packages/halo/credentials/src/proto/substitutions.ts": "28517a90c76705ba33a9d244c3b3dab1d64f2409",
|
|
57
|
+
"packages/halo/credentials/src/shims.d.ts": "8c9f4db12f5c348bdb0651be9592edcc488e1cfc",
|
|
58
|
+
"packages/halo/credentials/src/typedefs.ts": "dc2f10117831f97ce8ebd854f246b40bb48d273c",
|
|
59
|
+
"packages/halo/credentials/tsconfig.json": "4864ac82d974c1e527c27b7ba4efb0166af39cc4"
|
|
60
|
+
},
|
|
61
|
+
"arguments": "toolchain build "
|
|
62
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "
|
|
3
|
+
"packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "b244e85cfdb47b1a4acf350ebdf0f6a24b988361",
|
|
4
4
|
"packages/halo/credentials/.eslintrc.js": "8c186197e908188715a6c9635941ec4b7896c787",
|
|
5
5
|
"packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
|
|
6
6
|
"packages/halo/credentials/package.json": "ec2d638856c5d301ba67cac6c35bd9bad434583e",
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"/@babel/code-frame/7.12.11": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",
|
|
4
4
|
"/@babel/code-frame/7.18.6": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
|
|
5
5
|
"/@babel/helper-validator-identifier/7.18.6": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==",
|
|
6
|
-
"/@babel/highlight/7.16.0": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",
|
|
7
6
|
"/@babel/highlight/7.18.6": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==",
|
|
8
7
|
"/@dxos/eslint-plugin/1.0.34_hxadhbs2xogijvk7vq4t2azzbu": "sha512-9PtKGEh/X6SoCxu1r5pS8RrJgb0joerMtV8W4fikb01+yIHFqyRRztkqJAKe3uaCkSHfucAd53Bfzbxiieq6sw==",
|
|
9
8
|
"/@eslint/eslintrc/0.4.3": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==",
|
|
@@ -255,7 +254,6 @@
|
|
|
255
254
|
"/memdown/5.1.0": "sha512-B3J+UizMRAlEArDjWHTMmadet+UKwHd3UjMgGBkZcKAxAYVPS9o0Yeiha4qvz7iGiL2Sb3igUft6p7nbFWctpw==",
|
|
256
255
|
"/merge2/1.4.1": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
|
|
257
256
|
"/micromatch/4.0.5": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
|
|
258
|
-
"/minimatch/3.0.4": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
|
259
257
|
"/minimatch/3.1.2": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
|
260
258
|
"/minimist/1.2.5": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
|
|
261
259
|
"/moment/2.29.1": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==",
|
|
@@ -314,7 +312,6 @@
|
|
|
314
312
|
"/run-parallel/1.2.0": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
|
|
315
313
|
"/safe-buffer/5.2.1": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
|
316
314
|
"/semver/6.3.0": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
|
|
317
|
-
"/semver/7.3.5": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
|
|
318
315
|
"/semver/7.3.7": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==",
|
|
319
316
|
"/sha.js/2.4.11": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
|
|
320
317
|
"/shebang-command/2.0.0": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
|
|
@@ -322,7 +319,7 @@
|
|
|
322
319
|
"/side-channel/1.0.4": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
|
|
323
320
|
"/slash/3.0.0": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
|
|
324
321
|
"/slice-ansi/4.0.0": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
|
|
325
|
-
"/sprintf-js/1.0.3": "
|
|
322
|
+
"/sprintf-js/1.0.3": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
|
|
326
323
|
"/stack-utils/2.0.5": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==",
|
|
327
324
|
"/stream-to-array/2.3.0": "sha1-u/azn19D7DC8cbq8s3VXrOzzQ1M=",
|
|
328
325
|
"/string-width/4.2.3": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
|
@@ -339,7 +336,7 @@
|
|
|
339
336
|
"/supports-color/7.2.0": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
|
340
337
|
"/supports-preserve-symlinks-flag/1.0.0": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
|
|
341
338
|
"/table/6.7.5": "sha512-LFNeryOqiQHqCVKzhkymKwt6ozeRhlm8IL1mE8rNUurkir4heF6PzMyRgaTa4tlyPTGGgXuvVOF/OLWiH09Lqw==",
|
|
342
|
-
"/text-table/0.2.0": "
|
|
339
|
+
"/text-table/0.2.0": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
|
|
343
340
|
"/to-regex-range/5.0.1": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
|
|
344
341
|
"/tsconfig-paths/3.12.0": "sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==",
|
|
345
342
|
"/tslib/1.14.1": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
|
package/credentials.build.log
CHANGED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
Invoking: toolchain build:test
|
|
2
|
-
|
|
3
|
-
Tests started
|
|
4
|
-
Protobuf
|
|
5
|
-
Compiling protobuf definitions
|
|
6
|
-
|
|
7
|
-
Proto file(s): /home/github/_work/protocols/protocols/packages/halo/credentials/src/proto/defs/import.proto
|
|
8
|
-
Substitution file: /home/github/_work/protocols/protocols/packages/halo/credentials/src/proto/substitutions.ts
|
|
9
|
-
Output directory: /home/github/_work/protocols/protocols/packages/halo/credentials/src/proto/gen
|
|
10
|
-
|
|
11
|
-
Loaded 3 substitutions:
|
|
12
|
-
|
|
13
|
-
dxos.halo.keys.PubKey -> import("/home/github/_work/protocols/protocols/packages/common/protocols/dist/src/public-key").PublicKey
|
|
14
|
-
dxos.halo.keys.PrivKey -> Buffer
|
|
15
|
-
google.protobuf.Any -> any
|
|
16
|
-
|
|
17
|
-
OK in 3947 ms
|
|
18
|
-
|
|
19
|
-
Typescript
|
|
20
|
-
OK in 4532 ms
|
|
21
|
-
/home/github/_work/protocols/protocols/packages/halo/credentials/src/auth/auth-plugin.test.ts(151,1): warning jest/expect-expect : Test has no assertions
|
|
22
|
-
/home/github/_work/protocols/protocols/packages/halo/credentials/src/greet/greeter.test.js(34,1): warning jest/expect-expect : Test has no assertions
|
|
23
|
-
/home/github/_work/protocols/protocols/packages/halo/credentials/src/keys/keyring.test.ts(378,1): warning jest/expect-expect : Test has no assertions
|
|
24
|
-
|
|
25
|
-
3 problems
|
|
26
|
-
OK in 7153 ms
|
|
27
|
-
|
|
28
|
-
Mocha Tests
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
✓ Auth Plugin (GOOD) (85ms)
|
|
32
|
-
✓ Auth & Repl (GOOD) (102ms)
|
|
33
|
-
✓ Greeting Flow using GreetingCommandPlugin (38ms)
|
|
34
|
-
✓ Good invitation
|
|
35
|
-
✓ Bad invitation secret
|
|
36
|
-
✓ Attempt to re-use invitation
|
|
37
|
-
✓ Wrong partyKey
|
|
38
|
-
✓ Create Invitation message
|
|
39
|
-
✓ WellKnownType params - BytesValue
|
|
40
|
-
✓ Basic bip39 operations work
|
|
41
|
-
✓ Create keypair from seedphrase
|
|
42
|
-
✓ Create cold identity key and recover
|
|
43
|
-
✓ Basic filter
|
|
44
|
-
✓ Basic AND filter
|
|
45
|
-
✓ Generate keys
|
|
46
|
-
✓ Update a key
|
|
47
|
-
✓ Bad key attributes
|
|
48
|
-
✓ Add/retrieve single keyRecord from an external source
|
|
49
|
-
✓ Try to add/retrieve a publicKey from an external source (with secret present)
|
|
50
|
-
✓ Add/retrieve a publicKey from an external source (without secret present)
|
|
51
|
-
✓ Retrieve a non-existent key
|
|
52
|
-
✓ Sign and verify a message with a single key
|
|
53
|
-
✓ Sign and verify a message with multiple keys
|
|
54
|
-
✓ Sign and verify a message using a key chain
|
|
55
|
-
✓ Attempt to sign a message with a publicKey
|
|
56
|
-
✓ Attempt to add a badly formatted key
|
|
57
|
-
✓ Attempt to add a keyRecord missing its secretKey
|
|
58
|
-
✓ Attempt to add a keyRecord missing its publicKey
|
|
59
|
-
✓ Attempt to add keyRecord with reversed publicKey/secretKey
|
|
60
|
-
✓ Attempt to add secretKey as a publicKey
|
|
61
|
-
✓ Tamper with the contents of a signed message
|
|
62
|
-
✓ Tamper with the signature of a signed message
|
|
63
|
-
✓ Tamper with the signature key of a signed message
|
|
64
|
-
✓ To/from JSON
|
|
65
|
-
✓ Raw sign
|
|
66
|
-
✓ To/from Protobuf
|
|
67
|
-
✓ Authenticate flow for Kube/Keyhole authentication
|
|
68
|
-
✓ Storing DXNS Address keys
|
|
69
|
-
✓ Basic store operations
|
|
70
|
-
✓ reloading
|
|
71
|
-
✓ PartyInvitation messages
|
|
72
|
-
✓ Process basic message types
|
|
73
|
-
✓ GreetingCommandPlugin envelopes
|
|
74
|
-
✓ Reject message from unknown source
|
|
75
|
-
✓ Message signed by known and unknown key should not admit unknown key
|
|
76
|
-
✓ Reject Genesis not signed by Party key
|
|
77
|
-
✓ Reject admit key message with wrong Party
|
|
78
|
-
✓ Reject admit feed message with wrong Party
|
|
79
|
-
✓ Reject tampered Genesis message
|
|
80
|
-
✓ Reject tampered admit feed message
|
|
81
|
-
✓ Reject tampered admit key message
|
|
82
|
-
PartyAuthenticator
|
|
83
|
-
✓ Chain of Keys
|
|
84
|
-
✓ good direct
|
|
85
|
-
✓ auth callback is called
|
|
86
|
-
✓ good chain
|
|
87
|
-
✓ bad chain
|
|
88
|
-
✓ wrong key
|
|
89
|
-
✓ wrong party
|
|
90
|
-
✓ missing deviceKey
|
|
91
|
-
✓ tampered message
|
|
92
|
-
✓ tampered signature
|
|
93
|
-
✓ signature too old
|
|
94
|
-
✓ signature too far in future
|
|
95
|
-
✓ signature date invalid
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
64 passing (604ms)
|
|
99
|
-
|
|
100
|
-
OK in 1669 ms
|
|
101
|
-
|
|
102
|
-
Tests complete in 17311 ms
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/credentials",
|
|
3
|
-
"version": "2.33.9-dev.
|
|
3
|
+
"version": "2.33.9-dev.d0ae5f95",
|
|
4
4
|
"description": "DXOS Credentials",
|
|
5
5
|
"homepage": "https://github.com/dxos/halo/tree/master/packages/credentials#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"> 5%"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dxos/async": "2.33.9-dev.
|
|
24
|
-
"@dxos/codec-protobuf": "2.33.9-dev.
|
|
25
|
-
"@dxos/crypto": "2.33.9-dev.
|
|
26
|
-
"@dxos/debug": "2.33.9-dev.
|
|
27
|
-
"@dxos/feed-store": "2.33.9-dev.
|
|
28
|
-
"@dxos/mesh-protocol": "2.33.9-dev.
|
|
29
|
-
"@dxos/protocols": "2.33.9-dev.
|
|
30
|
-
"@dxos/util": "2.33.9-dev.
|
|
23
|
+
"@dxos/async": "2.33.9-dev.d0ae5f95",
|
|
24
|
+
"@dxos/codec-protobuf": "2.33.9-dev.d0ae5f95",
|
|
25
|
+
"@dxos/crypto": "2.33.9-dev.d0ae5f95",
|
|
26
|
+
"@dxos/debug": "2.33.9-dev.d0ae5f95",
|
|
27
|
+
"@dxos/feed-store": "2.33.9-dev.d0ae5f95",
|
|
28
|
+
"@dxos/mesh-protocol": "2.33.9-dev.d0ae5f95",
|
|
29
|
+
"@dxos/protocols": "2.33.9-dev.d0ae5f95",
|
|
30
|
+
"@dxos/util": "2.33.9-dev.d0ae5f95",
|
|
31
31
|
"assert": "^2.0.0",
|
|
32
32
|
"bip39": "^3.0.4",
|
|
33
33
|
"buffer-json-encoding": "^1.0.2",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@dxos/eslint-plugin": "~1.0.34",
|
|
49
|
-
"@dxos/protocol-plugin-replicator": "2.33.9-dev.
|
|
49
|
+
"@dxos/protocol-plugin-replicator": "2.33.9-dev.d0ae5f95",
|
|
50
50
|
"@dxos/protocols-toolchain": "2.33.8",
|
|
51
|
-
"@dxos/random-access-multi-storage": "2.33.9-dev.
|
|
51
|
+
"@dxos/random-access-multi-storage": "2.33.9-dev.d0ae5f95",
|
|
52
52
|
"@types/debug": "^4.1.7",
|
|
53
53
|
"@types/encoding-down": "^5.0.0",
|
|
54
54
|
"@types/end-of-stream": "^1.4.0",
|