@dxos/credentials 2.33.7-dev.848c0285 → 2.33.7-dev.c7ce8f32

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.
@@ -3,7 +3,7 @@
3
3
  "packages/halo/credentials/.rush/temp/shrinkwrap-deps.json": "eb1300fb604223caa75697e4cb3623764c4f4b7f",
4
4
  "packages/halo/credentials/.eslintrc.js": "8c186197e908188715a6c9635941ec4b7896c787",
5
5
  "packages/halo/credentials/README.md": "b6859b1e271596aa5934d07b6d4320721c43b035",
6
- "packages/halo/credentials/package.json": "33cb04d9b9ec5476ba1e87e9584516d7868080df",
6
+ "packages/halo/credentials/package.json": "d28ab47c7a974b13c17155fb359f7d953cc5d936",
7
7
  "packages/halo/credentials/src/auth/auth-message.ts": "6982758086188598c13c0836fb5e984444154c25",
8
8
  "packages/halo/credentials/src/auth/auth-plugin.test.ts": "618b070098d723978929af719d1f0acd510a2992",
9
9
  "packages/halo/credentials/src/auth/auth-plugin.ts": "068f54e08e213def743485a78b3c43ca2c30014d",
@@ -1,99 +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/crypto/dist/src/public-key").PublicKey
14
- dxos.halo.keys.PrivKey -> Buffer
15
- google.protobuf.Any -> any
16
-
17
- OK in 3027 ms
18
-
19
- Typescript
20
- OK in 4021 ms
21
- /home/github/_work/protocols/protocols/packages/halo/credentials/src/auth/auth-plugin.test.ts(150,1): warning jest/expect-expect : Test has no assertions
22
- /home/github/_work/protocols/protocols/packages/halo/credentials/src/keys/keyring.test.ts(377,1): warning jest/expect-expect : Test has no assertions
23
-
24
- 2 problems
25
- OK in 6723 ms
26
-
27
- Mocha Tests
28
-
29
-
30
- ✓ Auth Plugin (GOOD) (58ms)
31
- ✓ Auth & Repl (GOOD) (90ms)
32
- ✓ Greeting Flow using GreetingCommandPlugin
33
- ✓ Good invitation
34
- ✓ Bad invitation secret
35
- ✓ Attempt to re-use invitation
36
- ✓ Wrong partyKey
37
- ✓ Create Invitation message
38
- ✓ WellKnownType params - BytesValue
39
- ✓ Create cold identity key and recover
40
- ✓ Basic filter
41
- ✓ Basic AND filter
42
- ✓ Generate keys
43
- ✓ Update a key
44
- ✓ Bad key attributes
45
- ✓ Add/retrieve single keyRecord from an external source
46
- ✓ Try to add/retrieve a publicKey from an external source (with secret present)
47
- ✓ Add/retrieve a publicKey from an external source (without secret present)
48
- ✓ Retrieve a non-existent key
49
- ✓ Sign and verify a message with a single key
50
- ✓ Sign and verify a message with multiple keys
51
- ✓ Sign and verify a message using a key chain
52
- ✓ Attempt to sign a message with a publicKey
53
- ✓ Attempt to add a badly formatted key
54
- ✓ Attempt to add a keyRecord missing its secretKey
55
- ✓ Attempt to add a keyRecord missing its publicKey
56
- ✓ Attempt to add keyRecord with reversed publicKey/secretKey
57
- ✓ Attempt to add secretKey as a publicKey
58
- ✓ Tamper with the contents of a signed message
59
- ✓ Tamper with the signature of a signed message
60
- ✓ Tamper with the signature key of a signed message
61
- ✓ To/from JSON
62
- ✓ Raw sign
63
- ✓ To/from Protobuf
64
- ✓ Authenticate flow for Kube/Keyhole authentication
65
- ✓ Storing DXNS Address keys
66
- ✓ Basic store operations
67
- ✓ reloading
68
- ✓ PartyInvitation messages
69
- ✓ Process basic message types
70
- ✓ GreetingCommandPlugin envelopes
71
- ✓ Reject message from unknown source
72
- ✓ Message signed by known and unknown key should not admit unknown key
73
- ✓ Reject Genesis not signed by Party key
74
- ✓ Reject admit key message with wrong Party
75
- ✓ Reject admit feed message with wrong Party
76
- ✓ Reject tampered Genesis message
77
- ✓ Reject tampered admit feed message
78
- ✓ Reject tampered admit key message
79
- PartyAuthenticator
80
- ✓ Chain of Keys
81
- ✓ good direct
82
- ✓ auth callback is called
83
- ✓ good chain
84
- ✓ bad chain
85
- ✓ wrong key
86
- ✓ wrong party
87
- ✓ missing deviceKey
88
- ✓ tampered message
89
- ✓ tampered signature
90
- ✓ signature too old
91
- ✓ signature too far in future
92
- ✓ signature date invalid
93
-
94
-
95
- 62 passing (498ms)
96
-
97
- OK in 1427 ms
98
-
99
- Tests complete in 15216 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/credentials",
3
- "version": "2.33.7-dev.848c0285",
3
+ "version": "2.33.7-dev.c7ce8f32",
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.33.7-dev.848c0285",
21
- "@dxos/codec-protobuf": "2.33.7-dev.848c0285",
22
- "@dxos/crypto": "2.33.7-dev.848c0285",
23
- "@dxos/debug": "2.33.7-dev.848c0285",
24
- "@dxos/feed-store": "2.33.7-dev.848c0285",
25
- "@dxos/mesh-protocol": "2.33.7-dev.848c0285",
26
- "@dxos/protocols": "2.33.7-dev.848c0285",
27
- "@dxos/util": "2.33.7-dev.848c0285",
20
+ "@dxos/async": "2.33.7-dev.c7ce8f32",
21
+ "@dxos/codec-protobuf": "2.33.7-dev.c7ce8f32",
22
+ "@dxos/crypto": "2.33.7-dev.c7ce8f32",
23
+ "@dxos/debug": "2.33.7-dev.c7ce8f32",
24
+ "@dxos/feed-store": "2.33.7-dev.c7ce8f32",
25
+ "@dxos/mesh-protocol": "2.33.7-dev.c7ce8f32",
26
+ "@dxos/protocols": "2.33.7-dev.c7ce8f32",
27
+ "@dxos/util": "2.33.7-dev.c7ce8f32",
28
28
  "buffer-json-encoding": "^1.0.2",
29
29
  "debug": "^4.3.3",
30
30
  "encoding-down": "^6.3.0",
@@ -41,9 +41,9 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@dxos/eslint-plugin": "~1.0.33",
44
- "@dxos/protocol-plugin-replicator": "2.33.7-dev.848c0285",
44
+ "@dxos/protocol-plugin-replicator": "2.33.7-dev.c7ce8f32",
45
45
  "@dxos/protocols-toolchain": "2.33.6",
46
- "@dxos/random-access-multi-storage": "2.33.7-dev.848c0285",
46
+ "@dxos/random-access-multi-storage": "2.33.7-dev.c7ce8f32",
47
47
  "@types/debug": "^4.1.7",
48
48
  "@types/encoding-down": "^5.0.0",
49
49
  "@types/end-of-stream": "^1.4.0",