mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-23 15:29:29 -07:00
Make sure a key is present during sig verification
This commit is contained in:
parent
01ba4a3a54
commit
67993f3dd7
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ elFormVerify.onsubmit = async function (evt) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// Fetch a key if needed
|
||||||
|
await fetchProfileKey();
|
||||||
|
|
||||||
// Try two different methods of signature reading
|
// Try two different methods of signature reading
|
||||||
let signature = null, verified = null, readError = null;
|
let signature = null, verified = null, readError = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue