Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit test depends on expired pre-generated cert #17

Closed
desimone opened this issue Dec 2, 2021 · 0 comments · Fixed by #20
Closed

unit test depends on expired pre-generated cert #17

desimone opened this issue Dec 2, 2021 · 0 comments · Fixed by #20
Assignees
Labels
bug Something isn't working

Comments

@desimone
Copy link
Collaborator

desimone commented Dec 2, 2021

What happened?

Unit test failed.

What did you expect to happen?

Unit tests to pass.

How'd it happen?

go test ./...

--- FAIL: TestVerifyAndroidSafetyNetAttestationStatement (0.09s)
    --- FAIL: TestVerifyAndroidSafetyNetAttestationStatement/valid (0.09s)
        --- FAIL: TestVerifyAndroidSafetyNetAttestationStatement/valid/AndroidSafetyNet (0.09s)
            /Users/bdd/webauthn/attestation_statement_android_safety_net_test.go:19: 
                	Error Trace:	attestation_statement_android_safety_net_test.go:19
                	Error:      	Received unexpected error:
                	            	invalid attestation statement: x509: certificate has expired or is not yet valid: current time 2021-12-02T10:05:31-08:00 is after 2021-10-17T13:13:41Z
                	Test:       	TestVerifyAndroidSafetyNetAttestationStatement/valid/AndroidSafetyNet
FAIL
coverage: 74.6% of statements
FAIL	github.com/pomerium/webauthn	0.227s
FAIL

What's your environment like?

go version go1.17.2 darwin/arm64

Additional context

Add any other context about the problem here.

@desimone desimone added the bug Something isn't working label Dec 2, 2021
@calebdoxsey calebdoxsey self-assigned this Jun 23, 2022
@calebdoxsey calebdoxsey mentioned this issue Jun 27, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants