Fixed fingerprint url with undefined keyData.fingerprint value.

This commit is contained in:
KiddyTheKid 2020-12-24 01:49:03 -05:00
parent ffca9b54fd
commit 6065812df3

View file

@ -282,12 +282,12 @@ async function displayProfile(opts) {
}
}
if (!keyLink) {
keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${keyData.fingerprint}`;
keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${fingerprint}`;
}
break;
case "hkp":
keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${keyData.fingerprint}`;
keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${fingerprint}`;
break;
case "keybase":