Giter Site home page Giter Site logo

Acces denied about pass-winmenu HOT 6 CLOSED

adelplace avatar adelplace commented on June 3, 2024
Acces denied

from pass-winmenu.

Comments (6)

adelplace avatar adelplace commented on June 3, 2024 1

Ok thanks for your support and all your work !
This app is really useful 👍

from pass-winmenu.

geluk avatar geluk commented on June 3, 2024

Hi @adelplace, this seems to be an issue in the code that checks if GPG is still responsive, which is used to work around a bug in GPG where GPG may stop responding to commands. I had thought (hoped?) that this bug would have been fixed at some point, but your logs seem to indicate it may still happen sometimes:

[19:57:20.124] [WRN] gpg-connect-agent failed to produce any output within 2,00 seconds
[19:57:20.124] [WRN] gpg-agent is most likely unresponsive and will be restarted

If you're able to reliably reproduce this issue, then the problem you're seeing here is really a result of another issue: Either GPG has become unresponsive, or the check pass-winmenu performs to make sure that GPG is still responsive is incorrect.

I've created a new test build that should resolve the error you're seeing here, but it's possible that one of the two causes I mentioned above are still present. In that case, you may see another error when decrypting, or decryption may take several seconds before succeeding. If this is the case, please let me know about it, because I'd like to resolve that as well.

You can download the test build here: https://ci.appveyor.com/api/buildjobs/0iypbt7p5ve2mb8c/artifacts/pass-winmenu%2Fbin%2FRelease%2Fpass-winmenu.exe
The executable can be used as a drop-in replacement for your existing pass-winmenu.exe.

from pass-winmenu.

adelplace avatar adelplace commented on June 3, 2024

I made some tests with your build (but the behavior is the same with the release one) and I found that the access denied error appairs only when I start the app manually.
When I use the automatic start option I'm able to decrypt passwords only few second after my pc startup, then I've got an other error
image

And in the logs I'm also stuck with this

[15:24:18.465] [WRN] gpg-connect-agent failed to produce any output within 2,00 seconds
[15:24:18.465] [WRN] gpg-agent is most likely unresponsive and will be restarted
[15:26:30.127] [WRN] gpg-connect-agent failed to produce any output within 2,00 seconds
[15:26:30.127] [WRN] gpg-agent is most likely unresponsive and will be restarted

By the way I've no issue to manually decrypt any gpg file using powershell

from pass-winmenu.

geluk avatar geluk commented on June 3, 2024

Thank you for investigating further. To narrow down the problem further I've disabled the responsiveness check temporarily, to determine whether the check itself is broken or if pass-winmenu calls GPG in a different manner (or perhaps a different executable) which causes it to not respond properly.

Can you try again with this build, and check if decryption works?
https://ci.appveyor.com/api/buildjobs/8scvtiykdku36v41/artifacts/pass-winmenu%2Fbin%2FRelease%2Fpass-winmenu.exe

from pass-winmenu.

adelplace avatar adelplace commented on June 3, 2024

Great now it's working well, even with a manual start :)

from pass-winmenu.

geluk avatar geluk commented on June 3, 2024

Thanks for checking! I think I'll remove the responsiveness check completely, because while it's supposed to work around a bug in GPG, I haven't seen that bug anymore in a long time, and your experience indicates that the workaround itself can break sometimes, which obviously isn't helpful.

You can continue using the version I linked above until I publish the next release, in which this issue will be fixed.

from pass-winmenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.