You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Dave Brunswick (JIRA)" <ji...@apache.org> on 2012/09/12 03:09:07 UTC
[jira] [Created] (CB-1411) Add "trustAllHosts" option to
FileTransfer.upload on Android
Dave Brunswick created CB-1411:
----------------------------------
Summary: Add "trustAllHosts" option to FileTransfer.upload on Android
Key: CB-1411
URL: https://issues.apache.org/jira/browse/CB-1411
Project: Apache Cordova
Issue Type: Improvement
Components: Android
Affects Versions: 2.0.0
Environment: Android, Cordova 2.0
Reporter: Dave Brunswick
Assignee: Joe Bowser
FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust. An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-1411) Add "trustAllHosts" option to
FileTransfer.download on Android
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald resolved CB-1411.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
Added a trust everyone parameter to download.
> Add "trustAllHosts" option to FileTransfer.download on Android
> ---------------------------------------------------------------
>
> Key: CB-1411
> URL: https://issues.apache.org/jira/browse/CB-1411
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 2.0.0
> Environment: Android, Cordova 2.0
> Reporter: Dave Brunswick
> Assignee: Simon MacDonald
> Fix For: 2.2.0
>
>
> FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust. An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1411) Add "trustAllHosts" option to
FileTransfer.download on Android
Posted by "Dave Brunswick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brunswick updated CB-1411:
-------------------------------
Summary: Add "trustAllHosts" option to FileTransfer.download on Android (was: Add "trustAllHosts" option to FileTransfer.upload on Android )
> Add "trustAllHosts" option to FileTransfer.download on Android
> ---------------------------------------------------------------
>
> Key: CB-1411
> URL: https://issues.apache.org/jira/browse/CB-1411
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 2.0.0
> Environment: Android, Cordova 2.0
> Reporter: Dave Brunswick
> Assignee: Joe Bowser
>
> FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust. An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1411) Add "trustAllHosts" option to
FileTransfer.download on Android
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459776#comment-13459776 ]
Simon MacDonald commented on CB-1411:
-------------------------------------
Fixing it right now.
> Add "trustAllHosts" option to FileTransfer.download on Android
> ---------------------------------------------------------------
>
> Key: CB-1411
> URL: https://issues.apache.org/jira/browse/CB-1411
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 2.0.0
> Environment: Android, Cordova 2.0
> Reporter: Dave Brunswick
> Assignee: Simon MacDonald
> Fix For: 2.2.0
>
>
> FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust. An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1411) Add "trustAllHosts" option to
FileTransfer.download on Android
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459765#comment-13459765 ]
Andrew Grieve commented on CB-1411:
-----------------------------------
Hey Simon, I think you might have forgot the JS side of this change.
> Add "trustAllHosts" option to FileTransfer.download on Android
> ---------------------------------------------------------------
>
> Key: CB-1411
> URL: https://issues.apache.org/jira/browse/CB-1411
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 2.0.0
> Environment: Android, Cordova 2.0
> Reporter: Dave Brunswick
> Assignee: Simon MacDonald
> Fix For: 2.2.0
>
>
> FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust. An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-1411) Add "trustAllHosts" option to
FileTransfer.download on Android
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald reassigned CB-1411:
-----------------------------------
Assignee: Simon MacDonald (was: Joe Bowser)
> Add "trustAllHosts" option to FileTransfer.download on Android
> ---------------------------------------------------------------
>
> Key: CB-1411
> URL: https://issues.apache.org/jira/browse/CB-1411
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 2.0.0
> Environment: Android, Cordova 2.0
> Reporter: Dave Brunswick
> Assignee: Simon MacDonald
>
> FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust. An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1411) Add "trustAllHosts" option to
FileTransfer.download on Android
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459774#comment-13459774 ]
Joe Bowser commented on CB-1411:
--------------------------------
I don't see the commit either:
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git
> Add "trustAllHosts" option to FileTransfer.download on Android
> ---------------------------------------------------------------
>
> Key: CB-1411
> URL: https://issues.apache.org/jira/browse/CB-1411
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 2.0.0
> Environment: Android, Cordova 2.0
> Reporter: Dave Brunswick
> Assignee: Simon MacDonald
> Fix For: 2.2.0
>
>
> FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust. An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira