This commit is contained in:
Craig Raw
2024-03-06 12:40:57 +02:00
parent 5475a81e3a
commit 7258b049c9
2 changed files with 3 additions and 2 deletions
@@ -1,6 +1,7 @@
package com.sparrowwallet.sparrow.control;
import com.sparrowwallet.drongo.Utils;
import com.sparrowwallet.drongo.pgp.PGPKeySource;
import com.sparrowwallet.drongo.pgp.PGPUtils;
import com.sparrowwallet.drongo.pgp.PGPVerificationException;
import com.sparrowwallet.drongo.pgp.PGPVerificationResult;
@@ -283,7 +284,7 @@ public class DownloadVerifierDialog extends Dialog<ButtonBar.ButtonData> {
signedBy.setText(message);
signedBy.setGraphic(result.expired() ? GlyphUtils.getWarningGlyph() : GlyphUtils.getSuccessGlyph());
if(!result.expired() && !result.userProvidedKey()) {
if(!result.expired() && result.keySource() != PGPKeySource.USER) {
publicKeyDisabled.set(true);
}