fuel-vm
fuel-vm copied to clipboard
Incorrect conversion from Bytes64 to PublicKey
Conversion from Bytes64 to PublicKey here is incorrect. sec1 includes 1 tag byte at the start of point encoding, so a valid uncompressed PublicKey would be 65 bytes. This is assigned low severity because it doesn't seem to be used anywhere.
is this related? https://github.com/FuelLabs/fuel-vm/issues/551
Calling it incorrect is a bit weird; Bytes64 is assumed to be without the tag byte and not in sec1 format.
Looks like this just requires a little more investigation. Possibly a non-issue.