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

Add support for sandboxed socket path #10

Merged
merged 2 commits into from
Jul 16, 2022

Commits on Jun 1, 2022

  1. Treat buffer size as usize

    `usize` is made exactly for this (e.g.: the size of a buffer), and
    signatures are a bit more idiomatic.
    
    These changes also try to cast the u32 to a usize as soon as we read it,
    and will panic if there is an issue (whereas using `as usize` may result
    in silent conversion errors on uncommon architectures.
    Hugo Osvaldo Barrera committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    dda48b6 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Add support for sandboxed socket path

    Rather than try a single path, try all supported paths, in the preferred
    order. This avoids breaking compatibility with previous KeePassXC
    versions.
    
    See: keepassxreboot/keepassxc#8018
    Fixes: varjolintu#8
    Supercedes: varjolintu#7
    Hugo Osvaldo Barrera committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    a3b7d20 View commit details
    Browse the repository at this point in the history