Skip to content

Commit

Permalink
Use new crossSignDevice() function
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Nov 29, 2023
1 parent fef5318 commit 8d1a26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendezvous/MSC3906Rendezvous.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class MSC3906Rendezvous {
// mark the device as verified locally + cross sign
logger.info(`Marking device ${this.newDeviceId} as verified`);
await crypto.setDeviceVerified(userId, this.newDeviceId, true);
// TODO: cross sign the device
await crypto.crossSignDevice(this.newDeviceId);

Check failure on line 206 in src/rendezvous/MSC3906Rendezvous.ts

View workflow job for this annotation

GitHub Actions / Jest [unit] (Node 18)

Rendezvous › approve on existing device + verification

TypeError: crypto.crossSignDevice is not a function at MSC3906Rendezvous.crossSignDevice [as verifyAndCrossSignDevice] (src/rendezvous/MSC3906Rendezvous.ts:206:22) at MSC3906Rendezvous.verifyNewDeviceOnExistingDevice (src/rendezvous/MSC3906Rendezvous.ts:257:13) at Object.<anonymous> (spec/unit/rendezvous/rendezvous.spec.ts:652:9)

Check failure on line 206 in src/rendezvous/MSC3906Rendezvous.ts

View workflow job for this annotation

GitHub Actions / Jest [unit] (Node 18)

Rendezvous › device appears online within timeout

TypeError: crypto.crossSignDevice is not a function at MSC3906Rendezvous.crossSignDevice [as verifyAndCrossSignDevice] (src/rendezvous/MSC3906Rendezvous.ts:206:22) at MSC3906Rendezvous.verifyNewDeviceOnExistingDevice (src/rendezvous/MSC3906Rendezvous.ts:257:13) at Object.<anonymous> (spec/unit/rendezvous/rendezvous.spec.ts:668:9)

Check failure on line 206 in src/rendezvous/MSC3906Rendezvous.ts

View workflow job for this annotation

GitHub Actions / Jest [unit] (Node lts/*)

Rendezvous › approve on existing device + verification

TypeError: crypto.crossSignDevice is not a function at MSC3906Rendezvous.crossSignDevice [as verifyAndCrossSignDevice] (src/rendezvous/MSC3906Rendezvous.ts:206:22) at MSC3906Rendezvous.verifyNewDeviceOnExistingDevice (src/rendezvous/MSC3906Rendezvous.ts:257:13) at Object.<anonymous> (spec/unit/rendezvous/rendezvous.spec.ts:652:9)

Check failure on line 206 in src/rendezvous/MSC3906Rendezvous.ts

View workflow job for this annotation

GitHub Actions / Jest [unit] (Node lts/*)

Rendezvous › device appears online within timeout

TypeError: crypto.crossSignDevice is not a function at MSC3906Rendezvous.crossSignDevice [as verifyAndCrossSignDevice] (src/rendezvous/MSC3906Rendezvous.ts:206:22) at MSC3906Rendezvous.verifyNewDeviceOnExistingDevice (src/rendezvous/MSC3906Rendezvous.ts:257:13) at Object.<anonymous> (spec/unit/rendezvous/rendezvous.spec.ts:668:9)

Check failure on line 206 in src/rendezvous/MSC3906Rendezvous.ts

View workflow job for this annotation

GitHub Actions / Jest [unit] (Node 21)

Rendezvous › approve on existing device + verification

TypeError: crypto.crossSignDevice is not a function at MSC3906Rendezvous.crossSignDevice [as verifyAndCrossSignDevice] (src/rendezvous/MSC3906Rendezvous.ts:206:22) at MSC3906Rendezvous.verifyNewDeviceOnExistingDevice (src/rendezvous/MSC3906Rendezvous.ts:257:13) at Object.<anonymous> (spec/unit/rendezvous/rendezvous.spec.ts:652:9)

Check failure on line 206 in src/rendezvous/MSC3906Rendezvous.ts

View workflow job for this annotation

GitHub Actions / Jest [unit] (Node 21)

Rendezvous › device appears online within timeout

TypeError: crypto.crossSignDevice is not a function at MSC3906Rendezvous.crossSignDevice [as verifyAndCrossSignDevice] (src/rendezvous/MSC3906Rendezvous.ts:206:22) at MSC3906Rendezvous.verifyNewDeviceOnExistingDevice (src/rendezvous/MSC3906Rendezvous.ts:257:13) at Object.<anonymous> (spec/unit/rendezvous/rendezvous.spec.ts:668:9)

const masterPublicKey = (await crypto.getCrossSigningKeyId(CrossSigningKey.Master)) ?? undefined;

Expand Down

0 comments on commit 8d1a26d

Please sign in to comment.