@dxos/credentials 2.23.1-dev.3af9a540 → 2.23.1-dev.5a66c930

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.
Files changed (2) hide show
  1. package/credentials.build.log +0 -99
  2. package/package.json +11 -11
@@ -1,99 +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 2777 ms
18
-
19
- typescript
20
- OK in 4248 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
- ✖ 1 problem (0 errors, 1 warning)
28
-
29
- OK in 6623 ms
30
-
31
- mocha
32
-
33
-
34
- ✓ Auth Plugin (GOOD) (111ms)
35
- ✓ Auth & Repl (GOOD) (105ms)
36
- ✓ Chain of Keys
37
- ✓ PartyAuthenticator - good direct
38
- ✓ PartyAuthenticator - good chain
39
- ✓ PartyAuthenticator - bad chain
40
- ✓ PartyAuthenticator - wrong key
41
- ✓ PartyAuthenticator - wrong party
42
- ✓ PartyAuthenticator - missing deviceKey
43
- ✓ PartyAuthenticator - tampered message
44
- ✓ PartyAuthenticator - tampered signature
45
- ✓ PartyAuthenticator - signature too old
46
- ✓ PartyAuthenticator - signature too far in future
47
- ✓ PartyAuthenticator - signature date invalid
48
- ✓ Greeting Flow using GreetingCommandPlugin
49
- ✓ Good invitation
50
- ✓ Bad invitation secret
51
- ✓ Attempt to re-use invitation
52
- ✓ Wrong partyKey
53
- ✓ Create Invitation message
54
- ✓ WellKnownType params - BytesValue
55
- ✓ Create cold identity key and recover
56
- ✓ Basic filter
57
- ✓ Basic AND filter
58
- ✓ Generate keys
59
- ✓ Update a key
60
- ✓ Bad key attributes
61
- ✓ Add/retrieve single keyRecord from an external source
62
- ✓ Try to add/retrieve a publicKey from an external source (with secret present)
63
- ✓ Add/retrieve a publicKey from an external source (without secret present)
64
- ✓ Retrieve a non-existent key
65
- ✓ Sign and verify a message with a single key
66
- ✓ Sign and verify a message with multiple keys
67
- ✓ Sign and verify a message using a key chain
68
- ✓ Attempt to sign a message with a publicKey
69
- ✓ Attempt to add a badly formatted key
70
- ✓ Attempt to add a keyRecord missing its secretKey
71
- ✓ Attempt to add a keyRecord missing its publicKey
72
- ✓ Attempt to add keyRecord with reversed publicKey/secretKey
73
- ✓ Attempt to add secretKey as a publicKey
74
- ✓ Tamper with the contents of a signed message
75
- ✓ Tamper with the signature of a signed message
76
- ✓ Tamper with the signature key of a signed message
77
- ✓ To/from JSON
78
- ✓ Raw sign
79
- ✓ To/from Protobuf
80
- ✓ Authenticate flow for Kube/Keyhole authentication
81
- ✓ Basic store operations
82
- ✓ reloading
83
- ✓ PartyInvitation messages
84
- ✓ Process basic message types
85
- ✓ GreetingCommandPlugin envelopes
86
- ✓ Reject message from unknown source
87
- ✓ Message signed by known and unknown key should not admit unknown key
88
- ✓ Reject Genesis not signed by Party key
89
- ✓ Reject admit key message with wrong Party
90
- ✓ Reject admit feed message with wrong Party
91
- ✓ Reject tampered Genesis message
92
- ✓ Reject tampered admit feed message
93
- ✓ Reject tampered admit key message
94
-
95
- 60 passing (616ms)
96
-
97
- OK in 1457 ms
98
-
99
- CHECK COMPLETE in 15119 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/credentials",
3
- "version": "2.23.1-dev.3af9a540",
3
+ "version": "2.23.1-dev.5a66c930",
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.23.1-dev.3af9a540",
21
- "@dxos/codec-protobuf": "2.23.1-dev.3af9a540",
22
- "@dxos/crypto": "2.23.1-dev.3af9a540",
23
- "@dxos/debug": "2.23.1-dev.3af9a540",
24
- "@dxos/feed-store": "2.23.1-dev.3af9a540",
25
- "@dxos/proto": "2.23.1-dev.3af9a540",
26
- "@dxos/protocol": "2.23.1-dev.3af9a540",
27
- "@dxos/util": "2.23.1-dev.3af9a540",
20
+ "@dxos/async": "2.23.1-dev.5a66c930",
21
+ "@dxos/codec-protobuf": "2.23.1-dev.5a66c930",
22
+ "@dxos/crypto": "2.23.1-dev.5a66c930",
23
+ "@dxos/debug": "2.23.1-dev.5a66c930",
24
+ "@dxos/feed-store": "2.23.1-dev.5a66c930",
25
+ "@dxos/proto": "2.23.1-dev.5a66c930",
26
+ "@dxos/protocol": "2.23.1-dev.5a66c930",
27
+ "@dxos/util": "2.23.1-dev.5a66c930",
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.23.1-dev.3af9a540",
44
- "@dxos/random-access-multi-storage": "2.23.1-dev.3af9a540",
43
+ "@dxos/protocol-plugin-replicator": "2.23.1-dev.5a66c930",
44
+ "@dxos/random-access-multi-storage": "2.23.1-dev.5a66c930",
45
45
  "@dxos/toolchain-node-library": "2.23.0",
46
46
  "@types/debug": "^4.1.7",
47
47
  "@types/encoding-down": "^5.0.0",