Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-07-05 Thread Maharaja Azhagiah
Hi Daniel, Thank you so much. Once I generated the format mentioned in the link, it worked. Thanks again :-) Regards *Maharaja Azhagiah* On Tue, Jul 5, 2022 at 12:20 PM Daniel-Constantin Mierla wrote: > Hello, > > the error code means that the format of the key is invalid: > > - https:

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-07-05 Thread Daniel-Constantin Mierla
Hello, the error code means that the format of the key is invalid:   - https://github.com/asipto/secsipidx/blob/main/secsipid/secsipid.go#L46 If you haven't retrieved from someone, then note that is not the usual tls/ssl key format, see:   - https://github.com/asipto/secsipidx#keys-generation

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-07-05 Thread Maharaja Azhagiah
Hi Daniel, I have following the installation as mentioned in the SecSIPId module page ( https://www.kamailio.org/docs/modules/5.5.x/modules/secsipid.html#secsipid.f.secsipid_add_identity ) I am able to load the module without any error. However, when I initiate a call I can see the following erro

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-06-27 Thread Daniel-Constantin Mierla
Note that kamailio has another module that offer StIR/SHAKEN capabilities, respectively the secsipid module. You can try to use it, this one I maintain and if there is any issue found, I am going to fix it. All the best, Daniel On 28.06.22 04:41, Maharaja Azhagiah wrote: > Thank you very much, Mu

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-06-27 Thread Maharaja Azhagiah
Thank you very much, Muhammad I tried reducing the SSL key bit length to 1024 but the buffer is still less than the key size. Hence, I submitted an issue with signalwire. I appreciate your help. Regards *Maharaja Azhagiah* On Mon, Jun 27, 2022 at 10:05 PM M S wrote: > This error is seem

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-06-27 Thread M S
This error is seems to come from libstirshaken ( https://github.com/signalwire/libstirshaken/blob/master/include/stir_shaken.h line 46) and has nothing to do with Kamailio. Please open a bug with signalwire who owns and maintains this library. Per my understanding this library is bit old and uses

[SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-06-27 Thread Maharaja Azhagiah
Hi, I am trying STIR/SHAKEN using libstirshaken in Kamailio 5.5. I used a self signed certificate as this is just a test in the local docker environment. However, when I try to add identity with private key (stirshaken_add_identity_with_key), I get "[error_code: 447] Buffer for key from file /tmp