paulmillr / micro-key-producer

Produces secure keys and passwords. Supports SSH, PGP, BLS, OTP and many other formats
MIT License
43 stars 12 forks source link

Remove unnecessary 32-bytes `ensureBytes` check in `sign` & `verify` #6

Closed LuisOsta closed 1 year ago

LuisOsta commented 1 year ago

This PR aims to fix https://github.com/paulmillr/ed25519-keygen/issues/5

paulmillr commented 1 year ago

please add a test that tests for this new behavior, non-32b messages

LuisOsta commented 1 year ago

@paulmillr I've added the tests and also solved a similar issue with verify that sign had