we need to do this in web/native(/keyserver?) so created a small utility function
Depends on D9127
Paths
| Differential D9129 Authored by varun on Sep 11 2023, 10:37 AM.
Details Summary we need to do this in web/native(/keyserver?) so created a small utility function Depends on D9127 Test Plan called the function and got back an array of keys
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptSep 11 2023, 10:37 AM2023-09-11 10:37:29 (UTC-7) Harbormaster completed remote builds in B22501: Diff 30934.Sep 11 2023, 10:56 AM2023-09-11 10:56:21 (UTC-7) This revision is now accepted and ready to land.Sep 12 2023, 2:17 AM2023-09-12 02:17:48 (UTC-7) Comment Actions Can we dedup this with the existing getOneTimeKeyValues? Looks like D8751 moves it around. It looks like that one does JSON.parse and this one doesn't... if necessary we can keep two of them around, but:
This revision now requires changes to proceed.Sep 12 2023, 11:28 AM2023-09-12 11:28:12 (UTC-7) Comment Actions I found it confusing that we were using oneTimeKey instead of oneTimeKeys for arrays of keys so I changed that as well here Harbormaster failed remote builds in B22612: Diff 31091!Sep 13 2023, 11:53 AM2023-09-13 11:53:38 (UTC-7) Harbormaster completed remote builds in B22614: Diff 31093.Sep 13 2023, 12:18 PM2023-09-13 12:18:26 (UTC-7) This revision is now accepted and ready to land.Sep 13 2023, 12:24 PM2023-09-13 12:24:06 (UTC-7) Closed by commit rCOMM5e71db19bf33: [lib] utility function to get array of OneTimeKeys from an OLMOneTimeKeys object (authored by varun). · Explain WhySep 14 2023, 9:26 AM2023-09-14 09:26:56 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 31091 keyserver/src/user/login.js
keyserver/src/utils/olm-utils.js
lib/shared/crypto-utils.js
|