Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add connection authorization? #47

Open
joshbowyer opened this issue Dec 5, 2020 · 5 comments
Open

Add connection authorization? #47

joshbowyer opened this issue Dec 5, 2020 · 5 comments

Comments

@joshbowyer
Copy link

Currently umtp-responder is very permissive and allows connections without any authorization (if I am mistaken please correct me). Can authorization functionality be added similarly to how Android handles it, by requiring some sort of "Allow This Device To Connect" dialogue on the host?

@jfdelnero
Copy link
Member

Yes this is something possible. You can already use the message queue to mount/umount mtp drives from the device.

I may also add a specialized message queue command to disconnect/reconnect the mtp connection like Android does.

Anyway the autorization user interface on the device is out of the scope of the uMTP responder. It will just provide the message queue interface to unlock/lock the mtp drives.

@jfdelnero
Copy link
Member

Duplicate of #32

@jfdelnero jfdelnero marked this as a duplicate of #32 Dec 8, 2020
@jfdelnero
Copy link
Member

The unlock/lock feature was implemented in the v1.5.1.

@joshbowyer
Copy link
Author

Any documentation on how to enable it and what the scope of it is?

@jfdelnero
Copy link
Member

The readme and the configuration file was updated today. (The official release was done 1 hour ago).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants