We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58b24a commit 1cfdd18Copy full SHA for 1cfdd18
tests/sfaImport.spec.ts
@@ -74,7 +74,14 @@ export const ImportSFATest = async (testVariable: ImportKeyTestVariable) => {
74
email: testVariable.email,
75
storageInstance,
76
});
77
- assert.strictEqual(sfaResult2.finalKeyData.privKey,"");
+ assert.strictEqual(sfaResult2.finalKeyData.privKey, "");
78
+
79
+ const coreKitInstance2 = await newCoreKitInstance(testVariable.email);
80
+ const tssKey2 = await coreKitInstance2._UNSAFE_exportTssKey();
81
+ // core kit should have same sfa key which was imported before
82
+ assert.strictEqual(tssKey2, exportedTssKey1);
83
+ assert.strictEqual(sfaResult.finalKeyData.privKey, tssKey2);
84
85
86
87
0 commit comments