Skip to content

Commit 9d9ec40

Browse files
authored
Merge pull request #171 from sil-org/fix-test
fix a mistake in the FinishLogin test that was revealed by Go 1.26
2 parents a7d8ceb + dfe6262 commit 9d9ec40

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25
1+
FROM golang:1.26
22

33
RUN adduser user
44

cdk/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module cdk
22

3-
go 1.25
3+
go 1.26
44

55
require (
66
github.com/aws/aws-cdk-go/awscdk/v2 v2.185.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/sil-org/serverless-mfa-api-go
22

3-
go 1.25
3+
go 1.26
44

55
require (
66
github.com/aws/aws-lambda-go v1.49.0

webauthn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ func (ms *MfaSuite) Test_FinishLogin() {
628628
ctxUserCred1 := context.WithValue(reqWithBody1.Context(), UserContextKey, userWithCreds)
629629
reqWithBody1 = *reqWithBody1.WithContext(ctxUserCred1)
630630

631-
signature2 := GenerateAuthenticationSig(authDataBytes2, cdBytes, privateKey1)
631+
signature2 := GenerateAuthenticationSig(authDataBytes2, cdBytes, privateKey2)
632632

633633
assertionResponse2 := `{
634634
"id":"` + credIDEncoded2 + `",

0 commit comments

Comments
 (0)