tinti / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

passphrase secures notifications not working #321

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set passphrase on phone and desktop (e.g. 'a') 
2. Send test notification 
3. Nothing happens

What is the expected output? What do you see instead?

I expected to see a notification. This works when no passphrase is set. I'm 
100% positive the passphrase is identical on both devices

Froyo nexus 1 + snow leopard mac running multidroidnotifier 0.5.1

Please paste the application's log here (it should now be on your
clipboard):
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d6a418}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d6a418}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d43580}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d43580}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44ecb8e8}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44ecb8e8}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44c81608}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44c81608}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44cfb4c8}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44cfb4c8}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44ee6c30}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44ee6c30}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d5f9a8}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d5f9a8}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44cb5358}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44cb5358}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44e567e0}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44e567e0}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44da32e0}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44da32e0}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@44c59838}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44da25b0}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44da25b0}
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44e53270}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44e53270}
D/WifiService(   81): ACTION_SCREEN_ON
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiService(   81): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(   81): ACTION_SCREEN_OFF
D/WifiService(   81): setting ACTION_DEVICE_IDLE timer for 900000ms
D/WifiService(   81): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(   81): got ACTION_DEVICE_IDLE
D/WifiService(   81): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(   81): acquireWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d0b798}
D/WifiService(   81): releaseWifiLockLocked: WifiLock{SMS Backup type=1 
binder=android.os.BinderProxy@44d0b798}
D/WifiService(   81): ACTION_SCREEN_ON
D/WifiService(   81): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiService(   81): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   81): ACTION_SCREEN_OFF
D/WifiService(   81): setting ACTION_DEVICE_IDLE timer for 900000ms
D/WifiService(   81): ACTION_SCREEN_ON
D/RemoteNotifier( 3288): Using real bluetooth utils
D/RemoteNotifier( 3288): Using level 5 caller ID
I/RemoteNotifier( 3288): Starting notification service
D/RemoteNotifier( 3288): Battery status: Discharging
D/RemoteNotifier( 3288): Got battery level: 98
D/RemoteNotifier( 3288): Battery level change: 99
D/RemoteNotifier( 3288): Notifying of battery state change
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/8e99698ad2b97d/BATTERY/98/Discharging, remaining charge: 98%
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/499956b118b49/PING//Test notification
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/WifiService(   81): ACTION_SCREEN_OFF
D/WifiService(   81): setting ACTION_DEVICE_IDLE timer for 900000ms
D/WifiService(   81): ACTION_SCREEN_ON
D/RemoteNotifier( 3288): Battery status: Discharging
D/RemoteNotifier( 3288): Got battery level: 97
D/RemoteNotifier( 3288): Battery level change: 1
D/RemoteNotifier( 3288): Got battery update, but state change was not relevant
D/WifiService(   81): ACTION_BATTERY_CHANGED pluggedType: 0
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/499957622305f/PING//Test notification
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/4999577fc56ee/PING//Test notification
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/WifiService(   81): ACTION_SCREEN_OFF
D/WifiService(   81): setting ACTION_DEVICE_IDLE timer for 900000ms
D/RemoteNotifier( 3288): Battery status: Discharging
D/RemoteNotifier( 3288): Got battery level: 96
D/RemoteNotifier( 3288): Battery level change: 2
D/RemoteNotifier( 3288): Got battery update, but state change was not relevant
D/WifiService(   81): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   81): ACTION_SCREEN_ON
V/WifiMonitor(   81): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - 
remove keys]
V/WifiMonitor(   81): Event [CTRL-EVENT-STATE-CHANGE id=2 state=0 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker(   81): New network state is DISCONNECTED
V/WifiStateTracker(   81): Changing supplicant state: COMPLETED ==> DISCONNECTED
V/WifiMonitor(   81): Event [CTRL-EVENT-STATE-CHANGE id=2 state=2 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker(   81): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor(   81): Event [WPS-AP-AVAILABLE ]
V/WifiMonitor(   81): Event [Trying to associate with 00:50:18:42:b2:4a 
(SSID='PATILAIR' freq=2462 MHz)]
V/WifiMonitor(   81): Event [CTRL-EVENT-STATE-CHANGE id=2 state=3 
BSSID=00:50:18:42:b2:4a]
V/WifiStateTracker(   81): Changing supplicant state: SCANNING ==> ASSOCIATING
V/WifiMonitor(   81): Event [CTRL-EVENT-STATE-CHANGE id=2 state=4 
BSSID=00:50:18:42:b2:4a]
V/WifiStateTracker(   81): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiMonitor(   81): Event [Associated with 00:50:18:42:b2:4a]
V/WifiMonitor(   81): Event [CTRL-EVENT-STATE-CHANGE id=2 state=7 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker(   81): Changing supplicant state: ASSOCIATED ==> COMPLETED
V/WifiMonitor(   81): Event [CTRL-EVENT-CONNECTED - Connection to 
00:50:18:42:b2:4a completed (reauth) [id=2 id_str=]]
V/WifiStateTracker(   81): New network state is CONNECTED
D/WifiStateTracker(   81): Reset connections and stopping DHCP
D/WifiStateTracker(   81): DhcpHandler: DHCP request started
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/4999595fb3bc1/PING//Test notification
D/RemoteNotifier( 3288): Enabling wifi and delaying notification
D/WifiService(   81): acquireWifiLockLocked: 
WifiLock{org.damazio.notifier.WifiEnable type=1 
binder=android.os.BinderProxy@44dde748}
V/WifiStateTracker(   81): DhcpHandler: DHCP request succeeded
V/WifiStateTracker(   81): IP configuration: ipaddr 192.168.1.146 gateway 
192.168.1.1 netmask 255.255.255.0 dns1 68.105.28.12 dns2 192.168.1.1 DHCP 
server 192.168.1.1 lease 3600000 seconds
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/WifiWatchdogService(   81): (android.server.ServerThread) PATILAIR 
(00:50:18:42:b2:4a) does not require the watchdog
D/RemoteNotifier( 3288): Method wifi connected, sending delayed notification 
after 1501ms
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/WifiService(   81): releaseWifiLockLocked: 
WifiLock{org.damazio.notifier.WifiEnable type=1 
binder=android.os.BinderProxy@44dde748}
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/4999598f59d18/PING//Test notification
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/499959b981203/PING//Test notification
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/499959d38f591/PING//Test notification
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.
D/RemoteNotifier( 3288): Not starting service again
D/RemoteNotifier( 3288): Sending notification: 
v2/200142d4dfb186f9/49995a0139031/PING//Test notification
D/RemoteNotifier( 3288): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 3288): Sending over UDP
D/RemoteNotifier( 3288): Sent over UDP
I/RemoteNotifier( 3288): Sent notification over WiFi.

What version of Android are you using?

Original issue reported on code.google.com by apa...@gmail.com on 16 Dec 2010 at 4:35

GoogleCodeExporter commented 8 years ago
After I finished typing in the bug, I tried to send a test-notification and it 
worked (with what I remember being a one-letter passphrase that hadn't been 
working). I typed in a more complicated passphrase, nothing worked. I typed a 
very simple, but multi-letter passphrase and it worked. So either there's a 
weird thing about passphrase (unlikely) or this is a matter of user error.

Feel free to mark this as closed, as I'm less convinced this is reproducible.

Original comment by apa...@gmail.com on 16 Dec 2010 at 5:05

GoogleCodeExporter commented 8 years ago
I'm keeping this open to at least try to reproduce it. THere was a bug earlier 
which was trimming passwords to a specific size (I think it was 8 characters). 
You do have the latest version of both the desktop and android apps, I assume?

Original comment by rdamazio@gmail.com on 21 Dec 2010 at 6:20

GoogleCodeExporter commented 8 years ago
I indeed had the latest versions.

Original comment by apa...@gmail.com on 24 Dec 2010 at 7:49

GoogleCodeExporter commented 8 years ago
HTC Evo with latest version; Windows 7 with latest version of desktop client on 
the laptop. I set a password on the desktop client, but every time I save the 
settings, it clear out the text box and I don't see any notifications anymore. 
Works fine without using the passphrase.

Original comment by Chirisu on 19 Feb 2011 at 4:33