[Sugar-devel] Problem downloading a lease.sig file on an XO
jcubillo at fundacionqt.org
Fri Sep 14 20:46:33 EDT 2012
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!
El 13/09/12 14:15, Martin Langhoff escribió:
> On Wed, Sep 12, 2012 at 9:22 PM, Samuel Greenfeld <greenfeld at laptop.org> 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
> 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.
More information about the Devel