Open mhellwig opened 10 years ago
+1. Need a way to unregister, have lots of problems with it!
+1. There are also problems with TextSecure when this is enabled (see https://github.com/WhisperSystems/TextSecure/issues/696 and https://github.com/WhisperSystems/TextSecure/issues/622#issuecomment-36045046).
+1 Also need a way to unregister!
I consider implementing that myself: A simple button next to "re-register", maybe "unregister", that triggers the unregistration process! Is already anybody working on this?
Anybody a link to the needed protocol specification?
there is a solution described at https://github.com/WhisperSystems/TextSecure/issues/755#issuecomment-36127020 . From what I can tell, this seems to work for me. At least I get the expected answer from the server. Not sure how to check whether I'm actually no longer registered.
I had some trouble because i fiddled around with both apps before, but finally I was able to unregister! Thank you mhellwig for pointing me into the right direction.
My steps to a successful unregister:
Please provide means of unregistering without having to install CM first. I don't have any backups of the required whisperpush password and am back to stock.
There's an APK you can use to do so, but will need to be ran on CM you registered with. Unfortunately i'm in the same boat and no longer using CM and can't unregister....yikes!
For those who need a fix for this and aren't on the phone they registered with, I've written a Ruby script to fake a registration and use that registration to unregister all devices associated with the number. You'll need to be able to receive a text message to the number you want to unregister, but for legitimate use that shouldn't be a problem.
I am unable to register with TextSecure, even after unregistering with WhisperPush: I used @daveio tool: https://github.com/daveio/whisperpush-unregister :
➜ whisperpush-unregister git:(master) ruby whisperpush_unregister.rb -m unregister -p +1XXXXXXXXXX --code YYYYYY
#<URI::HTTPS:0x007fb15513cfc8 URL:https://whisperpush.cyanogenmod.org/v1/accounts/code/YYYYYY>
Unregistering gcm with 20 rounds....................done.
Unregistering apn with 20 rounds....................done.
You should now be unregistered from CyanogenMod's WhisperPush service.
"Registration Conflict" "This number is already registered on a different TextSecure server (Cyanogenmod?). You must unregister there before registering here."
Does anyone have any other ideas here? I do not have the phone that was originally running CM (I formatted and sold it). I only have control of the phone number that was registered with WhisperSystems.
@daveio, thanks for the script, but it doesn't work for me. After running it in getconfirm mode, I guess I'm supposed to receive an SMS containing a code, but it never shows up.
Did they really design this system in such a way that there's no way to unregister if you've changed phones or reinstalled Cyanogenmod? That's just... amazing.
Another case where messages were not delivered because the user switched from CyanogenMod back to stock Android (https://github.com/WhisperSystems/TextSecure/issues/3359). A way for non-technical users to unregister would be much appreciated. You could use something like what TextSecure already has (https://whispersystems.org/textsecure/unregister/).
@daveio, thanks a bunch, it worked! I think. It didn't work immediately so I also used https://whispertool.cyanogenmod.org/ which didn't work immediately either, but now a few hours later I managed to register for TextSecure. So don't know whether it was your script or CM's tool or both that worked, but thanks in any case. :)
btw whispertool (#14):
whispertool.cyanogenmod.org uses an invalid security certificate. The certificate expired on 21/09/14 09:41. The current time is 29/07/15 19:35. (Error code: sec_error_expired_certificate)
The validation code SMS still isn't showing up, regardless of whether I use whispertool.cyanogenmod.org or daveio's approach. I filed bug #16 for this problem.
To ask this question here as well: How do I unregister from Whisperpush?
Specifically, I need to be certain that nobody elses phone gets told that my phone is reachable via Whisperpush. I tried it out, I don't like it, now I want to not use it. Since the whole thing is "transparent" this seems impossible, as somebody elses phone (if they use CM and are registered with Whisperpush) will be told that I am registered with it as well unless I can unregister.
Most of all since in another bug, it was mentioned that it's not recommended to have Textsecure AND Whisperpush on the same device (and I do want to use Textsecure .. I can explain why I prefer one over the other if needed).