paseto-standard / test-vectors

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

Fix PBKW test vector to be based on raw password. #16

Closed dajiaji closed 2 years ago

dajiaji commented 2 years ago

Related to https://github.com/paragonie/paserk-php/pull/5, all of "paserk" data for PBKW are based on the passwords converted to hex strings.

I think it's better to fix this because it will confuse PASERK implementors in the future.

In addition, the modified test data for v1.secret-pw are based on not PEM-formatted key but DER-formatted key.