mime type has been correctly set to application/octet-stream and wget confirms the change. But Sugar is still downloading it as text/plain type and now adds a .txt extension at the end of the file making it lease.sig.txt . It seems my guide will now have to add the extra step of "log into Gnome" so that kids may download the file and unlock XOs. Nothing to worry about. Thanks for all the help!

 - Juan

El 13/09/12 14:15, Martin Langhoff escribió:
On Wed, Sep 12, 2012 at 9:22 PM, Samuel Greenfeld <[email protected]> wrote:
1. Is there a security problem/concern with having our project's lease.sig
file publicly available? (we only generate activations for non-stolen XOs)
Should be ok, as long as you're comfortable with the validity period
(ie: not too long!).

2. Why is the XO adding this .asc extension or how can it be avoided?
As Sam mentions, it is MIME-Types. Perhaps this helps: set the mime
types in your webserver so that .sig files are served as
application/octet-stream (something that I believe sugar will not mess
with).

You can check what mimetype is being set on a transfer with wget --
during download, it'll print a message about Length, that same line
shows the mime-type.

If that doesn't help, let us know.

cheers,




m

_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to