-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed ''backup_token' error during registration process #3127
base: master
Are you sure you want to change the base?
Conversation
… info for idevice.
Excuse me |
this error after use ios env |
@Rodrigosolari what command for yowsup-cli did you use? |
@gradol
|
i use echo command |
Nice and Work ...!!! many thank'....URAAAA !!! |
I got the same error here after trying to use "echo" demo.
|
the solve |
Fixes #3120 |
This will probably not work for long, since WhatsApp introduced this // Android copy of Vesta proto. Ground truth here:
// - https://www.internalfb.com/code/fbsource/xplat/rust/vesta_client/proto/src/messages.proto
package whatsapp;
option java_package = "com.whatsapp.proto";
// Payload stored by successful registration (by `finish_register_request`).
message RegistrationPayload {
// The secret data to be protected by the HSM system.
// Holds serialized `WaBackupKeyData` proto.
optional bytes backup_key_data = 1;
// OPAQUE protocol third registration message.
optional bytes r3 = 2;
// Registration nonce.
// Deprecated and soon to be removed. Replaced by `transcript` (see protocol spec).
optional bytes opaque_challenge = 3;
// History of registration messages: `SHA256(R1, R2, opaque_challenge)`
optional bytes transcript = 4;
}
// Payload returned on successful account login (by `finish_login_request`).
message LoginPayload {
// `backup_key_data` from `RegistrationPayload` AES-GCM-128 encrypted with
// OPAQUE `shared_key`.
optional bytes backup_key_data_encrypted = 1;
// Nonce used for AES-GCM-128 encryption of `backup_key_data`.
optional bytes rk_nonce = 2;
}
// WA-specific proto serialized to/from Vesta `backup_key_data` field.
message WaBackupKeyData {
// User's backup key AES-GCM-128 encrypted with OPAQUE export key.
optional bytes aes_k = 1;
// Nonce used to AES-GCM-128 encrypt `aes_k`.
optional bytes k_nonce = 2;
}
As you can see the backup_key_data is said to be protected by a "HSM" system. |
@Flam3rboy how did you extracted this proto file? |
@zek I just unzipped the apk and it was in the root dir |
@Flam3rboy wow I was looking for it in source code :D thanks |
I'm trying to send a message, but it doesn't come
|
@vadetcka999 seems like you can't access WhatsApp <failure reason="405" location="frc" /> |
@Flam3rboy Now it looks like this. I did everything as in the commit and registration goes well, but with sending messages problems
|
while trying this fix another error showing W 2022-07-29 21:25:40,370 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update to the latest version 🙏
No description provided.