git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Questions, improvements

From
BJBARDOT Jérôme <bardot.jerome@gmail.com>
Date
Oct 20, 2021, 12:40 UTC
Message-ID
<9009a3af-9d21-cad1-6a4c-e1a81ece6f83@gmail.com>
In-Reply-To
<nycvar.QRO.7.76.6.2110201340370.56@tvgsbejvaqbjf.bet>
On 20/10/2021 13:42, Johannes Schindelin wrote:
Show 33 quoted lines
> Hi,
>
> On Tue, 19 Oct 2021, Jeff King wrote:
>
>> On Tue, Oct 19, 2021 at 07:38:16PM +0200, BARDOT Jérôme wrote:
>>
>>> 2)
>>>
>>> I need a domain name / uri / ip base way to choose auth information.
>>> i find some examples in past but not as smart as what i want. (Maybe i
>>> miss something)
>>>
>>> 3)
>>>
>>> For auth client side can we use tools like Pass and or identity manager.
>> I'm not entirely sure I understand your questions here, but I think
>> you're looking for credential helpers? Try "git help credentials" for an
>> overview.
>>
>> There are helpers which interact with common OS secure storage systems
>> (like osxkeychain, libsecret, etc). But you can also write your own
>> little scripts, and restrict them based on URLs.
>>
>> So for instance I use this config to pull a GitHub PAT out of the "pass"
>> tool:
>>
>>   [credential "https://github.com"]
>>   username = peff
>>   helper = "!f() { test $1 = get && echo password=`pass github/token`; }; f"
> A quite complete, cross-platform credential helper (included in Git for
> Windows and enabled by default, but it also works on macOS and on Linux)
> is Git Credential Manager:
> https://github.com/microsoft/Git-Credential-Manager-Core/

We only use GNU\Linux for our work, i see there is .deb, are they integrated in official debian repositories (stable) ?

We avoid tools not Libre and not package by default in debian. (with few exeptions) 

And for what i see it's using C# and Microsoft not really play integration by putting stuff on their side instead of working with the GNU community (but it's just my opinion).

> It comes with backends for some major Git hosters and is pretty
> hassle-free, once configured.
Pretty sure it is.
> Ciao,
> Johannes
Thx for the information by the way
Previous: Johannes SchindelinNext: brian m. carlson
Message 4 of 7 in “Questions, improvements”
  1. BARDOT JérômeOct 19, 2021
  2. Jeff KingOct 19, 2021
  3. Johannes SchindelinOct 20, 2021
  4. BARDOT JérômeOct 20, 2021
  5. brian m. carlsonOct 21, 2021
  6. BARDOT JérômeOct 20, 2021
  7. brian m. carlsonOct 21, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.