paseto-toolkit / jpaseto

A library for creating and parsing Paseto in Java
Apache License 2.0
65 stars 15 forks source link

Use Official Paseto Test Vectors #83

Open sdelamo opened 2 years ago

sdelamo commented 2 years ago

I don't think this library is currently running tests against the PASETO Test Vectors. I maybe good to have that test coverage.

bdemers commented 2 years ago

Equivalent tests should be running already, but were abstracted from the RFC draft before this test repo existed. That said, I do think it would be an improvement to use the official test vector files instead of something like this: https://github.com/paseto-toolkit/jpaseto/blob/7cb92c05d8457822b0e34927c97a8d7ed6e52edd/integration-tests/src/main/groovy/dev/paseto/jpaseto/its/V2LocalIT.groovy#L103

(this also benefits #61)