From f814a96eacd548691c646b3be2d62fc248c933a9 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 16 Apr 2020 14:30:51 +0200 Subject: [PATCH] update comments --- src/crypto/verification/QRCode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/verification/QRCode.js b/src/crypto/verification/QRCode.js index f92dca93a..e3e7741cf 100644 --- a/src/crypto/verification/QRCode.js +++ b/src/crypto/verification/QRCode.js @@ -65,7 +65,7 @@ export class ReciprocateQRCode extends Base { this.emit("show_reciprocate_qr", this.reciprocateQREvent); }); - // 3. determine key to sign + // 3. determine key to sign / mark as trusted const keys = {}; switch (qrCodeData.mode) { @@ -87,7 +87,7 @@ export class ReciprocateQRCode extends Base { } } - // 4. sign the key + // 4. sign the key (or mark own MSK as verified in case of MODE_VERIFY_SELF_TRUSTED) await this._verifyKeys(this.userId, keys, (keyId, device, keyInfo) => { // make sure the device has the expected keys const targetKey = keys[keyId];