Closed jpmens closed 5 months ago
I have enabled secret key encryption and have configured a key for the user/device on Recorder.
Location publishes correctly arrive on the broker as {"_type":"encrypted", are decrypted, and stored in REC files as decrypted data. So far fine.
{"_type":"encrypted"
If I attempt to publish settings or waypoints from the client, no data is transferred at all.
The device logs:
2024-02-03T20:18:57.002Z [Connection] state connected (3) 2024-02-03T20:18:58.619Z [LocationManager] set monitoring=1 2024-02-03T20:18:58.622Z [LocationManager] set monitoring=1 2024-02-03T20:18:58.627Z [LocationManager] set monitoring=1 2024-02-03T20:18:58.646Z [Connection] sendData(855):owntracks/jip/iPad/dump {"_type":"dump","configuration" :{"_type":"configuration","allowinvalidcerts":false, ... "ws":false}} q2 r0 2024-02-03T20:18:58.651Z [Connection] sendData mid=22 2024-02-03T20:18:58.693Z [Connection] messageDelivered mid=22 2024-02-03T20:19:00.237Z [OwnTracksAppDelegate] applicationWillResignActive 2024-02-03T20:19:01.704Z [OwnTracksAppDelegate] applicationDidEnterBackground 2024-02-03T20:19:01.706Z [Connection] disconnect 2024-02-03T20:19:01.706Z [Connection] state closing (4)2024-02-03T20:19:01.708Z [Connection] connection closed MQTT eventCode: (2) (null)2024-02-03T20:19:01.708Z [Connection] state closed (5) 2024-02-03T20:19:01.708Z [Connection] state starting (0)2024-02-03T20:19:09.140Z [OwnTracksAppDelegate] applicationDidBecomeActive
Settings and waypoints are now being published encrypted. I can't reproduce; I think it must have something to do with when the encryption key is set / used.
I have enabled secret key encryption and have configured a key for the user/device on Recorder.
Location publishes correctly arrive on the broker as
{"_type":"encrypted"
, are decrypted, and stored in REC files as decrypted data. So far fine.If I attempt to publish settings or waypoints from the client, no data is transferred at all.
The device logs: