mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Move IdentityKeyPair generation to KeyUtils
in preparation for rust libsignal which doesn't provide the method
This commit is contained in:
parent
00339b1abe
commit
88d81c7a63
3 changed files with 15 additions and 2 deletions
|
@ -52,7 +52,7 @@ public class ProvisioningManager {
|
|||
this.serviceConfiguration = serviceConfiguration;
|
||||
this.userAgent = userAgent;
|
||||
|
||||
identityKey = KeyHelper.generateIdentityKeyPair();
|
||||
identityKey = KeyUtils.generateIdentityKeyPair();
|
||||
registrationId = KeyHelper.generateRegistrationId(false);
|
||||
password = KeyUtils.createPassword();
|
||||
final SleepTimer timer = new UptimeSleepTimer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue