@dxos/credentials 2.33.9-dev.6b3d59af → 2.33.9-dev.d70ac9ee

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 -102
  2. package/package.json +11 -11
@@ -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 3404 ms
18
-
19
- Typescript
20
- OK in 4203 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 6694 ms
27
-
28
- Mocha Tests
29
-
30
-
31
- ✓ Auth Plugin (GOOD) (60ms)
32
- ✓ Auth & Repl (GOOD) (91ms)
33
- ✓ Greeting Flow using GreetingCommandPlugin
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 (619ms)
99
-
100
- OK in 1566 ms
101
-
102
- Tests complete in 15890 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/credentials",
3
- "version": "2.33.9-dev.6b3d59af",
3
+ "version": "2.33.9-dev.d70ac9ee",
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.9-dev.6b3d59af",
21
- "@dxos/codec-protobuf": "2.33.9-dev.6b3d59af",
22
- "@dxos/crypto": "2.33.9-dev.6b3d59af",
23
- "@dxos/debug": "2.33.9-dev.6b3d59af",
24
- "@dxos/feed-store": "2.33.9-dev.6b3d59af",
25
- "@dxos/mesh-protocol": "2.33.9-dev.6b3d59af",
26
- "@dxos/protocols": "2.33.9-dev.6b3d59af",
27
- "@dxos/util": "2.33.9-dev.6b3d59af",
20
+ "@dxos/async": "2.33.9-dev.d70ac9ee",
21
+ "@dxos/codec-protobuf": "2.33.9-dev.d70ac9ee",
22
+ "@dxos/crypto": "2.33.9-dev.d70ac9ee",
23
+ "@dxos/debug": "2.33.9-dev.d70ac9ee",
24
+ "@dxos/feed-store": "2.33.9-dev.d70ac9ee",
25
+ "@dxos/mesh-protocol": "2.33.9-dev.d70ac9ee",
26
+ "@dxos/protocols": "2.33.9-dev.d70ac9ee",
27
+ "@dxos/util": "2.33.9-dev.d70ac9ee",
28
28
  "bip39": "^3.0.4",
29
29
  "buffer-json-encoding": "^1.0.2",
30
30
  "debug": "^4.3.3",
@@ -42,9 +42,9 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@dxos/eslint-plugin": "~1.0.34",
45
- "@dxos/protocol-plugin-replicator": "2.33.9-dev.6b3d59af",
45
+ "@dxos/protocol-plugin-replicator": "2.33.9-dev.d70ac9ee",
46
46
  "@dxos/protocols-toolchain": "2.33.8",
47
- "@dxos/random-access-multi-storage": "2.33.9-dev.6b3d59af",
47
+ "@dxos/random-access-multi-storage": "2.33.9-dev.d70ac9ee",
48
48
  "@types/debug": "^4.1.7",
49
49
  "@types/encoding-down": "^5.0.0",
50
50
  "@types/end-of-stream": "^1.4.0",