Remove now-unnecessary data from prekey upload request

Co-authored-by: Fedor Indutnyy <indutny@signal.org>
This commit is contained in:
trevor-signal 2024-01-04 17:47:46 -05:00 committed by Scott Nonnenberg
parent dbc29037ce
commit a30f277276
3 changed files with 5 additions and 7 deletions

View file

@ -200,7 +200,7 @@
"@electron/notarize": "2.1.0",
"@formatjs/intl": "2.6.7",
"@mixer/parallel-prettier": "2.0.3",
"@signalapp/mock-server": "4.3.0",
"@signalapp/mock-server": "4.4.1",
"@storybook/addon-a11y": "7.4.5",
"@storybook/addon-actions": "7.4.5",
"@storybook/addon-controls": "7.4.5",

View file

@ -2373,7 +2373,6 @@ export function initialize({
};
type JSONKeysType = {
identityKey: string;
preKeys?: Array<JSONPreKeyType>;
pqPreKeys?: Array<JSONKyberPreKeyType>;
pqLastResortPreKey?: JSONKyberPreKeyType;
@ -2412,7 +2411,6 @@ export function initialize({
}
const keys: JSONKeysType = {
identityKey: Bytes.toBase64(genKeys.identityKey),
preKeys,
pqPreKeys,
pqLastResortPreKey: serializeSignedPreKey(genKeys.pqLastResortPreKey),

View file

@ -3970,10 +3970,10 @@
node-gyp-build "^4.2.3"
uuid "^8.3.0"
"@signalapp/mock-server@4.3.0":
version "4.3.0"
resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-4.3.0.tgz#501d1e0bc9f9fe811189690e7b053dfe9bac7c88"
integrity sha512-zE8+EhuKsQ0byXG1Prkw5hoH0pMySwf+AJNf2sdOTsIJSKLx8/GOP4uG3m/vSOW3m4BoAmVnpNzJryRIjpfAbw==
"@signalapp/mock-server@4.4.1":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-4.4.1.tgz#8e7dd69ae69bdf60f4f1f8609066ffc9163f16a6"
integrity sha512-aexMLAjQiEhcxLr+XhU7Rsrohgn3xMU1SdIbM1UPUIrpGQqLFfA+X+E0huQqBED6k3KgArCQ6zmy4uJ65acHVQ==
dependencies:
"@signalapp/libsignal-client" "^0.30.2"
debug "^4.3.2"