Make sure a key is present during sig verification

This commit is contained in:
Yarmo Mackenbach 2021-05-03 17:15:51 +02:00
parent 01ba4a3a54
commit 67993f3dd7
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -70,6 +70,9 @@ elFormVerify.onsubmit = async function (evt) {
evt.preventDefault();
try {
// Fetch a key if needed
await fetchProfileKey();
// Try two different methods of signature reading
let signature = null, verified = null, readError = null;
try {