(Synth APK) - APK Factory fails on Accuweather manifest

VERIFIED FIXED in Firefox 29

Status

()

Firefox for Android
Web Apps
VERIFIED FIXED
5 years ago
5 years ago

People

(Reporter: aaronmt, Assigned: ozten)

Tracking

29 Branch
Firefox 29
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
http://dapk.net/application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp

{
    "name": "AccuWeather",
    "description": "Weather at your fingertips - Local and international weather forecasts",
    "launch_path": "/?p=mozillamobile",
    "appcache_path": "/awx.appcache",
    "icons": {
        "32": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-32x32.png",
        "64": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-64x64.png",
        "128": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-128x128.png",        
        "106": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-106x106.png",
        "150": "http://vortex.accuweather.com/adc2010/images/favicons/mozilla-sun-150x150a.png"
    },
    "developer": {
        "name": "AccuWeather, Inc.",
        "url": "http://www.accuweather.com"
    },
    "default_locale": "en",
    "permissions": {
		"geolocation": {
  			"description": "Used to retrieve weather data for user's current location"
  		}
	},
    "locales": {
        "ar": {
            "description": "توقعات حالة الطقس محليًا ودوليًا - حالة الطقس بين يديك"
        },
        "ca": {
            "description": "El temps a les vostres mans - Pronòstics meteorològics locals i internacionals"
        },
        "cs": {
            "description": "Počasí na dosah ruky - Místní a mezinárodní předpovědi počasí"
        },
        "da": {
            "description": "Vejret lige ved hånden - Lokale og internationale vejrudsigter"
        },
        "de": {
            "description": "Das Wetter auf einen Blick - Wetter lokal und international"
        },
        "el": {
            "description": "Ο καιρός στα χέρια σας - Τοπικές και διεθνείς προγνώσεις καιρού"
        },
        "en": {
            "description": "Weather at your fingertips - Local and international weather forecasts"
        },
        "es": {
            "description": "El tiempo al alcance de su mano - Previsión meteorológica local e internacional"
        },
        "es-ar": {
            "description": "El tiempo al alcance de su mano - Pronósticos del tiempo local e internacional"
        },
        "es-mx": {
            "description": "El tiempo en la punta de los dedos - Pronósticos del tiempo locales e internacionales"
        },
        "fi": {
            "description": "Sää käden ulottuvilla - Paikalliset ja maailmanlaajuiset sääennusteet"
        },
        "fr": {
            "description": "La météo à portée de votre doigt - Prévisions météorologiques locales et internationales"
        },
        "fr-ca": {
            "description": "La météo à portée de votre doigt - Prévisions météorologiques locales et internationales"
        },
        "he": {
            "description": "תחזיות מזג אוויר מקומיות ×•×‘×™× ×œ××•×ž×™×•×ª - מזג אוויר בקצות אצבעותיך"
        },
        "hi": {
            "description": "मौसम आपकी उंगलियों पर - स्थानीय और अंतर्राष्ट्रीय मौसम पू्र्वानुमान"
        },
        "hu": {
            "description": "Időjárás érintésre - Helyi és nemzetközi időjárás-előrejelzések"
        },
        "id": {
            "description": "Cuaca di ujung jari Anda - Prakiraan cuaca lokal dan internasional"
        },
        "it": {
            "description": "Previsioni meteo sempre disponibili - Previsioni meteo locali e internazionali"
        },
        "ja": {
            "description": "æŒ‡å…ˆã§ã®å¤©æ°—äºˆå ± - åœ°åŸŸãŠã‚ˆã³ä¸–ç•Œã®å¤©æ°—äºˆå ±"
        },
        "ko": {
            "description": "간편 예보 - 지역 및 세계 ë‚ ì”¨ 예보"
        },
        "nl": {
            "description": "Weer bij de hand - Lokale en internationale weersverwachtingen"
        },
        "no": {
            "description": "Været et par tastetrykk unna - Lokalt og internasjonalt værvarsel"
        },
        "pl": {
            "description": "Prognoza pogody w zasięgu ręki - Lokalne i międzynarodowe prognozy pogody"
        },
        "pt": {
            "description": "O tempo na ponta dos seus dedos - previsões locais e internacionais"
        },
        "pt-br": {
            "description": "O clima na ponta de seus dedos - Previsões de tempo locais e internacionais"
        },
        "ro": {
            "description": "Vremea la degetele voastre - Prognoze meteo internaţionale şi locale"
        },
        "ru": {
            "description": "Погода в любую минуту - Местный и международный прогноз погоды"
        },
        "sk": {
            "description": "Počasie na dosah ruky - Lokálne predpovede počasia a predpovede počasia vo svete"
        },
        "sl": {
            "description": "Vreme na dosegu prstov - Lokalne in mednarodne vremenske napovedi"
        },
         "sv": {
            "description": "Vädret vid dina fingertoppar - Lokala och internationella väderprognoser"
        },
         "tr": {
            "description": "Hava durumu parmağınızın ucunda - Yerel ve uluslararası hava tahminleri"
        },
         "uk": {
            "description": "Погода на кінчиках ваших пальців - Місцеві та міжнародні прогнози погоди"
        },
         "zh": {
            "description": "气象资讯,尽在指尖 - 本地和国际天气预报"
        },
         "zh-cn": {
            "description": "气象资讯,尽在指尖 - 本地和国际天气预报"
        },
         "zh-hk": {
            "description": "彈指間掌握天氣資訊 - ç•¶åœ°èˆ‡ä¸–ç•Œå¤©æ°£é æ¸¬"
        },
        "zh-tw": {
            "description": "彈指之間掌握氣象資訊 - ç•¶åœ°èˆ‡åœ‹éš›æ°£è±¡é å ±"
        }
    }
}

