[PD1] Added SQLlite queries and minor protocol changes
This commit is contained in:
parent
1e12bcde6c
commit
23584e2901
6 changed files with 213 additions and 46 deletions
|
@ -30,7 +30,7 @@ func Run() {
|
|||
defer cl.Connection.Conn.Close()
|
||||
// TODO: getuserinfo client cert
|
||||
// TODO: ask server for the recieving client's cert
|
||||
certRequestPacket := protocol.NewRequestPubKey()
|
||||
certRequestPacket := protocol.NewRequestUserCertPacket(uid)
|
||||
cl.Connection.Send(certRequestPacket)
|
||||
certPacket := cl.Connection.Receive()
|
||||
// TODO: cipherContent := cryptoUtils.encryptMessageContent()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue