youngj / EnvayaSMS

Simple SMS and MMS gateway running on Android
http://sms.envaya.org
Other
161 stars 177 forks source link

MMS security bug and Test bug #7

Closed ChrisBdk closed 13 years ago

ChrisBdk commented 13 years ago

First of all, THANKS fro the nice app, and the everything we need to use this nice app..

Well, when I send a MMS to my PHP server, I cant get pass the security check. It looks like it puts all the mms_part stuff, in the security calculater.

And when I run a Test Connection, it sents a incomming action...

Keep it up, and let me know if I can do anything..

Cheers...

Bjørn

youngj commented 13 years ago

For your PHP server, are you using the included server library? https://github.com/youngj/EnvayaSMS/blob/master/server/php/EnvayaSMS.php

The mms_parts field is included in the signature like any other POST field (before decoding the JSON)

Currently Test Connection is implemented by performing an 'outgoing' action and ignoring the results. That works for me because the 'outgoing' action doesn't change anything on my server... but I guess it should probably be changed to use its own action.

-Jesse

ChrisBdk commented 13 years ago

WOW..quick responce.. :)

Im running it right now on a MAMP server.. And yes, Im running it with your library... But Let me try to re-install it.. :)

Well, I dont care if you change it, Im only going to use the incomming function.. But maybe change it, just to have it right.. :)

// Bjørn

youngj commented 13 years ago

The "test connection" button now uses the 'test' action in 2.0-beta7.

This may require updating the PHP server library:

https://github.com/youngj/EnvayaSMS/commit/03d5f556d75d7374798695bc389e3e742d0d602b#diff-0

youngj commented 13 years ago

is the security test for MMS messages working now?

ChrisBdk commented 13 years ago

Works.. :)