signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.62k stars 420 forks source link

Node: use a plain Buffer for the HsmEnclave public key #449

Closed jrose-signal closed 2 years ago

jrose-signal commented 2 years ago

The PublicKey type includes a type byte prefix to support different kinds of public keys in the future, but that doesn't really apply to HsmEnclave keys. This matches the Java implementation and the recently-updated Swift implementation (#448)