o1egl / paseto

Platform-Agnostic Security Tokens implementation in GO (Golang)
MIT License
833 stars 34 forks source link

golang.org/x/crypto/ed25519 -> crypto/ed25519; go mod tidy #27

Closed glvnst closed 4 years ago

glvnst commented 4 years ago

PR for #26 .

glvnst commented 4 years ago

Not sure if this is actually any help.

glvnst commented 4 years ago

I was trying to figure out how to fix my dumb PR in a way that retains backward compatibility. Being relatively new to go I can't figure out how to do that without requiring go.1.13+ users to import a new major version number (or by adding a paseto.V2.GenerateEd25519Key-style function... which doesn't seem like a real answer). So I'm closing my own PR as insufficient for the job.