Skip to content

Go1.20 TestGetKey: keys with same invocation options do not match #61

@zhsj

Description

@zhsj

With the upcoming Go1.20, the tests fail

$ go version
go version go1.20rc2 linux/amd64
$ go test -count=1 ./...
?       github.com/cloudflare/gokey/cmd/gokey   [no test files]
--- FAIL: TestGetKey (0.02s)
    gokey_test.go:161: keys with same invocation options do not match
FAIL
FAIL    github.com/cloudflare/gokey     0.135s
ok      github.com/cloudflare/gokey/rsa 2.279s
FAIL

It looks like real issue that the key generation is changed in Go1.20, but I haven't found related changelog in Go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions