summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Crypto
AgeCommit message (Collapse)Author
2018-06-02Change Cookie -> Cookie Encryptedjoe
2018-06-02Factor anyRight to top-level.joe
2018-06-02Delete NetCrypto type, separate transports for Handshake,CryptoPacket.joe
2018-05-31NetCrypto TVars patch:James Crayne
* Change UponHandshake values in NetCryptoSession to TVars * factor freshCryptoSession, new functions: runUponHandshake createNetCryptoOutQueue * Try to handle intitated vs uninitiated sessions better (modifications to updateCryptoSession)
2018-06-01Separate functions for cryptoNetHandler cases.joe
2018-06-01tox: Separate transports for handshakes and crypto-packets.joe
2018-05-30This patch:James Crayne
* integrates Connection.Tox and Network.Tox.Crypto.Handlers * Network.Tox.netCrypto function uses freshCryptoSession
2018-05-30generalize NetCryptoSession to more statesJames Crayne
* adapt code to use types isomorphic to Maybe but which inform what state the connection must be in at the time the code is run. * also add more documentation
2018-05-30runCryptoHook only in dqueue thread for losslessJames Crayne
2018-05-30remove byteswqp on last2BytesJames Crayne
2018-05-30no trace on byteSwapJames Crayne
2018-05-30more netcrypto debug trace messagesJames Crayne
2018-05-30decryption bug, try byteswap on last2BytesJames Crayne
2018-05-30runCryptoHook on incoming lossless messagesJames Crayne
2018-05-30comment out base nonce compare on repeat handshakeJames Crayne
2018-05-30last2Bytes should be Word16James Crayne
2018-05-30debug trace in outgoing threadJames Crayne
2018-05-30comment showing relation between old and new crypto session status typesJames Crayne
2018-05-30oops, fix buildJames Crayne
2018-05-30more debug messages in cryptoNetHandlerJames Crayne
2018-05-30debug traces, handle Nothing case in ncToWireJames Crayne
2018-05-29initialize escape range in ncOutgoingIdMap, TODO commentsJames Crayne
2018-05-29initialize ncOutgoingIdMapJames Crayne
2018-05-31Send handshake response packet.joe
2018-05-29use PublicKey to encode handshake not dhtkeyJames Crayne
2018-05-29handshake nonce debug printsJames Crayne
2018-05-29show the contents of userKeys upon handshakeJames Crayne
2018-05-29remove FIXME commentJames Crayne
nonce bug confirmed as fixed in 9e91ad5c7
2018-05-31parseNetCrypto should peel id byte before deserializing the rest of the message.joe
2018-05-30tox: Removed obsolete "userKeys" TVar, use keys from ContactInfo.joe
2018-05-29dput: suppressible debug printsJames Crayne
2018-05-29Show instance for SymmetricKey, more debug printsJames Crayne
2018-05-29more session commandsJames Crayne
2018-05-28ncLastNMsgs is now CyclicBuffer typeJames Crayne
2018-05-30Data.CyclicBuffer, wipJames Crayne
2018-05-30fix In/Out tags on addMsgToLastNJames Crayne
2018-05-30add outgoing messages to lastNQJames Crayne
2018-05-30add ViewSnapshot to ncLastNMsg queueJames Crayne
2018-05-30FIXME comment in cryptoNetHandlerJames Crayne
2018-05-30fix backoff, and more debug printsJames Crayne
2018-05-30Finish "session" and "netcrypto" todo stubsJames Crayne
2018-05-29sendCrypto & friendsJames Crayne
* sendOnline * sendOffline * sendKill * setNick * setStatus * setStatusMsg * setTyping
2018-05-29setNoSpam, and defaultTypingHook (why not?)James Crayne
2018-05-29hooks to keep SessionView up to dateJames Crayne
2018-05-29dhtd & Network.Tox.Crypto.Handlers changes:James Crayne
* merge PerSession into NetCryptoSession * define defaultUnRecHook function * netcrypto command wip for testing * update to sessions command
2018-05-29netCrypto function, ready for testing?James Crayne
2018-05-28netcrypto wip, compilesJames Crayne
2018-05-24crypto hooks now take CryptoMessage not CryptoDataJames Crayne
2018-05-23rangemap integrationJames Crayne
Conflicts: dht-client.cabal src/Network/Tox/Crypto/Handlers.hs
2017-11-23remove obsolete receiveCrypto functionJames Crayne