Skip to content

Commit

Permalink
fix: improve the labels for sk import/export (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil authored Feb 23, 2025
1 parent 14ac6c0 commit ef0fca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@
URL.revokeObjectURL(url);
"
>
Download mlkem512 Key
Export your secret key
</button>
</template>

<label for="skupload">Import your secret key:</label>
<zencode-wrapper id="keyring" storage="local">
Scenario qp
Given I have a 'keyring'
Expand Down
1 change: 1 addition & 0 deletions src/webcomponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class ZencodeWrapper extends HTMLElement {

this.input = document.createElement("input");
this.input.type = "file";
this.input.id = "skupload";
this.input.addEventListener("change", (event) => this.handleFileUpload(event));

this.zencodeElement = document.createElement("zencode-exec");
Expand Down

0 comments on commit ef0fca4

Please sign in to comment.