On Saturday 24 March 2012 19:19:04 Matthias Apitz wrote:
> El día Saturday, March 24, 2012 a las 08:15:53AM +0100, Matthias Apitz 
escribió:
> > now I did some phone call (in/out) and always ciphering was shown and
> > enabled:
> > 
> > fsogsmd.log:2012-03-23T14:47:03.324784Z [INFO]  libfsotransport <0710:3>:
> > URC: [ "%CPRI: 1,2" ] fsogsmd.log:2012-03-23T14:48:33.408969Z [INFO] 
> > libfsotransport <0710:3>: URC: [ "%CPRI: 1,2" ]
> > fsogsmd.log:2012-03-23T14:50:24.799359Z [INFO]  libfsotransport <0710:3>:
> > URC: [ "%CPRI: 1,2" ]
> > 
> > now I let the FR suspending and waked it up again; and during the
> > re-init of the modem it is set to "do not show encryption" on call, i.e.
> > is is switched of with "%CPRI=0":
> > 
> > fsogsmd.log:2012-03-23T14:52:13.633599Z [INFO]  libfsotransport <0710:3>:
> > SRC: "%CPRI=0" -> [ "OK" ] fsogsmd.log:2012-03-23T14:54:09.952246Z [INFO]
> >  libfsotransport <0710:3>: SRC: "%CPRI=0" -> [ "OK" ]
> > 
> > Why is this?
> 
> I searched with fgrep(1) in the installed binaries where this "%CPRI=0"
> is located; it is in /usr/lib/cornucopia/modules/fsogsm/modem_ti_calypso.so:
> 
> root@om-gta02 /usr/lib/cornucopia/modules/fsogsm # fgrep '%CPRI=' *
> modem_ti_calypso.so:%CPRI=1
> modem_ti_calypso.so:%CPRI=0
> 
> I changed this with a hex editor and now also after suspend/wakeup the
> modem is initialized correctly to show the encryption state during
> calls;
> 
> This should be fixed in the sources; and I will file a bug report in
> Trac;

Great. I will fix that in fsogsmd and mark the bug report than as fixed. Thanks 
very much for figuring this out.

> as a change request remains that the encryption state should be visible
> in the desktop while making a call, maybe even as a pop-up message when
> the call is not done encrypted, like:
> 
>       Call is NOT encrypted!
>       Perhaps man-in-the-middle-attack,
>       do you really want to continue the call?

Good point. If you want you can come up with a proposal for this how it should 
look in the current SHR stack.

regards,
Simon
_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to