Modify

#1089 closed defect (fixed)

'otr forget key' fails if given the full key as argument

Reported by: pesco Owned by: pesco
Priority: minor Milestone:
Component: OTR Version: 3.2
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

<@        xxxx> otr forget key 6E7DDD2EEAFA24A4BF7ADA9C713F019878D675C5
<@        root> 6E7DDD2E EAFA24A4 BF7ADA9C 713F0198 78D675C5 : no match

an extra space is added at the end by the internal match_privkey() function:

                        if(n%8 == 0)
                                *(p++) = ' ';

this should not be done if we are at the end of the last arg.

Attachments (0)

Change History (1)

comment:1 Changed at 2015-10-13T05:23:38Z by dx

Resolution: fixed
Status: newclosed

Fixed in 0b1ae595647712ecd9f69a74f210d58f570e74b9 (just a g_strchomp(prefix))

Modify Ticket

Action
as closed The owner will remain pesco.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.