cargo/credential
Josh Stone 4ee7b9c260 Load libsecret by its SONAME, libsecret-1.so.0
The library name `libsecret-1.so` is only found in `-dev` or `-devel`
packages on many distros, and it's usually only a symlink. For example,
this is what I have on Fedora:

    /usr/lib64/libsecret-1.so -> libsecret-1.so.0
    /usr/lib64/libsecret-1.so.0 -> libsecret-1.so.0.0.0
    /usr/lib64/libsecret-1.so.0.0.0

    $ rpm -qf /usr/lib64/libsecret*
    libsecret-devel-0.21.4-2.fc40.x86_64
    libsecret-0.21.4-2.fc40.x86_64
    libsecret-0.21.4-2.fc40.x86_64

The middle `libsecret-1.so.0` filename matches the actual `SONAME` in
the library, which you can see with `readelf -d`, and this is what
programs built directly against this library will use. It's a better
choice for dynamic loaders too, so devel packages aren't needed.
2024-05-17 16:05:30 -07:00
..
cargo-credential cargo-credential: bump version to 0.4.5 2024-04-20 10:38:49 +03:00
cargo-credential-1password chore: Make N-2 the default MSRV 2024-01-18 15:30:41 -06:00
cargo-credential-libsecret Load libsecret by its SONAME, libsecret-1.so.0 2024-05-17 16:05:30 -07:00
cargo-credential-macos-keychain chore(deps): update msrv (1 version) to v1.78 2024-05-02 15:07:25 +00:00
cargo-credential-wincred chore(deps): update msrv (1 version) to v1.78 2024-05-02 15:07:25 +00:00
README.md

Cargo Credential Packages

This directory contains Cargo packages for handling storage of tokens in a secure manner.

cargo-credential is a generic library to assist writing a credential process. The other directories contain implementations that integrate with specific credential systems.