docker / docker-credential-helpers

Programs to keep Docker login credentials safe by storing in platform keystores
MIT License
1.05k stars 166 forks source link

osxkeychain: switch to github.com/keybase/go-keychain #282

Open crazy-max opened 1 year ago

crazy-max commented 1 year ago

closes https://github.com/docker/docker-credential-helpers/issues/280

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 71.15% and project coverage change: -2.60 :warning:

Comparison is base (83d38ea) 52.74% compared to head (e61a226) 50.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #282 +/- ## ========================================== - Coverage 52.74% 50.15% -2.60% ========================================== Files 9 9 Lines 673 642 -31 ========================================== - Hits 355 322 -33 - Misses 271 272 +1 - Partials 47 48 +1 ``` | [Impacted Files](https://app.codecov.io/gh/docker/docker-credential-helpers/pull/282?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docker) | Coverage Δ | | |---|---|---| | [osxkeychain/osxkeychain.go](https://app.codecov.io/gh/docker/docker-credential-helpers/pull/282?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docker#diff-b3N4a2V5Y2hhaW4vb3N4a2V5Y2hhaW4uZ28=) | `56.52% <71.15%> (-12.59%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

thaJeztah commented 1 year ago

Haven't checked yet, but possibly this also fixes https://github.com/docker/docker-credential-helpers/issues/177

thaJeztah commented 1 year ago

So the only concerns I have is that this

In general, I'm wondering if we should start to reorganise this repository into multiple modules, because it's now a "mono-repo" containing both the client / API / library code (client, credentials, registryurl), as well as actual implementations (wincreds, osxkeychain, secretservice, pass), with (possibly) more implementations to be added (see https://github.com/docker/docker-credential-helpers/pull/268, https://github.com/docker/docker-credential-helpers/pull/235)

Some possible approaches;

crazy-max commented 1 year ago

Added support for secretservice as well: https://github.com/docker/docker-credential-helpers/pull/290