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

Rewrites pinentry find code to be more resilient #543

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 18, 2024

  1. Rewrites pinentry find code to be more resilient

    This change rewrites the custom `pinentry` search code to instead be
    a modified form of the standard `/usr/bin/pinetry` fallback script. The
    prior behaviour could not handle cases where a `pinentry` executable
    existed but was not actually usable. Now it checks using `ldd` for if an
    executable is functional or not. Additionally rewritten to be more clear
    and easier to extend with newer `pinentry` backends.
    
    `make test` was ran, and it passed the main usability tests for password
    entry. As my testing system uses swap it failed during the KDF test from
    an error from swap being enabled; I did not attempt further tests with
    swap disabled.
    
    This partially fixes Issue dyne#542.
    ultimatespirit committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f02bc9f View commit details
    Browse the repository at this point in the history