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

Microphone access flathub? #9409

Open
Mr-Bajs opened this issue Jan 3, 2025 · 3 comments
Open

Microphone access flathub? #9409

Mr-Bajs opened this issue Jan 3, 2025 · 3 comments
Labels
question Question asked

Comments

@Mr-Bajs
Copy link
Contributor

Mr-Bajs commented Jan 3, 2025

Your question

If you click on on the potentially unsafe Fheroes2 on Flathub you'll get an windows showing what it means.

They are fine i suppose, except the issue that says is got access to you device microphone. It this a wrongful statement from flathub or why does Fheroes2 has access to the players microphones?

@Mr-Bajs Mr-Bajs added the question Question asked label Jan 3, 2025
@oleg-derevenetz
Copy link
Collaborator

Fheroes2 itself doesn't access the microphone, but probably SDL does. It may somehow initialize it or something like this.

@ihhub
Copy link
Owner

ihhub commented Jan 10, 2025

I think this is something to do with this file and more precisely --device=all option. According to this documentation this flag enables every device on a system:

While not ideal, --device=all can be used to access devices like webcams, CD/DVD drives etc.

Also this option:

--socket=pulseaudio - Access to PulseAudio, includes sound input (mic), sound output/playback, MIDI and ALSA sound devices in /dev/snd

@Mr-Bajs
Copy link
Contributor Author

Mr-Bajs commented Jan 14, 2025

The latest version of flatpak 1.16 now allows for a more granular access to devices.

USB & Input Devices

Two new features are present in Flatpak 1.16 that improve the handling of devices:

The new input device permission
Support for USB listing

The first, while technically still a sandbox hole that should be treated with caution, allows some apps to replace --device=all with --device=input, which has a far smaller surface. This is interesting in particular for apps and games that use joysticks and controllers, as these are usually exported by the kernel under /dev/input.

https://feaneron.com/2025/01/14/flatpak-1-16-is-out/

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

No branches or pull requests

3 participants