Commit Graph

2 Commits

Author SHA1 Message Date
Jordan Rose
cbaae3fb08 Tighten up checks for PublicKey.init(keyBytes:)
For historical reasons libsignal's PublicKey.init(_:) allows trailing
data, because the type byte specifies how much of the data is relevant
anyway. init(keyBytes:), however, should not be so lax, since it's
assuming the key data is a Curve25519 public point.
2024-05-20 10:18:42 -07:00
Max Radermacher
600eef4bec
Replace Curve25519Kit with LibSignal 2023-10-31 14:18:22 -05:00