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

2
drongo

@ -1 +1 @@
Subproject commit d0afa0987021284f11c45a51ffccbf7cb6d13ca2
Subproject commit 6868b026fbc1c5093bbad7db32b14e00c78717f2

View file

@ -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);
}