Summary: | ASTERISK-21398: [patch] chan_iax2.c:7998 authenticate_verify: requested inkey 'my_oth' for RSA authentication does not exist | ||
Reporter: | Pavel Kopchyk (PepeN) | Labels: | |
Date Opened: | 2013-04-10 09:39:55 | Date Closed: | 2013-05-17 15:35:02 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | 11.3.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-21398-iax2-inkeys-dynamic-buffer_v3.diff ( 1) asterisk-21398-iax2-inkeys-dynamic-buffer.diff | |
Description: | [test00]
type=user auth=rsa inkeys=my_key_for_calls_to_the_city:my_key_for_calls_to_other:for_calls_to_my_friends:.......:my_key_for_calls_to_mobile:my_other_key_for_calls_to_the_city:my_other_key_for_calls_to_the_city2 eventually obtain a sufficiently long string (more than 256 characters). As far as I understand there is a limit of string "inkeys=" and asterisk can not read the correct name of the key (truncation). | ||
Comments: | By: Michael L. Young (elguero) 2013-04-10 13:55:15.051-0500 Pavel, it looks like you are correct according to the code. I have a patch that I just tested and seems to work. I will upload it shortly and would like to ask you to test it for me. Thanks By: Michael L. Young (elguero) 2013-04-10 14:56:01.486-0500 Here is a patch, [^asterisk-21398-iax2-inkeys-dynamic-buffer.diff]. This is for trunk since this would be considered a new feature. You should be able to apply it against 11 though. Please report back on how it goes. By: Pavel Kopchyk (PepeN) 2013-04-13 14:45:51.124-0500 Micheal, thank you. I tested the patch in version 11.3.0 - no errors. By: Pavel Kopchyk (PepeN) 2013-04-14 12:51:31.586-0500 I tested the patch in version 11.3.0 - no errors. Thanks! By: Pavel Kopchyk (PepeN) 2013-05-06 05:18:16.991-0500 Works for me. Thanks! By: Michael L. Young (elguero) 2013-05-06 09:27:50.542-0500 Pavel, I haven't added this to the code base yet. So, it needs to remain open until it is added. Otherwise, it has only been fixed for you because you are using the patch but future users will not have it when they download Asterisk. Re-opening Thanks By: Michael L. Young (elguero) 2013-05-17 15:22:34.273-0500 Adding latest patch which was approved to be committed. |