-
Notifications
You must be signed in to change notification settings - Fork 155
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
Decrypting to C:\Program Files\ does nothing → confusion (admin permission) #40
Comments
Great catch! I should be able to detect this with a pretty trivial fix. I don't think Go allows to me automatically prompt for permissions, so I guess the user would have to restart Picocrypt. But I will definitely add the hint that there was a permission issue! |
The issue should be fixed now. Can you confirm that the attached version detects the permission issue on your system? Thanks! |
There are multiple combinations possible:
|
Thanks. I'll fix the last case soon! |
I put checks on both the input file and output file, so the issue is fixed now :) |
I'm currently testing Picocrypt because I like the idea and functionality behind this lightweight tool. I believe my rather "non-techy" perspective can be of value (in terms of expectations and workflow).
Environment
Description of the issue
Decrypting a
.pcv
file located atC:\Program Files\Picocrypt
to the same destination (probably anywhere inC:\Program Files\
) does nothing ifPicocrypt.exe
isn't running with administrator permission.This is not a bug, rather a Windows security feature. The user (not knowing this) might be confused because nothing happened; especially after getting the green
Completed.
message.Possible solution
Is it possible to show a hint or even prompt the user to grant administrator permission when decrypting to a "protected" destination?
The text was updated successfully, but these errors were encountered: