Yubikey text decryption working
This commit is contained in:
@@ -526,9 +526,8 @@ public class OpenPgpService extends RemoteService {
|
||||
"Decryption of symmetric content not supported by API!");
|
||||
} else if ((pgpResult.getResult() & DecryptVerifyResult.RESULT_PENDING_NFC) ==
|
||||
DecryptVerifyResult.RESULT_PENDING_NFC) {
|
||||
// we assume that the pin has been cached before
|
||||
String pin = passphraseCacheInterface.getCachedPassphrase(pgpResult.getNfcKeyId());
|
||||
return getNfcDecryptIntent(data, pin, pgpResult.getNfcEncryptedSessionKey());
|
||||
return getNfcDecryptIntent(
|
||||
data, pgpResult.getNfcPassphrase(), pgpResult.getNfcEncryptedSessionKey());
|
||||
} else {
|
||||
throw new PgpGeneralException(
|
||||
"Encountered unhandled type of pending action not supported by API!");
|
||||
|
||||
Reference in New Issue
Block a user