Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-735

Android : If remote encryption property is set & app is built to emulator when machine is offline, no security violation is seen

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.1
    • Fix Version/s: appc-cli-titanium 4.4.12
    • Component/s: Verification
    • Environment:

      Environment:
      Appc Studio : 4.1.1.201507141126
      Ti SDK : 4.1.0.GA
      Ti CLI : 4.0.1
      Alloy : 1.6.2
      MAC Yosemite : 10.10.4
      Appc NPM : 4.1.0
      Appc CLI : 4.1.1-5
      Node: v0.10.37

    • Severity:
      Major
    • Story Points:
      5
    • Sprint:
      2017 Sprint 17 Tooling, 2017 Sprint 18 Tooling, 2017 Sprint 19 Tooling, 2017 Sprint 20 Tooling, 2017 Sprint 21 Tooling, 2017 Sprint 22 Tooling, 2017 Sprint 23 Tooling, 2017 Sprint 24 Tooling, 2017 Sprint 25 Tooling, 2017 Sprint 26 Tooling, 2018 Sprint 01 Tooling, 2018 Sprint 02 Tooling, 2018 Sprint 03 Tooling, 2018 Sprint 04 Tooling, 2018 Sprint 05 Tooling, 2018 Sprint 06 Tooling, 2018 Sprint 07 Tooling

      Description

      This is a regression. This issue was not see when last time security was tested (Don't remember what CLI version we tested last time).
      Steps To Reproduce:

      1. Create a classic app.
      2. Add the security property to the apps tiapp.xml

      <property name="appc-sourcecode-encryption-policy" type="string">remote</property>
      

      3. As its a new app it has to be built once before we go offline on our machine, but we also don't want to auto launch the app by building it from studio. To prevent this, build the app using "-b" (build only) flag from CLI when your machine is online.
      4. Now go offline & build to android emulator from studio.

      Actual Results:

      1. We see no security violation & the app launches fine.

      Expected Results:

      1. We should see security violation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmiao Feon Sua Xin Miao
                Reporter:
                lchoudhary Lokesh Choudhary
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code