Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18441

Android: Add CLI option to override keystore signature algorithm

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.0.0
    • Component/s: Android, Tooling
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      2017 Sprint 21 Tooling

      Description

      There is a need to override the keystore signature algorithm. Today we autodetect the signature algorithm using keytool, however there is a scenario where the SHA256withRSA signature algorithm is detected when it should be SHA1withRSA.

      A way to deal with this is to simply add a new command line option: --keystore-sigalg. It does not have a default "value", but the default behavior will be to continue to do what we do today. When the --keystore-sigalg is specified, it would simply override the detected signature algorithm before calling jarsigner. This change would take place here: https://github.com/appcelerator/titanium_mobile/blob/master/android/cli/commands/_build.js#L4096.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code