Update fingerprint QR codes to new format

This commit is contained in:
Yarmo Mackenbach 2020-07-22 15:55:37 +02:00
parent ae940da154
commit 57bb616521

View file

@ -273,7 +273,7 @@ async function displayProfile(opts) {
if (opts.mode == "hkp") {
feedback += `<div class="profileDataItem">`;
feedback += `<div class="profileDataItem__label">qrcode</div>`;
feedback += `<div class="profileDataItem__value"><a href="/util/qrfp/${keyData.fingerprint}">fingerprint</a></div>`;
feedback += `<div class="profileDataItem__value"><a href="/util/qr/${encodeURIComponent(`OPENPGP4FPR:${keyData.fingerprint.toUpperCase()}`)}" target="_blank">fingerprint</a></div>`;
feedback += `</div>`;
}