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

Vanity did's are not discouraged in software.

    Details

    • Type: Bug
    • Status: Complete
    • Priority: Medium
    • Resolution: Invalid: Works as Expected
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Documentation Impact:
      Unset

      Description

      Environment:
      BuilderNet (indy-node 1.7.1)
      get validator info partial results="Installed_packages":["semver 2.7.9","psutil 5.4.3","portalocker 0.5.7","Pympler 0.5","intervaltree 2.1.0","python-dateutil 2.6.1","timeout-decorator 0.4.0","setuptools 38.5.2","indy-plenum 1.7.1","indy-crypto 0.4.5-23","ioflo 1.5.4","sortedcontainers 1.5.7","python-rocksdb 0.6.9","jsonpickle 0.9.6","six 1.11.0","libnacl 1.6.1","orderedset 2.0","sha3 0.2.1","Charm-Crypto 0.0.0","rlp 0.5.1","Pygments 2.2.0","sovrin 1.1.41","indy-anoncreds 1.0.11","indy-node 1.7.1","distro 1.3.0","pyzmq 17.0.0","packaging 19.0","sovtoken 0.9.11","base58 1.0.0","sovtokenfees 0.9.11"],"OS_version":"Linux-4.4.0-1075-aws-x86_64-with-Ubuntu-16.04-xenial","indy-node":"1.7.1","sovrin":"1.1.41"}

      Steps to Reproduce:
      open indy-cli, connect to BuilderNet, open Wallet.
      In the indy-cli create a new did and provide a vanity did (any valid base58, 21 character string).
      for example: did new did=AdamBurdett1111111111
      next, in the indy-cli use a did in your wallet with permission to anchor nyms to a ledger, I used a TRUSTEE permission did.
      for example: did use YLCJ5wri6K8asJnHdJXzDP
      then, anchor the vanity did to the ledger with a nym transaction.
      for example: ledger nym did=AdamBurdett1111111111 verkey=GAotUN1AdY7nfuSTSMh9vx7fF4oVPVRSoBEtW7RiQh1c role=TRUSTEE

      Actual Results:
      Nym request has been sent to Ledger. Metadata:

      From Sequence Number Request ID Transaction time
      YLCJ5wri6K8asJnHdJXzDP 50 1557437826392951500 2019-05-09 21:37:09

      Data:

      Did Verkey Role
      AdamBurdett1111111111 GAotUN1AdY7nfuSTSMh9vx7fF4oVPVRSoBEtW7RiQh1c TRUSTEE

      (Nym transaction was successful)

      Expected Results:
      (Nym transaction was unsuccessful).

      Additional Information:
      Vanity dids could be discouraged by having the ledger check if the did is part of the verkey. This would not allow vanity dids to be used without a computational expensive discovery process. This will come at a cost of not being able to anchor dids that have had their keys rotated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              burdettadam Adam Burdett
              Watchers:
              Adam Burdett, Richard Esplin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: