paseto-standard / test-vectors

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

Fix k1.secret-wrap to wrap DER-formatted private key. #14

Closed dajiaji closed 2 years ago

dajiaji commented 2 years ago

If k1.secret-wrap should wrap DER-formatted key, you can use this PR to fix them.

Close #13.

paragonie-security commented 2 years ago

This breaks PHP: https://github.com/paragonie/paserk-php/actions/runs/1270498826

EDIT: This looks like a PHP bug.

paragonie-security commented 2 years ago

PHP fixed in https://github.com/paragonie/paserk-php/commit/529c0247295691243417ab67fc8280e8bb55000c :)