Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.FillBytes undefined (type *big.Int has no field or method FillBytes) #160

Closed
hongbinhsu opened this issue Feb 6, 2022 · 1 comment
Closed

Comments

@hongbinhsu
Copy link

github.com/golang-jwt/jwt/v4 (v4.2.0)

`Error: /home/runner/go/pkg/mod/github.com/golang-jwt/jwt/v4@v4.2.0/ecdsa.go:135:4: r.FillBytes undefined (type *big.Int has no field or method FillBytes)

Error: /home/runner/go/pkg/mod/github.com/golang-jwt/jwt/v4@v4.2.0/ecdsa.go:136:4: s.FillBytes undefined (type *big.Int has no field or method FillBytes)
`

@oxisto
Copy link
Collaborator

oxisto commented Feb 6, 2022

github.com/golang-jwt/jwt/v4 (v4.2.0)

`Error: /home/runner/go/pkg/mod/github.com/golang-jwt/jwt/v4@v4.2.0/ecdsa.go:135:4: r.FillBytes undefined (type *big.Int has no field or method FillBytes)

Error: /home/runner/go/pkg/mod/github.com/golang-jwt/jwt/v4@v4.2.0/ecdsa.go:136:4: s.FillBytes undefined (type *big.Int has no field or method FillBytes) `

As specified in the go.mod, this library needs at least Go 1.15. Using an even newer Go version is recommended. See #50 for a lengthy discussion.

@oxisto oxisto closed this as completed Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants