diff options
author | James Crayne <jim.crayne@gmail.com> | 2018-05-29 05:46:47 +0000 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2018-05-29 05:46:47 +0000 |
commit | 8633e6288df589e09c2c2ae04dea5a66c9493c56 (patch) | |
tree | fa5ecf577b75746a812b4963310f9ffeb0d29177 /src/Network/Tox/Crypto | |
parent | 9e91ad5c7d29c2e5702ca86c73f1f699e1c2714a (diff) |
remove FIXME comment
nonce bug confirmed as fixed in 9e91ad5c7
Diffstat (limited to 'src/Network/Tox/Crypto')
-rw-r--r-- | src/Network/Tox/Crypto/Handlers.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Network/Tox/Crypto/Handlers.hs b/src/Network/Tox/Crypto/Handlers.hs index 9e5bd94e..41ab8d41 100644 --- a/src/Network/Tox/Crypto/Handlers.hs +++ b/src/Network/Tox/Crypto/Handlers.hs | |||
@@ -548,10 +548,6 @@ cryptoNetHandler sessions addr (NetHandshake (Handshake (Cookie n24 ecookie) non | |||
548 | now <- getPOSIXTime | 548 | now <- getPOSIXTime |
549 | dput XNetCrypto ("Decrypt cookie with n24=" ++ show n24 ++ "\n symkey= " ++ show symkey) | 549 | dput XNetCrypto ("Decrypt cookie with n24=" ++ show n24 ++ "\n symkey= " ++ show symkey) |
550 | lr <- fmap join . sequence $ do -- Either Monad | 550 | lr <- fmap join . sequence $ do -- Either Monad |
551 | -- TODO: XXX: FIXME: | ||
552 | -- The following call to decryptSymmetric is failing every time, | ||
553 | -- including when uTox tries to connect | ||
554 | -- Possibly my cookies are backwards? | ||
555 | (CookieData cookieTime remotePubkey remoteDhtkey) <- (decodePlain =<< decryptSymmetric symkey n24 ecookie) | 551 | (CookieData cookieTime remotePubkey remoteDhtkey) <- (decodePlain =<< decryptSymmetric symkey n24 ecookie) |
556 | Right $ do -- IO Monad | 552 | Right $ do -- IO Monad |
557 | decrypted <- anyRight seckeys $ \key -> do | 553 | decrypted <- anyRight seckeys $ \key -> do |