paseto-standard / test-vectors

Test vectors for PASETO, PASERK, etc.
Other
6 stars 4 forks source link

k1.secret-wrap.pie wraps PEM-formatted key in test vectors. #13

Closed dajiaji closed 2 years ago

dajiaji commented 2 years ago

Although k1.secret data is based on DER-formatted key, PASERK data defined in k1.secret-wrap.pie.json seems to be based on PEM-formatted key.

I think both of them should be based on DER-formatted key. Are the test vectors in k1.secre-wrap.pie.json wrong?