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

raw attrib data allows arbitrary data to be anchored to a nym.

    Details

    • Type: Bug
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • 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 indy-cli use a did that is anchored on the ledger.
      for example: did use AdamBurdett1111111111
      next, prepare some arbitrary data to be anchored as attrib to a nym, I used a random github users icon encoded as base64. using the indy-cli, anchor that attrib to the nym.
      for example: ledger attrib did=AdamBurdett1111111111 raw=

      {<img>":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAAAAADGP180AAAIUklEQVQYGQXBD/CfdV0A8PfzfH8bTEhwQRCkQIADJT3dIdxNSKQu+XO5DU+LTEgYDpBrkjfBGEgoFgJiqPyb4AVYQopkI4EEsQKZuwnj34S2AxEUYsS2X+z3e57P+/3q9QoADfjPIyOin4qISURETMXcLiL6LiK6iAOunS4NAARAklXtoYOjj6kuJ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6xE7rdWULAACKKimqHow1kkkEsDott+cunF1FWYBIBSKrKI11HjZ/Fe0pAAwtpVdtxq0LA2AQIGisXHxV2lL/3wkKQB8f27/OcmsRgIgUBhT1UsProz4bLL2LatH2VQBaB/uT55t7osPbCqlARBFMWx98ZGvf+r3JzHZ++6B+so7fp6SBPDdyQkvpfrf4+PQlVe/OA2AKMr2excf8dt9F3O6OOIZLW370JLRgKYY+PWeB28sZfaCXfr5seiMe7aXQhGlPL1sfrfw4iOi+8SRUye83Bitn//BVA0M6hcLY0OD3HzXqRt272OPJddMYzAIoy+/eRJxXo6L4paNU2fPArdN3nsJgzFHz5zz5v7+lAya1/PMiK7vFp5OIfLmmNtf6OFY5aVuY97073KkpRv7iK7bd+GRb4rJJO5QQKmmizl9RBfntqz8f6cjz/aU7+9DAAAAAElFTkSuQmCC"}

      Actual Results:
      Attrib request has been sent to Ledger.

      Metadata:

      From Sequence Number Request ID Transaction time
      AdamBurdett1111111111 54 1557441758300181700 2019-05-09 22:42:42

      Data:

      Raw value
      {"<img>":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAAAAADGP180AAAIUklEQVQYGQXBD/CfdV0A8PfzfH8bTEhwQRCkQIADJT3dIdxNSKQu+XO5DU+LTEgYDpBrkjfBGEgoFgJiqPyb4AVYQopkI4EEsQKZuwnj34S2AxEUYsS2X+z3e57P+/3q9QoADfjPIyOin4qISURETMXcLiL6LiK6iAOunS4NAARAklXtoYOjj6kuJpOI6GIyiYi+76Yi+klEROx+eyEBEACjAZvmR/R9xFRERBcR0U26iIg+IvpuTvT9SdOpVQIQAFSmA2NOdBHRv+md+6/aYVY1Ja07+tDddoqI6CKWjQkAAiBHXBF9dBE7H3bRWtRAqkbi0atOObifREwurKxqAAQAqSKii/7ASzZRlCpFVSnKo0ui76YuGgGAAKDyiugiJkc9WhIAQMKOU34ruj1OSwoUBACem9f1sdOnX5EUAABpbNa9PyLeoxVVKALAjL+cRHTLhxmyAQCoUhg2Hx7Rn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A0M6hcLY0OD3HzXqRt272OPJddMYzAIoy+/eRJxXo6L4paNU2fPArdN3nsJgzFHz5zz5v7+lAya1/PMiK7vFp5OIfLmmNtf6OFY5aVuY97073KkpRv7iK7bd+GRb4rJJO5QQKmmizl9RBfntqz8f6cjz/aU7+9DAAAAAElFTkSuQmCC"}

      (Attrib transaction was successful)

      Expected Results:
      (Attrib transaction was unsuccessful).

      Additional Information:
      To get this attrib from BuilderNet, connect to BuilderNet (https://raw.githubusercontent.com/sovrin-foundation/sovrin/master/sovrin/pool_transactions_builder_genesis) in indy-cli and call get attrib.
      ledger get-attrib did=AdamBurdett1111111111 raw=<img>
      copy value of <img> into your browser omni bar, press enter to view the github icon.

        Attachments

          Issue Links

            Activity

              Toggl

              Enter your Toggl API token
              Mark as billable
              Apply JIRA issue labels


              {{ currentTimer.description|limitTo:35 }}...
              {{hours}} hour{{hoursS}}, {{minutes}} minute{{minutesS}}, {{seconds}} second{{secondsS}}

                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: