@dxos/credentials 2.24.1-dev.3a8cd54e → 2.24.1-dev.49b9f420

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,60 @@
1
+ {
2
+ "files": {
3
+ "packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "bd0c18bad745eec21b36159dd1db1033449a6a43",
4
+ "packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
5
+ "packages/halo/credentials/package.json": "fbe83dbb205d76c4bbc082f74e10ec566c545390",
6
+ "packages/halo/credentials/src/auth/auth-message.ts": "c90d8b73215d20b59f922f97b52973dec69c0f40",
7
+ "packages/halo/credentials/src/auth/auth-plugin.test.ts": "8137ba367cb7c957b0a807e073f9135cb43cb7a5",
8
+ "packages/halo/credentials/src/auth/auth-plugin.ts": "bd396849819fafc210bc093f0c6afa07e9fe782b",
9
+ "packages/halo/credentials/src/auth/auth.test.js": "7fb1b0559205f55ad92c3e5e3d55f0f37bf5d2f2",
10
+ "packages/halo/credentials/src/auth/authenticator.ts": "fb21df5d13bb9c751d7c00b07ff255a572d8b5e8",
11
+ "packages/halo/credentials/src/auth/error-codes.ts": "6949e70399430cc44a5cc7d4a24ee7cace599ffe",
12
+ "packages/halo/credentials/src/auth/index.ts": "c4a66cb0a4bb9f8f1e0abf6d429296617b11633b",
13
+ "packages/halo/credentials/src/greet/constants.ts": "195d88c13f436c94d499bd8ee3d62481e35e502f",
14
+ "packages/halo/credentials/src/greet/error-codes.ts": "93f2d4ddbf4f93507855529d7a5091ed4de8c90e",
15
+ "packages/halo/credentials/src/greet/greeter-plugin.test.ts": "6fbec01c2d14070948931a26e4a9089e250df682",
16
+ "packages/halo/credentials/src/greet/greeter.test.js": "ac939d04171092eee41a596d4ce15cbc13a1046b",
17
+ "packages/halo/credentials/src/greet/greeter.ts": "67581c7678d6e89caba4a8ae4388a1e8d9489bf7",
18
+ "packages/halo/credentials/src/greet/greeting-command-plugin.ts": "5e25ed861b7e47f92bce306127852812db4c5964",
19
+ "packages/halo/credentials/src/greet/greeting-message.ts": "17fc5100458a56aee74a40012bf753ad1d04ff09",
20
+ "packages/halo/credentials/src/greet/index.ts": "27c8d16082512564760dd56a7e0a33bbb47143e7",
21
+ "packages/halo/credentials/src/greet/invitation.ts": "dab95c70482bba53c6292068bfd73306efcf0e64",
22
+ "packages/halo/credentials/src/greet/party-invitation-claim-handler.ts": "b1a7dbb74b3041fa64f418a6694dc48af63d7cf7",
23
+ "packages/halo/credentials/src/greet/passcode.ts": "8e1dbcc8bf471b9e71a4928b32cd8f78262d748a",
24
+ "packages/halo/credentials/src/identity/events.ts": "e246b3c0d36466d5bcd376f715debdcd625546c5",
25
+ "packages/halo/credentials/src/identity/identity-message-processor.ts": "905368fc571dc4d9b89e2efabc2b719c10cc0bc1",
26
+ "packages/halo/credentials/src/identity/identity-message.ts": "3b25b551a31edeeb54716091819e725d6c66e7e7",
27
+ "packages/halo/credentials/src/identity/index.ts": "7d09e9eb35b68b83b45e74a0b0c94b6e8f2e4165",
28
+ "packages/halo/credentials/src/identity/seedphrase.test.ts": "2b8de32fc041890a73fbaeb6c5a1394113f84e03",
29
+ "packages/halo/credentials/src/index.ts": "86006625e8875fb5ae7fcc2e77954bc9c6b07d73",
30
+ "packages/halo/credentials/src/keys/README.md": "593ff3672447c5561d891f9e5cd6f8b1218d9cdd",
31
+ "packages/halo/credentials/src/keys/filter.test.js": "882ae21a88b4065471616ac08cb10ec537a38bde",
32
+ "packages/halo/credentials/src/keys/filter.ts": "2dc32d666b49b6562929786c3c9f9a52171e6fc3",
33
+ "packages/halo/credentials/src/keys/index.ts": "0319187cd75685b856deb44d887e9af389e91fa9",
34
+ "packages/halo/credentials/src/keys/keyring-helpers.ts": "31bb5eb2088f6705ea20912b20ef6f2b4f760c36",
35
+ "packages/halo/credentials/src/keys/keyring.test.ts": "5aef801d358514ca36db84a26210487b5433c07b",
36
+ "packages/halo/credentials/src/keys/keyring.ts": "8324f1cbe804b9e4c63a89f08c9a42d2349d9847",
37
+ "packages/halo/credentials/src/keys/keystore.test.js": "c810fd1c1db191122dafbbf4f7d0acce12cb8065",
38
+ "packages/halo/credentials/src/keys/keystore.ts": "fcd0bf674b8b75825c5c6eb0c482c7b50c9b2129",
39
+ "packages/halo/credentials/src/keys/keytype.ts": "9a4451ec1cb535773aa2217f9626c62afd16ee16",
40
+ "packages/halo/credentials/src/keys/signer.ts": "91ea1cf156e020e1bc1b6ab809b3de422ac4b458",
41
+ "packages/halo/credentials/src/keys/simple-metrics.ts": "819fe8021c5797a05140bcb2733cc7028d1363fd",
42
+ "packages/halo/credentials/src/party/events.ts": "a99049a589ec5fd5190cd5770d161d21a4bc80d5",
43
+ "packages/halo/credentials/src/party/index.ts": "ccb02b656cf612c45e7dedba4f396fd42e78efa9",
44
+ "packages/halo/credentials/src/party/party-credential.ts": "7fb377aa41f964cf238380289864f53f7ef4815b",
45
+ "packages/halo/credentials/src/party/party-invitation-manager.ts": "6508c728c0eb423374ff8b016753363ba2cf8630",
46
+ "packages/halo/credentials/src/party/party-invitations.test.js": "3864023c3b4b0e10f3e57aae77a72c62d2ae10a8",
47
+ "packages/halo/credentials/src/party/party-state.test.js": "aaa06730aa5f99b60770e4f713790a3df09bf01f",
48
+ "packages/halo/credentials/src/party/party-state.ts": "486d7a627ccebd4206ed58882ba80b74c7bd37e1",
49
+ "packages/halo/credentials/src/proto/any.ts": "054dac40972e2095666f9c65286b1b6714202640",
50
+ "packages/halo/credentials/src/proto/codec.ts": "8abef0896530ddfe71aa382c1906528b3bc00926",
51
+ "packages/halo/credentials/src/proto/datetime.ts": "3ef4b73a5f1c8389f17b0f8599413db451a1fd76",
52
+ "packages/halo/credentials/src/proto/defs/import.proto": "cc8b7462acc23e9e0e107f395fe03744ebd82230",
53
+ "packages/halo/credentials/src/proto/index.ts": "d7b2823fd389cbce0684ad7f964e1db02f4df05d",
54
+ "packages/halo/credentials/src/proto/substitutions.ts": "2feb8f7152961dff8fb7c2b2202e6b9d917c1702",
55
+ "packages/halo/credentials/src/shims.d.ts": "8c9f4db12f5c348bdb0651be9592edcc488e1cfc",
56
+ "packages/halo/credentials/src/typedefs.ts": "dc2f10117831f97ce8ebd854f246b40bb48d273c",
57
+ "packages/halo/credentials/tsconfig.json": "2aaa22817ae8ae795a62ed2d03b9db7e13abede5"
58
+ },
59
+ "arguments": ""
60
+ }
@@ -1,103 +0,0 @@
1
- Invoking: toolchain build:test
2
-
3
-
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
- google.protobuf.Any -> any
14
- dxos.halo.keys.PubKey -> import("/home/github/_work/protocols/protocols/packages/common/crypto/dist/src/public-key").PublicKey
15
- dxos.halo.keys.PrivKey -> Buffer
16
-
17
- OK in 3423 ms
18
-
19
- typescript
20
- OK in 4705 ms
21
-
22
- eslint
23
-
24
- /home/github/_work/protocols/protocols/packages/halo/credentials/src/auth/auth-plugin.test.ts
25
- 158:1 warning Test has no assertions jest/expect-expect
26
-
27
- /home/github/_work/protocols/protocols/packages/halo/credentials/src/keys/keyring.test.ts
28
- 377:1 warning Test has no assertions jest/expect-expect
29
-
30
- ✖ 2 problems (0 errors, 2 warnings)
31
-
32
- OK in 7538 ms
33
-
34
- mocha
35
-
36
-
37
- ✓ Auth Plugin (GOOD) (132ms)
38
- ✓ Auth & Repl (GOOD) (125ms)
39
- ✓ Chain of Keys
40
- ✓ PartyAuthenticator - good direct
41
- ✓ PartyAuthenticator - good chain
42
- ✓ PartyAuthenticator - bad chain
43
- ✓ PartyAuthenticator - wrong key
44
- ✓ PartyAuthenticator - wrong party
45
- ✓ PartyAuthenticator - missing deviceKey
46
- ✓ PartyAuthenticator - tampered message
47
- ✓ PartyAuthenticator - tampered signature
48
- ✓ PartyAuthenticator - signature too old
49
- ✓ PartyAuthenticator - signature too far in future
50
- ✓ PartyAuthenticator - signature date invalid
51
- ✓ Greeting Flow using GreetingCommandPlugin
52
- ✓ Good invitation
53
- ✓ Bad invitation secret
54
- ✓ Attempt to re-use invitation
55
- ✓ Wrong partyKey
56
- ✓ Create Invitation message
57
- ✓ WellKnownType params - BytesValue
58
- ✓ Create cold identity key and recover
59
- ✓ Basic filter
60
- ✓ Basic AND filter
61
- ✓ Generate keys
62
- ✓ Update a key
63
- ✓ Bad key attributes
64
- ✓ Add/retrieve single keyRecord from an external source
65
- ✓ Try to add/retrieve a publicKey from an external source (with secret present)
66
- ✓ Add/retrieve a publicKey from an external source (without secret present)
67
- ✓ Retrieve a non-existent key
68
- ✓ Sign and verify a message with a single key
69
- ✓ Sign and verify a message with multiple keys
70
- ✓ Sign and verify a message using a key chain
71
- ✓ Attempt to sign a message with a publicKey
72
- ✓ Attempt to add a badly formatted key
73
- ✓ Attempt to add a keyRecord missing its secretKey
74
- ✓ Attempt to add a keyRecord missing its publicKey
75
- ✓ Attempt to add keyRecord with reversed publicKey/secretKey
76
- ✓ Attempt to add secretKey as a publicKey
77
- ✓ Tamper with the contents of a signed message
78
- ✓ Tamper with the signature of a signed message
79
- ✓ Tamper with the signature key of a signed message
80
- ✓ To/from JSON
81
- ✓ Raw sign
82
- ✓ To/from Protobuf
83
- ✓ Authenticate flow for Kube/Keyhole authentication
84
- ✓ Storing DXNS keys
85
- ✓ Basic store operations
86
- ✓ reloading
87
- ✓ PartyInvitation messages
88
- ✓ Process basic message types
89
- ✓ GreetingCommandPlugin envelopes
90
- ✓ Reject message from unknown source
91
- ✓ Message signed by known and unknown key should not admit unknown key
92
- ✓ Reject Genesis not signed by Party key
93
- ✓ Reject admit key message with wrong Party
94
- ✓ Reject admit feed message with wrong Party
95
- ✓ Reject tampered Genesis message
96
- ✓ Reject tampered admit feed message
97
- ✓ Reject tampered admit key message
98
-
99
- 61 passing (849ms)
100
-
101
- OK in 1923 ms
102
-
103
- CHECK COMPLETE in 17610 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/credentials",
3
- "version": "2.24.1-dev.3a8cd54e",
3
+ "version": "2.24.1-dev.49b9f420",
4
4
  "description": "DXOS Credentials",
5
5
  "homepage": "https://github.com/dxos/halo/tree/master/packages/credentials#readme",
6
6
  "bugs": {
@@ -17,14 +17,14 @@
17
17
  "> 5%"
18
18
  ],
19
19
  "dependencies": {
20
- "@dxos/async": "2.24.1-dev.3a8cd54e",
21
- "@dxos/codec-protobuf": "2.24.1-dev.3a8cd54e",
22
- "@dxos/crypto": "2.24.1-dev.3a8cd54e",
23
- "@dxos/debug": "2.24.1-dev.3a8cd54e",
24
- "@dxos/feed-store": "2.24.1-dev.3a8cd54e",
25
- "@dxos/proto": "2.24.1-dev.3a8cd54e",
26
- "@dxos/protocol": "2.24.1-dev.3a8cd54e",
27
- "@dxos/util": "2.24.1-dev.3a8cd54e",
20
+ "@dxos/async": "2.24.1-dev.49b9f420",
21
+ "@dxos/codec-protobuf": "2.24.1-dev.49b9f420",
22
+ "@dxos/crypto": "2.24.1-dev.49b9f420",
23
+ "@dxos/debug": "2.24.1-dev.49b9f420",
24
+ "@dxos/feed-store": "2.24.1-dev.49b9f420",
25
+ "@dxos/proto": "2.24.1-dev.49b9f420",
26
+ "@dxos/protocol": "2.24.1-dev.49b9f420",
27
+ "@dxos/util": "2.24.1-dev.49b9f420",
28
28
  "buffer-json-encoding": "^1.0.2",
29
29
  "debug": "^4.3.3",
30
30
  "encoding-down": "^6.3.0",
@@ -40,8 +40,8 @@
40
40
  "stream-to-array": "^2.3.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@dxos/protocol-plugin-replicator": "2.24.1-dev.3a8cd54e",
44
- "@dxos/random-access-multi-storage": "2.24.1-dev.3a8cd54e",
43
+ "@dxos/protocol-plugin-replicator": "2.24.1-dev.49b9f420",
44
+ "@dxos/random-access-multi-storage": "2.24.1-dev.49b9f420",
45
45
  "@dxos/toolchain-node-library": "2.24.0",
46
46
  "@types/debug": "^4.1.7",
47
47
  "@types/encoding-down": "^5.0.0",