Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Support 31 byte ecc compact private keys #135

Merged
merged 1 commit into from
Apr 16, 2019
Merged

Conversation

Vagabond
Copy link
Contributor

Sometimes a key has the high bytes as 0s and the resulting key is 31
bytes. Add padding so that the key is properly stored and retrieved from
disk when this happens.

See also:

bitpay/bitcore-lib#47

openethereum/parity-ethereum#2263

Sometimes a key has the high bytes as 0s and the resulting key is 31
bytes. Add padding so that the key is properly stored and retrieved from
disk when this happens.
@Vagabond Vagabond requested a review from madninja April 16, 2019 17:32
@madninja madninja merged commit 5e44cd3 into master Apr 16, 2019
@madninja madninja deleted the adt/31-byte-ecc-keys branch April 16, 2019 17:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants