Skip to content

Commit

Permalink
Merge branch 'master' into fix-tpm-san-extension-parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored Nov 19, 2024
2 parents 48143e6 + 914d6e5 commit 1f13844
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ require (
github.com/google/uuid v1.6.0
github.com/mitchellh/mapstructure v1.5.0
github.com/stretchr/testify v1.9.0
golang.org/x/crypto v0.29.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
golang.org/x/crypto v0.29.0 // indirect
golang.org/x/sys v0.27.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
3 changes: 1 addition & 2 deletions protocol/webauthncose/ed25519_go112.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
package webauthncose

import (
"crypto/ed25519"
"crypto/x509/pkix"
"encoding/asn1"

"golang.org/x/crypto/ed25519"
)

var oidSignatureEd25519 = asn1.ObjectIdentifier{1, 3, 101, 112}
Expand Down
2 changes: 1 addition & 1 deletion protocol/webauthncose/webauthncose.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package webauthncose
import (
"crypto"
"crypto/ecdsa"
"crypto/ed25519"
"crypto/elliptic"
"crypto/rsa"
"crypto/x509"
Expand All @@ -13,7 +14,6 @@ import (
"math/big"

"github.com/google/go-tpm/legacy/tpm2"
"golang.org/x/crypto/ed25519"

"github.com/go-webauthn/webauthn/protocol/webauthncbor"
)
Expand Down
2 changes: 1 addition & 1 deletion protocol/webauthncose/webauthncose_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package webauthncose

import (
"crypto/ed25519"
"crypto/rand"
"encoding/hex"
"testing"

"github.com/stretchr/testify/assert"
"golang.org/x/crypto/ed25519"

"github.com/go-webauthn/webauthn/protocol/webauthncbor"
)
Expand Down

0 comments on commit 1f13844

Please sign in to comment.