Skip to content

Commit

Permalink
bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
abarisani committed Jan 26, 2024
1 parent aafad04 commit 0a37c65
Showing 3 changed files with 28 additions and 28 deletions.
16 changes: 8 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
module github.com/usbarmory/GoKey

go 1.21.4
go 1.21.6

require (
filippo.io/keygen v0.0.0-20230306160926-5201437acf8e
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c
github.com/ProtonMail/go-crypto v1.0.0
github.com/gsora/fidati v0.0.0-20230806170658-ab651720d7c3
github.com/hsanjuan/go-nfctype4 v0.0.2
github.com/usbarmory/armoryctl v0.0.0-20230227101926-57044a2c34cf
github.com/usbarmory/imx-usbnet v0.0.0-20230906121641-6105d330ad44
github.com/usbarmory/tamago v0.0.0-20231213101626-43fc8af0637b
golang.org/x/crypto v0.16.0
github.com/usbarmory/imx-usbnet v0.0.0-20240119111829-8a5a776bd9e9
github.com/usbarmory/tamago v0.0.0-20240122155915-0de7f32c9b0c
golang.org/x/crypto v0.18.0
)

require (
@@ -19,13 +19,13 @@ require (
github.com/cloudflare/circl v1.3.3 // indirect
github.com/creack/goselect v0.1.2 // indirect
github.com/google/btree v1.0.1 // indirect
github.com/usbarmory/crucible v0.0.0-20231124103746-1699c85f750f // indirect
github.com/usbarmory/crucible v0.0.0-20231213080712-321ac9311a09 // indirect
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
gvisor.dev/gvisor v0.0.0-20230614190805-57027c7d31f8 // indirect
periph.io/x/periph v3.6.8+incompatible // indirect
36 changes: 18 additions & 18 deletions go.sum
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@ filippo.io/bigmod v0.0.1 h1:OaEqDr3gEbofpnHbGqZweSL/bLMhy1pb54puiCDeuOA=
filippo.io/bigmod v0.0.1/go.mod h1:KyzqAbH7bRH6MOuOF1TPfUjvLoi0mRF2bIyD2ouRNQI=
filippo.io/keygen v0.0.0-20230306160926-5201437acf8e h1:+xwUCyMiCWKWsI0RowhzB4sngpUdMHgU6lLuWJCX5Dg=
filippo.io/keygen v0.0.0-20230306160926-5201437acf8e/go.mod h1:ZGSiF/b2hd6MRghF/cid0vXw8pXykRTmIu+JSPw/NCQ=
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c h1:kMFnB0vCcX7IL/m9Y5LO+KQYv+t1CQOiFe6+SV2J7bE=
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0=
github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78=
github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0=
github.com/albenik/go-serial/v2 v2.5.1 h1:nnnyjuwIJLdih8yJyrncLFLQtGCnIppLcTNNtPg+ME0=
github.com/albenik/go-serial/v2 v2.5.1/go.mod h1:ySdCqoERscw1xluK1n62R8Faoyu+jXKwVHPa1lSSAew=
github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
@@ -35,17 +35,17 @@ github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMT
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/usbarmory/armoryctl v0.0.0-20230227101926-57044a2c34cf h1:RQwexbdIIS4espJNsPfWQY7WMZ+KuZlzMcfM+O4pHww=
github.com/usbarmory/armoryctl v0.0.0-20230227101926-57044a2c34cf/go.mod h1:wvi4iudNnS0mUApHq0+JtITq8kfcqm+6Q/46BcuJdoA=
github.com/usbarmory/crucible v0.0.0-20231124103746-1699c85f750f h1:L25faw0PM3ugoCWdPNzVRkp00U1fnuAiLCQs74KKIdI=
github.com/usbarmory/crucible v0.0.0-20231124103746-1699c85f750f/go.mod h1:8CtxsBNuSD2E0f23kH74XcHlenwMnn/RmTQ1wn4Lwtw=
github.com/usbarmory/imx-usbnet v0.0.0-20230906121641-6105d330ad44 h1:Ix2SE4SbB3HDAmOhcWBwG5HHgMUaDAYtjDMje/yQO98=
github.com/usbarmory/imx-usbnet v0.0.0-20230906121641-6105d330ad44/go.mod h1:eT+4LgXX1S+pyzpTtg0P5vCqvzQA4/kA1b/kmiMqQbE=
github.com/usbarmory/crucible v0.0.0-20231213080712-321ac9311a09 h1:uhgbNr6+nJY4R1tYBIDcX0p5Fwx65QOsxZGWnaLdqzY=
github.com/usbarmory/crucible v0.0.0-20231213080712-321ac9311a09/go.mod h1:8CtxsBNuSD2E0f23kH74XcHlenwMnn/RmTQ1wn4Lwtw=
github.com/usbarmory/imx-usbnet v0.0.0-20240118082425-854b2f484c33 h1:h0+TaC2VT6/mP6BIUDp1j+BS1KeHfe+FSolYM89pZb0=
github.com/usbarmory/imx-usbnet v0.0.0-20240118082425-854b2f484c33/go.mod h1:eT+4LgXX1S+pyzpTtg0P5vCqvzQA4/kA1b/kmiMqQbE=
github.com/usbarmory/imx-usbnet v0.0.0-20240119111829-8a5a776bd9e9 h1:r+gad4RGslkPJL0oNzNWecXgMOwrhs1+UgFqApEQwws=
github.com/usbarmory/imx-usbnet v0.0.0-20240119111829-8a5a776bd9e9/go.mod h1:eT+4LgXX1S+pyzpTtg0P5vCqvzQA4/kA1b/kmiMqQbE=
github.com/usbarmory/tamago v0.0.0-20220823080407-04f05cf2a5a3/go.mod h1:Lok79mjbJnhoBGqhX5cCUsZtSemsQF5FNZW+2R1dRr8=
github.com/usbarmory/tamago v0.0.0-20231016071039-36729d8ffc65 h1:N4td1q/gxe6ZxH/k1PirasT0tiMiSjyLWX4F+FKZieY=
github.com/usbarmory/tamago v0.0.0-20231016071039-36729d8ffc65/go.mod h1:uCPXcPo8SZulhZPz8irfVqzwVlPZ45w7CTJxkfxueGA=
github.com/usbarmory/tamago v0.0.0-20231207104918-4ca5544b6e10 h1:EOEwjxUMvsmimCngAtwYAcrWEiDprTuaUORy/v/EnX8=
github.com/usbarmory/tamago v0.0.0-20231207104918-4ca5544b6e10/go.mod h1:uCPXcPo8SZulhZPz8irfVqzwVlPZ45w7CTJxkfxueGA=
github.com/usbarmory/tamago v0.0.0-20231213101626-43fc8af0637b h1:CvICR6nwvGBUzadA44f2J24avR/WhL1WAGwbQo/zG7I=
github.com/usbarmory/tamago v0.0.0-20231213101626-43fc8af0637b/go.mod h1:uCPXcPo8SZulhZPz8irfVqzwVlPZ45w7CTJxkfxueGA=
github.com/usbarmory/tamago v0.0.0-20240104082716-7fdd041b36ef h1:/4FEy+WnOsA06twAR0UWFLEBU2KRhYzkh+jmvlsI4f4=
github.com/usbarmory/tamago v0.0.0-20240104082716-7fdd041b36ef/go.mod h1:uCPXcPo8SZulhZPz8irfVqzwVlPZ45w7CTJxkfxueGA=
github.com/usbarmory/tamago v0.0.0-20240122155915-0de7f32c9b0c h1:9xh9wxUkFVy7XcpU7HHz82I0f414eueJFUs0XjoniEs=
github.com/usbarmory/tamago v0.0.0-20240122155915-0de7f32c9b0c/go.mod h1:uCPXcPo8SZulhZPz8irfVqzwVlPZ45w7CTJxkfxueGA=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 h1:CCriYyAfq1Br1aIYettdHZTy8mBTIPo7We18TuO/bak=
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
@@ -58,8 +58,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc=
golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
@@ -82,15 +82,15 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE=
golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
4 changes: 2 additions & 2 deletions gokey_imx6.go
Original file line number Diff line number Diff line change
@@ -135,9 +135,9 @@ func main() {
}

func configureNetworking(device *imxusb.Device, card *icc.Interface, token *u2f.Token) {
gonet, err := usbnet.Add(device, deviceIP, deviceMAC, hostMAC, 1)
gonet := usbnet.Interface{}

if err != nil {
if err := gonet.Add(device, deviceIP, deviceMAC, hostMAC); err != nil {
log.Fatalf("could not initialize USB networking, %v", err)
}

0 comments on commit 0a37c65

Please sign in to comment.