InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Remotely lock/unlock companion device

Open
#1,020 16 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Verification
  • I searched for similar feature request and found none was relevant.
Pitch us your idea!

Ever had someone pick up your phone when you left it unlocked, or straight up snatch it out of your hand? This is a problem no more!

Description

While I admittedly don't require this feature often, when I do, I really regret not opening this issue earlier.

Essentially, I believe it would be cool to have an app on the watch which is able to send a command to the companion app requesting that it lock or unlock the companion device (not sure if the latter is technically possible on most mobile devices, but it should be on desktop, definitely is on Linux). Given the recent encrypted communication feature, this should be secure, but the companion app will likely offer an option to enable or disable this anyway.

Here are the possible use cases:

  • Got a long password or PIN for better security but tired of typing it each time? Just unlock your device with your watch!
  • Annoying friends who steal your phone? Lock it from your watch!
  • Left your computer or laptop unlocked but you already walked 10 steps away from it and don't want to walk back? Lock it from your watch!
  • A friend needs to use your laptop but you don't want to type your password in front of them? Unlock it with your watch! And lock it again if they try to do something they shouldn't do!

This app should be relatively small and easy to implement on the InfiniTime side, so I'm hoping that the usefulness:difficulty ratio is enough for this to be accepted :P. Even so, I'll wait for some comments here before opening issues for companion apps.

Possibly related, is a lock feature for InfiniTime, but it's not really useful unless this is added, so I'll wait before opening that issue also.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing encrypted communication feature and how the watch communicates with companion apps. Determine whether lock and unlock commands are supported on the target companion devices and how enabling or disabling the feature should work. Done means the scope and cross-device behavior are defined well enough for implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.