rlittlefield / pypaseto

PASETO for Python
Other
96 stars 11 forks source link

Remove nonce for tests #12

Closed HacKanCuBa closed 4 years ago

HacKanCuBa commented 5 years ago

Hello! I like your port, thanks for your work!

I would like to contribute with a PR to remove the hardcoded nonce_for_unit_tests value, by using mock to patch the functionality of pysodium.randombytes().

ghost commented 5 years ago

Awesome!

rlittlefield commented 4 years ago

This is a much better way of handling this! Thank you!