veracrypt / VeraCrypt

Disk encryption with strong security based on TrueCrypt
https://www.veracrypt.fr
Other
6.8k stars 940 forks source link

Use polkit instead of sudo on machines without sudo like gparted #887

Open 1-minute-to-midnight opened 2 years ago

1-minute-to-midnight commented 2 years ago

Current behavior

Veracrypt currently requires sudo to work on linux

Desired behavior

I would like it to not use sudo because some people don't really use sudo but doas because they don't need the full functionality of sudo

Screenshots/Mockup/Designs

image

Your Environment

Please tell us more about your environment

VeraCrypt version: 1.24-Update7

Operating system and version: Arch Linux

System type: 64-bit

Note

I'm not a programmer and I just have basic knowledge of the how all the tech in linux works.....so please forgive if this idea sounds dumb

idrassi commented 2 years ago

This is indeed a good feature to have. I have looked on how to implement it and it is not straight forward. Time is needed to learn more about polkit but it is worth the effort for the long term .

TheDuchy commented 1 year ago

+1 on this issue, ran into it just now, where veracrypt can't run properly on my system, because I use doas instead of sudo

ghost commented 1 year ago

Any progress?

idrassi commented 1 year ago

No progress yet. I didn't have time to learn more about polkit. Other tasks on VeraCrypt take all my time. As usual, the project is open for contributions from people with more knowledge about polkit.