@dxos/credentials 2.33.9-dev.2637427f → 2.33.9-dev.518bb717
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.
- package/.rush/temp/package-deps_build.json +62 -0
- package/credentials.build.log +0 -102
- package/package.json +11 -11
|
@@ -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": "806d7681043a5031957b8cfccf6be5303b157b32",
|
|
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
|
+
}
|
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 3201 ms
|
|
18
|
-
|
|
19
|
-
Typescript
|
|
20
|
-
OK in 4106 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 7865 ms
|
|
27
|
-
|
|
28
|
-
Mocha Tests
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
✓ Auth Plugin (GOOD) (85ms)
|
|
32
|
-
✓ Auth & Repl (GOOD) (106ms)
|
|
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 (645ms)
|
|
99
|
-
|
|
100
|
-
OK in 1992 ms
|
|
101
|
-
|
|
102
|
-
Tests complete in 17193 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.518bb717",
|
|
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.518bb717",
|
|
24
|
+
"@dxos/codec-protobuf": "2.33.9-dev.518bb717",
|
|
25
|
+
"@dxos/crypto": "2.33.9-dev.518bb717",
|
|
26
|
+
"@dxos/debug": "2.33.9-dev.518bb717",
|
|
27
|
+
"@dxos/feed-store": "2.33.9-dev.518bb717",
|
|
28
|
+
"@dxos/mesh-protocol": "2.33.9-dev.518bb717",
|
|
29
|
+
"@dxos/protocols": "2.33.9-dev.518bb717",
|
|
30
|
+
"@dxos/util": "2.33.9-dev.518bb717",
|
|
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.518bb717",
|
|
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.518bb717",
|
|
52
52
|
"@types/debug": "^4.1.7",
|
|
53
53
|
"@types/encoding-down": "^5.0.0",
|
|
54
54
|
"@types/end-of-stream": "^1.4.0",
|