Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1707

CLI command 'did rotate-key' doesn't work in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Complete
    • Priority: Highest
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.78
    • Component/s: None
    • Labels:
    • Environment:

      indy-node 1.6.73

    • Documentation Impact:
      Unset
    • Sprint:
      Ev 18.20

      Description

      Steps to Reproduce:
      1. Create several NYMs in the wallet and send them to the ledger.
      2. Try to run 'did rotate-key' for any of them.

      Actual Results:
      Error message appears:

      Transaction has been rejected: client request invalid: InsufficientCorrectSignatures(0, 1)
      

      New verkey was updated in the domain ledger, but it was not updated in the wallet. So, DID can't be used anymore.

      Expected Result:
      Verkey should be rotated in both of ledger and wallet.

      Additional Information:
      The issue was noticed during running this instruction: https://docs.google.com/document/d/1QOfPsylBnSNa9Ke19IoXLdPbKvbXjdhYraRi4JDX8iA/edit

      Logs and nscapture: s3://qanodelogs/TOK-434/NodeXX/
      or: https://drive.google.com/open?id=1KnymbWO9N8Dq-OY9Qun29brLtv8wdsEd

      WORKAROUND (how to get DID working again after this problem with rotation):
      Use seed for key rotation. This case it will be possible to change verkey in the wallet manually using

      did new did=<current DID> seed=<seed from failed rotate-key command>

        Attachments

        1. indy_cli.log
          1.39 MB
        2. Node1.log
          3.53 MB
        3. Node2.log
          3.66 MB
        4. Node3.log
          3.66 MB
        5. Node4.log
          3.62 MB

          Issue Links

            Activity

              People

              Assignee:
              zhigunenko.dsr NIkita Zhigunenko
              Reporter:
              ozheregelya Olga Zheregelya
              Watchers:
              Alexander Shcherbakov, NIkita Zhigunenko, Olga Zheregelya, Sergey Khoroshavin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: