Return the raw signature instead of a PGPSignature in

AuthenticationSignatureGenerator
This commit is contained in:
Christian Hagau
2017-11-22 00:00:00 +00:00
parent f70b10d548
commit 2dba6e3cb0
2 changed files with 10 additions and 24 deletions

View File

@@ -218,7 +218,7 @@ public class AuthenticationOperation extends BaseOperation<AuthenticationParcel>
signatureGenerator.update(challenge, 0, challenge.length);
try {
signature = signatureGenerator.generate().getSignature();
signature = signatureGenerator.getSignature();
} catch (NfcSyncPGPContentSignerBuilder.NfcInteractionNeeded e) {
// this secret key diverts to a OpenPGP card, thus requires user interaction
log.add(LogType.MSG_AUTH_PENDING_NFC, indent);