Skip to content

Commit

Permalink
build(deps): drop golang.org/x/crypto to indirect (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored Nov 17, 2024
1 parent 1d9e6e4 commit 57b45b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
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 57b45b6

Please sign in to comment.