提交 46150ff8 编写于 作者: C CheungVane

add await for generatekey

Signed-off-by: Nzhangwenzhi <zhangwenzhi3@huawei.com>
上级 0486d74a
......@@ -983,7 +983,7 @@ async function attestKey() {
let options = {
properties: properties
};
generateKey(aliasString);
await generateKey(aliasString);
huks.attestKey(aliasString, options)
.then((data) => {
console.log(`test attestKey data: ${JSON.stringify(data)}`);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册