Bug 158578 - dcc send does not work when encryption key has been set
Summary: dcc send does not work when encryption key has been set
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.0.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: argonel
URL:
Keywords:
: 158584 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-29 15:40 UTC by Niek Beernink
Modified: 2008-05-01 07:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niek Beernink 2008-02-29 15:40:59 UTC
Version:           1.0.1 (using KDE 3.5.8)
Installed from:    Ubuntu Packages

If you set an encryption key for a person using /setkey and then try to send a file to that person. The DCC transfer does not take place and remains in the "Offering" phase until it times out.

To reproduce:

1. Type /setkey mykey nickname 
2. Send a file to this person. (This can either be done by right-clicking on the person's name in the nicklist, the person's name in the channel window or by right-clicking in the query window of the person you're communicating with.)
> DCC transfer initiates, but remains in the offering phase until it times out.
3. Now type /setkey and repeat step 2. 
> File transfer works correctly.

Might also happen for dcc chat, but I've not tested that.
Comment 1 Eike Hein 2008-02-29 17:40:30 UTC
*** Bug 158584 has been marked as a duplicate of this bug. ***
Comment 2 argonel 2008-02-29 20:01:36 UTC
i had rather thought CTCP should be encrypted, otherwise /me would be plaintext. is the recipient also konversation? (does konvi's encryption even play nice with other implementations?)
Comment 3 argonel 2008-05-01 07:10:47 UTC
SVN commit 802897 by argonel:

Blowfish fixes:
-fix FiSH-style +p prefix (to send cleartext to channel)
-encode cleartext, not ciphertext

BUG:158578
-decrypt CTCPs so they can be parsed correctly later
-encrypt only CTCP ACTION, other CTCPs sent in clear

-decrypt TOPIC and CTCP ACTION correctly, however actions now longer show the (e) indicator
-if the topic is encrypted when the key is set, it will be decrypted
-setkey and delkey commands now work with implicit channel or nickname value
GUI:
-show a lock icon beside the input box when a key is set for a channel (found by terwou :)
FEATURE:
-added a /showkey command which displays the destination key in a popup

Non-blowfish fix:
-topic history dialog now knows the *real* time and date on which the topic was set


 M  +10 -14    blowfish/blowfish.cpp  
 M  +1 -1      blowfish/blowfish.h  
 M  +42 -3     channel.cpp  
 M  +5 -2      channel.h  
 M  +1 -1      commit.h  
 M  +1 -2      inputfilter.cpp  
 M  +2 -1      inputfilter.h  
 M  +40 -24    outputfilter.cpp  
 M  +1 -0      outputfilter.h  
 M  +20 -1     query.cpp  
 M  +5 -1      query.h  
 M  +62 -28    server.cpp  
 M  +1 -1      server.h  
 M  +4 -4      viewcontainer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=802897