Update libsignal-service-java

- Use session based number verification and registration
This commit is contained in:
AsamK 2023-03-31 17:16:59 +02:00
parent 20b3563f21
commit 276ecef300
19 changed files with 359 additions and 158 deletions

View file

@ -78,22 +78,10 @@
"allDeclaredFields":true,
"allDeclaredMethods":true
},
{
"name":"com.google.protobuf.DescriptorMessageInfoFactory"
},
{
"name":"com.google.protobuf.ExtensionRegistry"
},
{
"name":"com.google.protobuf.ExtensionSchemaFull"
},
{
"name":"com.google.protobuf.GeneratedMessageLite",
"fields":[{"name":"unknownFields"}]
},
{
"name":"com.google.protobuf.GeneratedMessageV3"
},
{
"name":"com.google.protobuf.Internal$LongList",
"allDeclaredMethods":true
@ -108,19 +96,10 @@
"allDeclaredMethods":true,
"allDeclaredConstructors":true
},
{
"name":"com.google.protobuf.MapFieldSchemaFull"
},
{
"name":"com.google.protobuf.NewInstanceSchemaFull"
},
{
"name":"com.google.protobuf.PrimitiveNonBoxingCollection",
"allDeclaredMethods":true
},
{
"name":"com.google.protobuf.UnknownFieldSetSchema"
},
{
"name":"com.sun.crypto.provider.AESCipher$General",
"methods":[{"name":"<init>","parameterTypes":[] }]
@ -465,9 +444,6 @@
{
"name":"javax.smartcardio.CardPermission"
},
{
"name":"libcore.io.Memory"
},
{
"name":"long",
"allDeclaredMethods":true,
@ -982,10 +958,6 @@
{"name":"startColor","parameterTypes":[] }
]
},
{
"name":"org.asamk.signal.json.JsonStreamSerializer",
"methods":[{"name":"<init>","parameterTypes":[] }]
},
{
"name":"org.asamk.signal.json.JsonSyncDataMessage",
"allDeclaredFields":true,
@ -1819,9 +1791,6 @@
"name":"org.freedesktop.dbus.interfaces.Properties$PropertiesChanged",
"allPublicConstructors":true
},
{
"name":"org.robolectric.Robolectric"
},
{
"name":"org.signal.cdsi.proto.ClientRequest",
"fields":[
@ -2288,7 +2257,6 @@
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[
{"name":"getCode","parameterTypes":[] },
{"name":"getNumber","parameterTypes":[] },
{"name":"getRegistrationLock","parameterTypes":[] }
]
@ -2712,6 +2680,25 @@
"allDeclaredMethods":true,
"allDeclaredConstructors":true
},
{
"name":"org.whispersystems.signalservice.internal.push.RegistrationSessionMetadataJson",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[{"name":"<init>","parameterTypes":["java.lang.String","java.lang.Integer","java.lang.Integer","java.lang.Integer","boolean","java.util.List","boolean"] }]
},
{
"name":"org.whispersystems.signalservice.internal.push.RegistrationSessionRequestBody",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[
{"name":"getAccountAttributes","parameterTypes":[] },
{"name":"getRecoveryPassword","parameterTypes":[] },
{"name":"getSessionId","parameterTypes":[] },
{"name":"getSkipDeviceTransfer","parameterTypes":[] }
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SendGroupMessageResponse",
"allDeclaredFields":true,
@ -2896,16 +2883,6 @@
{"name":"timestamp_"}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$BodyRange",
"fields":[
{"name":"associatedValueCase_"},
{"name":"associatedValue_"},
{"name":"bitField0_"},
{"name":"length_"},
{"name":"start_"}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Contact",
"fields":[
@ -3445,6 +3422,33 @@
"queryAllDeclaredConstructors":true,
"methods":[{"name":"<init>","parameterTypes":[] }]
},
{
"name":"org.whispersystems.signalservice.internal.push.UpdateVerificationSessionRequestBody",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[
{"name":"getCaptcha","parameterTypes":[] },
{"name":"getMcc","parameterTypes":[] },
{"name":"getMnc","parameterTypes":[] },
{"name":"getPushChallenge","parameterTypes":[] },
{"name":"getPushToken","parameterTypes":[] },
{"name":"getPushTokenType","parameterTypes":[] }
]
},
{
"name":"org.whispersystems.signalservice.internal.push.VerificationSessionMetadataRequestBody",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[
{"name":"getMcc","parameterTypes":[] },
{"name":"getMnc","parameterTypes":[] },
{"name":"getNumber","parameterTypes":[] },
{"name":"getPushToken","parameterTypes":[] },
{"name":"getPushTokenType","parameterTypes":[] }
]
},
{
"name":"org.whispersystems.signalservice.internal.push.VerifyAccountResponse",
"allDeclaredFields":true,
@ -3544,6 +3548,7 @@
"name":"org.whispersystems.signalservice.internal.storage.protos.ManifestRecord",
"fields":[
{"name":"identifiers_"},
{"name":"sourceDevice_"},
{"name":"version_"}
]
},