Skip to content

ECDSA key components can end up less than 64 bytes long #11

@fguitton

Description

@fguitton

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);
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions