Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11339

Android package signing: Empty "Certificate alias" list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.1.0-beta
    • Qt Creator 3.0.0, Qt Creator 3.0.1
    • Android Support
    • None
    • MacBook Air 2011, OS X Mavericks, Qt Creator git version (branch 3.0)

    Description

      This bug is similar to:
      https://bugreports.qt-project.org/browse/QTCREATORBUG-10944

      The key store password is asked every time in a infinite loop.

      I have debugged the "AndroidDeployQtStep::keystoreCertificates()" and the problem is that the method exits in the line 527:

       
              if (!keytoolProc.waitForStarted() || !keytoolProc.waitForFinished()) {
                  QMessageBox::critical(0, tr("Error"),
                                        tr("Failed to run keytool."));
                  return 0;
              }
      

      It is not possible to execute the command. If I try to execute the same command with the same argument from command line I get:

      $ export LANG=C
      $ keytool -list -v -keystore /Users/jose/Devel/U1Files.keystore -storepass XXXX

      Tipo de almac?n de claves: JKS
      Proveedor de almac?n de claves: SUN

      Su almac?n de claves contiene entrada 1

      Nombre de alias: u1files
      Fecha de creaci?n: 14-dic-2013
      Tipo de entrada: PrivateKeyEntry
      Longitud de la cadena de certificado: 1
      Certificado[1]:
      Propietario: CN=Jose Exposito, O=Egg-Software, L=Madrid, C=ES, OU=Egg-Software, ST=Madrid
      Emisor: CN=Jose Exposito, O=Egg-Software, L=Madrid, C=ES, OU=Egg-Software, ST=Madrid
      N?mero de serie: 52ab9beb
      V?lido desde: Sat Dec 14 00:44:43 CET 2013 hasta: Wed May 01 01:44:43 CEST 2041
      Huellas digitales del certificado:
      MD5: F2:07:48:C3:83:AE:49:E5:CE:D4:08:86:19:90:F4:3D
      SHA1: E1:3A:9A:CD:1A:7A:BC:CC:89:F5:E5:40:54:75:B7:6A:B1:78:E5:05
      Nombre del algoritmo de firma: SHA1withRSA
      Versi?n: 3

      *******************************************
      *******************************************

      Note that my system is in Spanish, I don't know if this could be a problem at parsing... Exporting LANG=C don't change the output of keytool at all.

      And, as you can see in the output, my keytool have an alias, but it is not showed in the combobox.

      Please, don't hesitate to ask me for more debugging or information, I'm really interested in update my App...

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-11339
        # Subject Branch Project Status CR V

        Activity

          People

            dt Daniel Teske
            jose_exposito José Expósito
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes