- Name/IRC nick: piggz
- Topic: Unlock via dbus
- Some details about the topic:
I made a fun little hack which allows a user to auto-unlock the phone if some configured BT device is connected (GitHub - piggz/harbour-smartunlock). Unfortunately it required a nasty hack in nemo-qml-plugin-devicelock to allow unlocking via dbus (GitHub - piggz/nemo-qml-plugin-devicelock at dbus-unlock), I can envisage a setup where the user enters the unlock code into some settings, and a dbus method that accepted the code could do the unlocking, which would be a bit better. This currently works great on the PInephones, but not on my phone which uses sailfish-devicelock-fpd. That closed part does link to /usr/lib64/libnemodevicelock.so.0 and exposes the same dbus method, but replies with an Auth error before hitting the modified code in MceDeviceLockAdaptor::setState() I think this is because it statically links the library, so my override in the dynamic lib doesnt work. Would you be interested in adding some real way to auto-unlock a device? What are your thoughts on this? My use case is to not need to unlock the phone if it know im “close by” … eg, if connected to my watch or my car" - Approx. time needed: 10 mins?
- Substitute (optional): I probably wont make the meeting, its xmas time afterall, but interested in what you think
4 Likes