shaj13 / go-guardian

Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.
MIT License
559 stars 56 forks source link

fix x509 test failure #115

Closed shaj13 closed 2 years ago

shaj13 commented 2 years ago

What version of Go are you using (go version)?

locally 1.17 ci/cd 1.13.1

Does this issue reproduce with the latest release?

yes

What version of Go-Guardian are you using ?

Go-Guardian Version: latest 

What did you do?

Run test local and on ci/cd

What did you expect to see?

x509 test pass

What did you see instead?

--- FAIL: TestStrategyAuthenticate (0.00s) --- FAIL: TestStrategyAuthenticate/valid_client_certificate (0.00s) x509_test.go:94: valid client certificate: Got unexpected error: x509: certificate has expired or is not yet valid --- PASS: TestStrategyAuthenticate/expired_client_certificate (0.00s)

shaj13 commented 2 years ago

Closed #118