dajiaji / pyhpke

A Python Implementation of HPKE (Hybrid Public Key Encryption)
MIT License
7 stars 4 forks source link

Elliptic Curve `to_private_bytes` uses DER Encoding and does not dump the private_numbers().private_value #138

Closed Aurvandill closed 1 year ago

Aurvandill commented 1 year ago

By mistake i made a mistake when implementing the serialization of the Elliptic Curve Private Keys. Instead of just dumping the private_numbers().private_value i encoded the key with the DER encoding.

this mistake will be fixed by PR #137

Sorry for the mistake

with best regards Aurvandill

Aurvandill commented 1 year ago

@dajiaji sorry for the inconvenience but did you already have time to look at this?

dajiaji commented 1 year ago

Resolved by #137