Commit f36b5bc
committed
Merge #246: Check that secrets are exactly 32 bytes
1c36e75 Check that secrets are exactly 32 bytes (Bob McElrath)
Pull request description:
Fixes #239.
I agree with @dgpv, any padding should be performed by the user and we shouldn't be doing any unexpected transformations on the user's secret key material. So we just raise an exception if anything other than exactly 32 bytes are passed.
Top commit has no ACKs.
Tree-SHA512: 9daf6e662ae4218b22c4a11a487d1be959d688abe593326e9c0eccfb6346bffa8fb08c1e4111fd95dc30b1a5123c751f629f83075096e4b0eef9a54e1cce23c51 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
| |||
0 commit comments