Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19091] CLI: Windows: Prompt for pfx password if one is not passed in and an already generated pfx is being used

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-06-30T19:32:48.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 4.1.0
ComponentsCLI, Windows
Labelsqe-4.1.0, usability
ReporterEwan Harris
AssigneeDawson Toth
Created2015-06-27T20:14:36.000+0000
Updated2015-07-02T22:12:31.000+0000

Description

Description

When running a project for ws-local if the user uses a already generated .pfx file then they will not be prompted for a password and the build will fail. If the password is passed in using the -P flag then the build will pass.

Steps to reproduce

1. Build a project that already has an .pfx file generated using appc run -p windows -T ws-local 2. Build the same project but this time pass in the password using the -P flag appc run -p windows -T ws-local -P <password>l

Actual result

1. The build will fail 2. The build will pass

Expected result

The build should pass both times, in instance 1 you should be prompted for a password

Comments

  1. Dawson Toth 2015-06-29

    https://github.com/appcelerator/titanium_mobile_windows/pull/336
  2. Lokesh Choudhary 2015-07-02

    Verified the fix. The pfx password is prompted even if the app is built with the already generated pfx file. Closing. Environment: Appc Studio: 4.1.0.201507010234 Ti SDK: 4.1.0.v20150702030940 Ti CLI: 4.0.1 Alloy: 1.6.2 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.1.0-1 APPC CLI: 4.1.0-5 Device: Nokia Lumia 928 - Windows Phone 8.1 Windows emulator : 8.1

JSON Source