Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3397556
D6952.id23459.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
862 B
Referenced Files
None
Subscribers
None
D6952.id23459.diff
View Options
diff --git a/keyserver/src/socket/session-utils.js b/keyserver/src/socket/session-utils.js
--- a/keyserver/src/socket/session-utils.js
+++ b/keyserver/src/socket/session-utils.js
@@ -31,6 +31,7 @@
type ServerCheckStateServerRequest,
} from 'lib/types/request-types.js';
import { sessionCheckFrequency } from 'lib/types/session-types.js';
+import { signedIdentityKeysBlobValidator } from 'lib/utils/crypto-utils.js';
import { hash } from 'lib/utils/objects.js';
import { promiseAll } from 'lib/utils/promises.js';
import {
@@ -120,6 +121,13 @@
),
keys: t.list(t.String),
}),
+ tShape({
+ type: t.irreducible(
+ 'serverRequestTypes.SIGNED_IDENTITY_KEYS_BLOB',
+ x => x === serverRequestTypes.SIGNED_IDENTITY_KEYS_BLOB,
+ ),
+ signedIdentityKeysBlob: signedIdentityKeysBlobValidator,
+ }),
]);
type StateCheckStatus =
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 2, 6:09 PM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2607911
Default Alt Text
D6952.id23459.diff (862 B)
Attached To
Mode
D6952: [keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator`
Attached
Detach File
Event Timeline
Log In to Comment