Page MenuHomePhabricator

D13966.id45875.diff
No OneTemporary

D13966.id45875.diff

diff --git a/keyserver/src/socket/tunnelbroker.js b/keyserver/src/socket/tunnelbroker.js
--- a/keyserver/src/socket/tunnelbroker.js
+++ b/keyserver/src/socket/tunnelbroker.js
@@ -247,7 +247,6 @@
);
const payload = await this.encodeQRAuthMessage({
type: qrCodeAuthMessageTypes.SECONDARY_DEVICE_REGISTRATION_SUCCESS,
- requestBackupKeys: false,
});
if (!payload) {
this.closeConnection();
diff --git a/lib/components/qr-auth-provider.react.js b/lib/components/qr-auth-provider.react.js
--- a/lib/components/qr-auth-provider.react.js
+++ b/lib/components/qr-auth-provider.react.js
@@ -117,7 +117,6 @@
void (async () => {
const message = await composeTunnelbrokerQRAuthMessage(qrData?.aesKey, {
type: qrCodeAuthMessageTypes.SECONDARY_DEVICE_REGISTRATION_SUCCESS,
- requestBackupKeys: true,
});
await sendMessageToDevice({
deviceID: primaryDeviceID,
diff --git a/lib/types/tunnelbroker/qr-code-auth-message-types.js b/lib/types/tunnelbroker/qr-code-auth-message-types.js
--- a/lib/types/tunnelbroker/qr-code-auth-message-types.js
+++ b/lib/types/tunnelbroker/qr-code-auth-message-types.js
@@ -41,12 +41,10 @@
export type SecondaryDeviceRegistrationSuccess = {
+type: 'SecondaryDeviceRegistrationSuccess',
- +requestBackupKeys: boolean,
};
export const secondaryDeviceRegistrationSuccessValidator: TInterface<SecondaryDeviceRegistrationSuccess> =
tShape<SecondaryDeviceRegistrationSuccess>({
type: tString(qrCodeAuthMessageTypes.SECONDARY_DEVICE_REGISTRATION_SUCCESS),
- requestBackupKeys: t.Boolean,
});
export type QRCodeAuthMessagePayload =

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 7:51 AM (9 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543374
Default Alt Text
D13966.id45875.diff (1 KB)

Event Timeline