Skip to content

Commit

Permalink
key gen bug
Browse files Browse the repository at this point in the history
  • Loading branch information
keithagroves committed Nov 12, 2024
1 parent bf643e9 commit fce84a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/jskit/KeyCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ JSClass("KeyCommand", Command, {
}[this.arguments.bits];
var hmac = SECHMAC.initWithAlgorithm(hmacAlgorithm);
var key = await hmac.createKey();
var data = key.getData();
var data = await key.getData();
var printer = Printer.initWithLabel('key');
if (this.arguments.format === "jwk"){
var jwk = {
Expand Down

0 comments on commit fce84a7

Please sign in to comment.