In the current repo we can see that a padding of ECDSA key components is commented out.
This is leading to keys of sizes inferior to 64 bytes.
Older copies on this library had this working to ensure consistent size.
Is there any plan to uncomment this ? What was the original thinking behind commenting it out ?
|
function padTo8BytesIncrement( array ) { |
|
return array; |
|
//return msrcryptoUtilities.padFront(array, 0, Math.ceil(array.length / 8) * 8); |
|
} |
In the current repo we can see that a padding of ECDSA key components is commented out.
This is leading to keys of sizes inferior to 64 bytes.
Older copies on this library had this working to ensure consistent size.
Is there any plan to uncomment this ? What was the original thinking behind commenting it out ?
MSR-JavaScript-Crypto/scripts/ecdsa.js
Lines 210 to 213 in 9837453