Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-3733

cryptotoken create command requires attr flag

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.2.2
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Ad Hoc

      Description

      cryptotoken create CLI command says:

      Optional parameters:
      --attr <ATTRIBUTE_FILE> (Switch is not required)
      (PKCS11CryptoToken) PKCS#11 Attribute File

      But if I leave out "--attr null" I get an exception:

      Exception in thread "main" java.lang.NullPointerException
      at java.io.File.<init>(File.java:277)
      at org.ejbca.ui.cli.cryptotoken.CryptoTokenCreateCommand.execute(CryptoTokenCreateCommand.java:130)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas Tomas Gustavsson
              Reporter:
              tomas Tomas Gustavsson
              Verified by:
              Mike Agrenius Kushner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: