# Installer git-credential-libsecret avec Homebrew, apk, dnf, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de git-credential-libsecret pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:git-credential-libsecret
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install git-credential-libsecret
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add git-credential-libsecret
```

  Preuve: Alpine Linux edge package indexes: git-credential-libsecret from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install git-credential-libsecret
```

  Preuve: Fedora Rawhide package metadata: git-credential-libsecret from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install git-credential-libsecret
```

  Preuve: openSUSE Tumbleweed package metadata: git-credential-libsecret from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:git-credential-libsecret
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/git-credential-libsecret>
- **Version:** 2.55.0
- **Résumé source:** Git helper for accessing credentials via libsecret
- **Page d'accueil:** <https://git-scm.com>
- **Dépôt:** <https://github.com/git/git>
- **Docs amont:** <https://git-scm.com>
- **Licence:** GPL-2.0-or-later
- **Archive source:** <https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz>
- **Dernière mise à jour:** 2026-06-29T20:54:53Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- git-credential-libsecret (cli)
- git-credential-libsecret (alias)

## Dépendances

- gettext
- glib
- libsecret

## Dépendances de compilation

- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.55.0
- gestionnaire mis à jour: 2026-06-29
- données locales: OK
- dépôt amont: https://git-scm.com
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

git-credential-libsecret is Git's Linux Secret Service credential helper. It lets Git store and retrieve HTTPS credentials through libsecret-backed wallets such as GNOME Keyring or KDE Wallet instead of keeping long-lived credentials in plaintext files.

### Historique du projet

The helper entered Git's contrib area in 2016. Its initial Git commit describes it as based on the earlier GNOME Keyring helper, replacing the deprecated, GNOME-specific libgnome-keyring library with libsecret and the XDG Secret Service API.

Later Git-side changes kept the helper aligned with Git's credential protocol. A 2017 change made it unlock locked secrets through the Secret Service interface, and 2023 changes added storage for password expiry and OAuth refresh-token attributes while preserving compatibility with older stored credentials.

### Historique d'adoption

Git's credential-helper documentation lists git-credential-libsecret alongside macOS Keychain and Windows Credential Manager as the Linux secure persistent storage option. That placement made it part of the standard Git credential-helper ecosystem rather than a standalone password-manager integration.

Linux package managers expose it as a separate package because the helper depends on libsecret and desktop secret-service libraries that are not always part of a minimal Git build.

### Modes d'utilisation

Practitioners configure it through Git's `credential.helper` setting, usually in `~/.gitconfig`, `$XDG_CONFIG_HOME/git/config`, or a repository `.git/config`. After configuration, Git invokes `git credential-libsecret` through the credential-helper protocol during HTTP authentication.

Its use case is workstation Git over HTTPS: the first authentication stores a username and password, personal access token, or generated token in the desktop secret service, and later fetch, pull, and push operations retrieve it without prompting.

### Pourquoi les passionnés de paquets s'y intéressent

For package maintainers, git-credential-libsecret is a small but important split from the main Git package. It is tied to desktop-secret-service dependencies, so distributing it separately keeps headless or minimal Git installs lean while giving Linux desktop users OS-integrated credential storage.

It also illustrates Git's extension model: a helper in `contrib/credential` can become a distro-facing executable without changing Git's core credential protocol.

### Chronologie

- 2016: Git adds `contrib/credential/libsecret` as a libsecret replacement for the GNOME Keyring helper.
- 2017: The helper learns to unlock locked Secret Service items when reading credentials.
- 2023: The helper stores Git credential attributes such as password expiry and OAuth refresh tokens in a backwards-compatible secret format.
- 2025: Git fixes compilation of the libsecret helper in contrib.

### Related projects

- git-credential-cache and git-credential-store are Git's built-in generic helpers; libsecret fills the Linux secure-storage role.
- git-credential-osxkeychain and git-credential-wincred are the analogous platform-specific helpers for macOS and Windows.
- Git Credential Manager and git-credential-oauth are related helpers that generate or manage credentials through broader authentication workflows.

### Sources

- <https://git-scm.com/doc/credential-helpers lists git-credential-libsecret as the Linux secure persistent storage helper.>
- <https://git-scm.com/docs/gitcredentials documents Git credential helpers, configuration, and helper invocation semantics.>
- <https://github.com/git/git documents the upstream Git source history for the libsecret helper.>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.gitconfig, $XDG_CONFIG_HOME/git/config, .git/config
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-credential-libsecret
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- apk - git-credential-libsecret - 2.55.0-r0: normalized package name match | Alpine Linux edge package indexes: git-credential-libsecret from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | libsecret-based credential helper | https://www.git-scm.com/
- dnf - git-credential-libsecret - 2.55.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: git-credential-libsecret from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Git helper for accessing credentials via libsecret | https://git-scm.com/
- zypper - git-credential-libsecret - 2.55.0-2.3: normalized package name match | openSUSE Tumbleweed package metadata: git-credential-libsecret from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Git credential backend using libsecret to access keyring | https://git-scm.com/


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/fr/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [glib](https://pkg.so/fr/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/fr/brew/gettext/) - Runtime dependency declared by Homebrew.
- [libsecret](https://pkg.so/fr/brew/libsecret/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [git](https://pkg.so/fr/brew/git/) - Shares the same upstream homepage.
- [git-gui](https://pkg.so/fr/brew/git-gui/) - Shares the same upstream homepage.
- [git-svn](https://pkg.so/fr/brew/git-svn/) - Shares the same upstream homepage.
- [trufflehog](https://pkg.so/fr/brew/trufflehog/) - Shares pkgdb curated category or tags: cli, credentials, git, security.
- [git-credential-oauth](https://pkg.so/fr/brew/git-credential-oauth/) - Shares pkgdb curated category or tags: cli, credentials, git, security.
- [gitleaks](https://pkg.so/fr/brew/gitleaks/) - Shares pkgdb curated category or tags: cli, git, security.
- [git-crypt](https://pkg.so/fr/brew/git-crypt/) - Shares pkgdb curated category or tags: cli, git, security.
- [git-secrets](https://pkg.so/fr/brew/git-secrets/) - Shares pkgdb curated category or tags: cli, git, security.
- [granted](https://pkg.so/fr/brew/granted/) - Shares pkgdb curated category or tags: cli, credentials, security.
- [enpass-cli](https://pkg.so/fr/brew/enpass-cli/) - Shares pkgdb curated category or tags: cli, credentials, security.
- [tartufo](https://pkg.so/fr/brew/tartufo/) - Shares pkgdb curated category or tags: cli, git, security.
- [git-remote-gcrypt](https://pkg.so/fr/brew/git-remote-gcrypt/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, git, helper, security.
- [git-hound](https://pkg.so/fr/brew/git-hound/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, git, security.

## Combined YAML source

View the package source record on GitHub. [combined/git-credential-libsecret.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-credential-libsecret.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
