git-credential-oauth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all. I'm excited to share git-credential-oauth, a Git credential
helper that securely authenticates to GitHub, GitLab, BitBucket and
other forges using OAuth.
https://github.com/hickford/git-credential-oauth

The target user currently uses personal access tokens with
git-credential-store or git-credential-cache. I suspect most readers
of this list use SSH keys to authenticate, but you're welcome to try
it out with HTTPS remotes.

> The first time you push, the helper will open a browser window to authenticate. Subsequent pushes within the cache timeout require no interaction.

This read-only credential-generating helper is designed to be used in
conjunction with existing storage helpers. It's neat how the
credential system supports multiple helpers. With the config below,
Git checks the cache for a stored credential before generating a fresh
credential.

> [credential]
>   helper =
>   helper = cache --timeout 7200 # two hours
>   helper = oauth

Comments and suggestions welcome.

ps. Git Credential Manager already has this feature so why another
helper? git-credential-oauth is a simpler app that just does OAuth.
It's developed in Go so should be easy to package for Linux distros.
The install size is smaller.  For a full comparison, see
https://github.com/hickford/git-credential-oauth#comparison-with-git-credential-manager
.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux