This commit is contained in:
Alex Janka 2024-02-22 11:19:30 +11:00
parent a308515aea
commit 0aa80012ac

View file

@ -145,7 +145,7 @@ impl DevicePairingData {
let ios_device_info = {
let mut buf = pubkey.as_bytes().to_vec();
buf.extend_from_slice(self.ios_pairing_id.as_bytes());
buf.extend_from_slice(pubkey.as_bytes());
buf.extend_from_slice(response_pubkey);
buf
};
// 8. Use Ed25519 togenerate iOSDeviceSignature by signing iOSDeviceInfo with its long-term secret key, iOSDeviceLTSK