Re: [PATCH v3] credential: new attribute password_expiry_utc
- From
M Hickford <mirth.hickford@gmail.com>
- Date
- Feb 14, 2023, 22:36 UTC
- Message-ID
- <CAGJzqs=t7k2zRKKq9xN-Avbo2uXgqsg7i0Utfv-ee6yZ2CWNDA@mail.gmail.com>
- In-Reply-To
- <xmqqmt5h80s8.fsf@gitster.g>
On Tue, 14 Feb 2023 at 01:59, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> > "M Hickford via GitGitGadget" <gitgitgadget@gmail.com> writes: > > > From: M Hickford <mirth.hickford@gmail.com> > > > > Some passwords have an expiry date known at generation. This may be > > years away for a personal access token or hours for an OAuth access > > token. > > ... > > t/t0300-credentials.sh | 94 ++++++++++++++++++++++++++++++ > > https://github.com/git/git/actions/runs/4169057114/jobs/7217377625 > > Other platforms seem to be OK, but Windows test seems to be unhappy > with it when this topic gets merged to 'seen'.
Curious, let me take a look. I see that the tests failed on freebsd too.
I don't have a Windows machine to debug. If anyone reading has a hypothesis, please share.
I shall try changing the default value for a password without expiry from TIME_MAX to 0, see if that works any better [2].
[1] https://github.com/git/git/pull/1443/checks?check_run_id=11112315291 [2] https://github.com/git/git/pull/1443/checks?check_run_id=11343677685