Use appropiate getter for authentication public key
This commit is contained in:
parent
65d2f37324
commit
e251c56e90
|
@ -363,7 +363,7 @@ public class SshAuthenticationService extends Service {
|
|||
throws PgpKeyNotFoundException, KeyRepository.NotFoundException {
|
||||
KeyRepository keyRepository = KeyRepository.create(getApplicationContext());
|
||||
long authSubKeyId = keyRepository.getCachedPublicKeyRing(masterKeyId)
|
||||
.getSecretAuthenticationId();
|
||||
.getAuthenticationId();
|
||||
return keyRepository.getCanonicalizedPublicKeyRing(masterKeyId)
|
||||
.getPublicKey(authSubKeyId);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue