Skip to content

Commit

Permalink
chore: update go-libfido2, use official package after PR merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian committed Jan 5, 2025
1 parent af7afeb commit a99d8e4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/age-plugin-fido2-hmac/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"filippo.io/age"
page "filippo.io/age/plugin"
"github.com/keys-pub/go-libfido2"
"github.com/olastor/age-plugin-fido2-hmac/pkg/plugin"
"github.com/olastor/go-libfido2"
)

var Version string
Expand Down
Binary file modified e2e/test_device.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.22.1
require filippo.io/age v1.2.1-0.20240621125216-8734a853bcdf

require (
github.com/olastor/go-libfido2 v0.0.0-20250103180346-299016ce2bd5
github.com/keys-pub/go-libfido2 v1.5.4-0.20250104233141-2534349bd685
golang.org/x/crypto v0.31.0
golang.org/x/sys v0.28.0
golang.org/x/term v0.27.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ filippo.io/age v1.2.1-0.20240621125216-8734a853bcdf/go.mod h1:JL9ew2lTN+Pyft4RiN
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/olastor/go-libfido2 v0.0.0-20250103180346-299016ce2bd5 h1:2/mxwZHhvPQwZSTT07wfDG4zksCBypdraimEynpaMsA=
github.com/olastor/go-libfido2 v0.0.0-20250103180346-299016ce2bd5/go.mod h1:vTlISl8JDzxuPvgKJBJoPkNYZmllqtkxAoQPQs1urQk=
github.com/keys-pub/go-libfido2 v1.5.4-0.20250104233141-2534349bd685 h1:zSJ+NjvdW6SKXv9+EGfbaXYveyamZKw2SE2uJdURCMQ=
github.com/keys-pub/go-libfido2 v1.5.4-0.20250104233141-2534349bd685/go.mod h1:92J9LtSBl0UyUWljElJpTbMMNhC6VeY8dshsu40qjjo=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/rand"
"filippo.io/age"
"fmt"
"github.com/olastor/go-libfido2"
"github.com/keys-pub/go-libfido2"
"golang.org/x/term"
"os"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/fido2_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"slices"
"time"

"github.com/olastor/go-libfido2"
"github.com/keys-pub/go-libfido2"
)

func listEligibleDevices() ([]*libfido2.Device, error) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/fido2_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package plugin

import (
"fmt"
"github.com/olastor/go-libfido2"
"github.com/keys-pub/go-libfido2"
"reflect"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (

"filippo.io/age"
page "filippo.io/age/plugin"
"github.com/keys-pub/go-libfido2"
"github.com/olastor/age-plugin-fido2-hmac/internal/bech32"
"github.com/olastor/age-plugin-fido2-hmac/internal/mlock"
"github.com/olastor/go-libfido2"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/term"
)
Expand Down

0 comments on commit a99d8e4

Please sign in to comment.