Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3370768
D9984.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
715 B
Referenced Files
None
Subscribers
None
D9984.diff
View Options
diff --git a/lib/flow-typed/web-crypto-common.js b/lib/flow-typed/web-crypto-common.js
--- a/lib/flow-typed/web-crypto-common.js
+++ b/lib/flow-typed/web-crypto-common.js
@@ -20,16 +20,7 @@
| 'wrapKey'
| 'unwrapKey';
-declare type CryptoKey = {
- +algorithm:
- | SubtleCrypto$AesKeyGenParams
- | SubtleCrypto$RsaHashedKeyGenParams
- | SubtleCrypto$EcKeyGenParams
- | SubtleCrypto$HmacKeyGenParams,
- +extractable: boolean,
- +type: CryptoKey$Type,
- +usages: $ReadOnlyArray<CryptoKey$Usages>,
-};
+declare type CryptoKey = SubtleCrypto$JsonWebKey;
type SubtleCrypto$KeyFormatWithoutJwk = 'pkcs8' | 'raw' | 'spki';
type SubtleCrypto$KeyFormat = 'jwk' | SubtleCrypto$KeyFormatWithoutJwk;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 3:55 AM (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2586419
Default Alt Text
D9984.diff (715 B)
Attached To
Mode
D9984: [Flow202][web][skip-ci] [21/x] Avoid localforage.getItem with unclear type param for web encryption key
Attached
Detach File
Event Timeline
Log In to Comment