mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-25 15:56:02 +00:00
Cleanup
This commit is contained in:
1 parent
48164b8095
commit
448cc15a7e
2 files changed
+10
-5
No files matched your search
@@ -304,7 +304,13 @@ class OutboundNearbyConnection: NearbyConnection {
|
||||
|
||||
pairedEncryption.v1.pairedKeyResult.status = .success
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
log("[OutboundNearbyConnection \(self.id)] No private key available, cannot send signing certificate!")
|
||||
|
||||
pairedEncryption.v1.pairedKeyEncryption.secretIDHash = Data.randomData(length: 6)
|
||||
pairedEncryption.v1.pairedKeyEncryption.signedData = Data.randomData(length: 72)
|
||||
}
|
||||
|
||||
if let qrKey = qrCodePrivateKey, let authKey = authKey {
|
||||
let signature = qrKey.sign(msg: authKey.data())
|
||||
|
||||
Reference in new issue
Block a user