Re: [FSO/SHR/debian] SMS location app

2008-12-26 Thread Chris Samuel
On Thu, 25 Dec 2008 11:56:49 pm William Kenworthy wrote:

> encryption has overhead - more than a 160 characters allows without
> tricks.

A very good point against public key crypto in this situation. :-(

> and why bother? - if the trigger is a random code known only to you,
> whats the problem?

It's just that the trigger of "sentry:location" in this application doesn't 
seem that random; it should perhaps be a configuration option that has to be 
customised before the application will run (i.e. the default setting should 
cause the program to abort rather than betray your location).

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP



signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO/SHR/debian] SMS location app

2008-12-25 Thread Angus Ainslie
On Thu, Dec 25, 2008 at 9:11 AM, Florian Hackenberger
 wrote:
> On Thursday 25 December 2008, William Kenworthy wrote:
>> encryption has overhead - more than a 160 characters allows without
>> tricks.
> Sure it has overhead. This makes it useless for text messages. Control
> messages however can be very short. I tried it with the string 'loc' (3
> bytes/chars) and the gpg signature is 99 bytes long. That sums up to
> 102 bytes and fits easily into a 160char SMS.
>
> Cheers,
>Florian
>

Some kind of authentication is on the todo list.

What I was also thinking were a few other commands such as a lost mode
where it will only display contact information for the owner. A
tracking mode where it might send location every x minutes.

I'd also like to add different return messages via smtp.

Angus

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO/SHR/debian] SMS location app

2008-12-25 Thread Florian Hackenberger
On Thursday 25 December 2008, William Kenworthy wrote:
> encryption has overhead - more than a 160 characters allows without
> tricks.
Sure it has overhead. This makes it useless for text messages. Control 
messages however can be very short. I tried it with the string 'loc' (3 
bytes/chars) and the gpg signature is 99 bytes long. That sums up to 
102 bytes and fits easily into a 160char SMS.

Cheers,
Florian

-- 
DI Florian Hackenberger
flor...@hackenberger.at
www.hackenberger.at

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO/SHR/debian] SMS location app

2008-12-25 Thread William Kenworthy
I think this was discussed a few weeks back:

encryption has overhead - more than a 160 characters allows without
tricks.

and why bother? - if the trigger is a random code known only to you,
whats the problem?

BillK


On Thu, 2008-12-25 at 23:31 +1100, Chris Samuel wrote:
> On Thu, 25 Dec 2008 4:33:13 pm Angus Ainslie wrote:
> 
> > It watches for specially formatted SMSs and when it sees the right one it
> > SMSs back its location.
> 
> Cool, I was talking this idea over with friends a few weeks ago so it's great 
> to see someone having the same idea who can actually programme. ;-)
> 
> Can I suggest that authenticating messages with OpenPGP signed (optionally 
> encrypted too) messages might be a good idea ?
> 
> That way you know that not just anyone can find out where you are when they 
> wish..
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
-- 
William Kenworthy 
Home in Perth!


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO/SHR/debian] SMS location app

2008-12-25 Thread Chris Samuel
On Thu, 25 Dec 2008 4:33:13 pm Angus Ainslie wrote:

> It watches for specially formatted SMSs and when it sees the right one it
> SMSs back its location.

Cool, I was talking this idea over with friends a few weeks ago so it's great 
to see someone having the same idea who can actually programme. ;-)

Can I suggest that authenticating messages with OpenPGP signed (optionally 
encrypted too) messages might be a good idea ?

That way you know that not just anyone can find out where you are when they 
wish..

-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP



signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO/SHR/debian] SMS location app

2008-12-25 Thread Pander
Nice! And another tool which can be used in
http://wiki.openmoko.org/wiki/Anti-Theft_Mode

Angus Ainslie wrote:
> I've started an app to help find lost or borrowed Freerunners. It
> watches for specially formatted SMSs and when it sees the right one it
> SMSs back its location.
> 
> Put [1] in /usr/bin/
> Put [2] int /etc/init.d/
> 
> chmod +x /etc/init.d/sms-sentry.sh
> ln -s /etc/init.d/sms-sentry /etc/rc5.d/S99sms-sentry
> reboot
> 
> Now whenever you text "sentry:location" to your Freerunner it will
> return its lat and lan ( and altitude if available ). It may take
> minutes for the return SMS if the GPS is not active when the incoming
> SMS arrives.
> 
> [1] http://handheldshell.com/sms-sentry
> [2] http://handheldshell.com/sms-sentry.sh
> 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO/SHR/debian] SMS location app

2008-12-25 Thread Michal Brzozowski
2008/12/25 Angus Ainslie 

> I've started an app to help find lost or borrowed Freerunners. It
> watches for specially formatted SMSs and when it sees the right one it
> SMSs back its location.
>
> Put [1] in /usr/bin/
> Put [2] int /etc/init.d/
>
> chmod +x /etc/init.d/sms-sentry.sh
> ln -s /etc/init.d/sms-sentry /etc/rc5.d/S99sms-sentry
> reboot
>
> Now whenever you text "sentry:location" to your Freerunner it will
> return its lat and lan ( and altitude if available ). It may take
> minutes for the return SMS if the GPS is not active when the incoming
> SMS arrives.


It would be useful to have some authentication too.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO/SHR/debian] SMS location app

2008-12-24 Thread Damian Spriggs


On Dec 25, 2008, at 12:33 AM, Angus Ainslie wrote:


I've started an app to help find lost or borrowed Freerunners. It
watches for specially formatted SMSs and when it sees the right one it
SMSs back its location.


Now this is just brilliant! Good work, and thank you.


(d)
---
Damian A. Spriggs
Writer: Weekly World Shrew
http://www.weeklyworldshrew.com

 ___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[FSO/SHR/debian] SMS location app

2008-12-24 Thread Angus Ainslie
I've started an app to help find lost or borrowed Freerunners. It
watches for specially formatted SMSs and when it sees the right one it
SMSs back its location.

Put [1] in /usr/bin/
Put [2] int /etc/init.d/

chmod +x /etc/init.d/sms-sentry.sh
ln -s /etc/init.d/sms-sentry /etc/rc5.d/S99sms-sentry
reboot

Now whenever you text "sentry:location" to your Freerunner it will
return its lat and lan ( and altitude if available ). It may take
minutes for the return SMS if the GPS is not active when the incoming
SMS arrives.

[1] http://handheldshell.com/sms-sentry
[2] http://handheldshell.com/sms-sentry.sh

-- 
Angus Ainslie
http://www.handheldshell.com/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community