$ curl -V http://dapk.net/application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp
curl 7.30.0 (x86_64-apple-darwin13.0) libcurl/7.30.0 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz 
pegasus:Desktop AaronMT$ curl -v http://dapk.net/application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp
* Adding handle: conn: 0x7fbe0a003a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fbe0a003a00) send_pipe: 1, recv_pipe: 0
* About to connect() to dapk.net port 80 (#0)
*   Trying 50.16.201.4...
* Connected to dapk.net (50.16.201.4) port 80 (#0)
> GET /application.apk?manifestUrl=http://m.accuweather.com/mozilla.webapp HTTP/1.1
> User-Agent: curl/7.30.0
> Host: dapk.net
> Accept: */*
> 
* Empty reply from server
* Connection #0 to host dapk.net left intact
curl: (52) Empty reply from server
(Assignee)

Comment 1

5 years ago
Dies during ant build, investigating.
Assignee: nobody → ozten.bugs
(Assignee)

Comment 2

5 years ago
exec genKey CALLBACK error= { [Error: Command failed: ] killed: false, code: 1, signal: null } stdout= keytool error: java.io.IOException: Incorrect AVA format
java.io.IOException: Incorrect AVA format
	at sun.security.x509.AVA.readChar(AVA.java:564)
	at sun.security.x509.AVA.<init>(AVA.java:185)
	at sun.security.x509.AVA.<init>(AVA.java:145)
	at sun.security.x509.RDN.<init>(RDN.java:151)
	at sun.security.x509.X500Name.parseDN(X500Name.java:918)
	at sun.security.x509.X500Name.<init>(X500Name.java:165)
	at sun.security.x509.X500Name.<init>(X500Name.java:152)
	at sun.security.tools.KeyTool.doGenKeyPair(KeyTool.java:1544)
	at sun.security.tools.KeyTool.doCommands(KeyTool.java:969)
	at sun.security.tools.KeyTool.run(KeyTool.java:340)
	at sun.security.tools.KeyTool.main(KeyTool.java:333)
(Assignee)

Comment 3

5 years ago
We needed to escape inputs to keygen.sh as x509 values.

Fixed in https://github.com/mozilla/apk-factory-service/commit/ba8adeda794d5c51cbf3cdede1493cba6879389e
and 62b0ff368e38908d9b4f7caa56a51cccce57f9ac

Fix is deployed on dapk.net.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
(Reporter)

Updated

5 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.