jpaseto icon indicating copy to clipboard operation
jpaseto copied to clipboard

Use Official Paseto Test Vectors

Open sdelamo opened this issue 4 years ago • 1 comments

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

sdelamo avatar Oct 19 '21 09:10 sdelamo

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)

bdemers avatar Oct 19 '21 13:10 bdemers