Can't Transfer OneName to Blockstack CLI

Yes, it signs fine. I get a file like:

[{"encrypted": false, "parentPublicKey": "02dc72b32124434d64895e9fd14122e3fb7d1348598eebdd5a707f8eb9a050dfc7", "token": "long_token"}]

verify_profile doesn’t work though

Thanks for confirming! Can you post the whole token? I’m happy to push a fix to PyPI if I can figure out why verify_profile isn’t working for you.

@jude No problem.

Unsigned

[
  {
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksifQ.eyJqdGkiOiJkZGNjNWQ3Yy1mY2E4LTQ5NzUtOWFiZi01NjA2NDQ1NjRjM2EiLCJpYXQiOiIyMDE3LTA0LTA2VDIxOjUxOjEyLjIyM1oiLCJleHAiOiIyMDE4LTA0LTA2VDIxOjUxOjEyLjIyM1oiLCJzdWJqZWN0Ijp7InB1YmxpY0tleSI6IjAyZGM3MmIzMjEyNDQzNGQ2NDg5NWU5ZmQxNDEyMmUzZmI3ZDEzNDg1OThlZWJkZDVhNzA3ZjhlYjlhMDUwZGZjNyJ9LCJpc3N1ZXIiOnsicHVibGljS2V5IjoiMDJkYzcyYjMyMTI0NDM0ZDY0ODk1ZTlmZDE0MTIyZTNmYjdkMTM0ODU5OGVlYmRkNWE3MDdmOGViOWEwNTBkZmM3In0sImNsYWltIjp7IkB0eXBlIjoiUGVyc29uIiwiQGNvbnRleHQiOiJodHRwOi8vc2NoZW1hLm9yZy8iLCJuYW1lIjoiRGF2aWQgTWNLYXkiLCJ1cmwiOiJodHRwczovL3d3dy5yYXdrb2RlLmNvbSIsImRlc2NyaXB0aW9uIjoiU29mdHdhcmUgJiBUZWNobm9sb2d5IFByb2Zlc3Npb25hbCJ9fQ.wH6EQxQh8RghDJltcfYMayHdP0SrWxmDTF6GSVg8UutNjTGkYGeqHzMrUMNJLOioT501LX33yrRVeGRpg4He1w",
    "decodedToken": {
      "header": {
        "typ": "JWT",
        "alg": "ES256K"
      },
      "payload": {
        "jti": "ddcc5d7c-fca8-4975-9abf-560644564c3a",
        "iat": "2017-04-06T21:51:12.223Z",
        "exp": "2018-04-06T21:51:12.223Z",
        "subject": {
          "publicKey": "02dc72b32124434d64895e9fd14122e3fb7d1348598eebdd5a707f8eb9a050dfc7"
        },
        "issuer": {
          "publicKey": "02dc72b32124434d64895e9fd14122e3fb7d1348598eebdd5a707f8eb9a050dfc7"
        },
        "claim": {
          "@type": "Person",
          "@context": "http://schema.org/",
          "name": "David McKay",
          "url": "https://www.rawkode.com",
          "description": "Software & Technology Professional"
        }
      },
      "signature": "wH6EQxQh8RghDJltcfYMayHdP0SrWxmDTF6GSVg8UutNjTGkYGeqHzMrUMNJLOioT501LX33yrRVeGRpg4He1w"
    }
  }
]

Signed

[{"encrypted": false, "parentPublicKey": "02dc72b32124434d64895e9fd14122e3fb7d1348598eebdd5a707f8eb9a050dfc7", "token": "eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJpc3N1ZWRBdCI6IjIwMTctMDQtMDZUMjI6NTE6MjQuODczNDU3IiwiY2xhaW0iOlt7ImRlY29kZWRUb2tlbiI6eyJoZWFkZXIiOnsiYWxnIjoiRVMyNTZLIiwidHlwIjoiSldUIn0sInBheWxvYWQiOnsiY2xhaW0iOnsidXJsIjoiaHR0cHM6Ly93d3cucmF3a29kZS5jb20iLCJAY29udGV4dCI6Imh0dHA6Ly9zY2hlbWEub3JnLyIsImRlc2NyaXB0aW9uIjoiU29mdHdhcmUgJiBUZWNobm9sb2d5IFByb2Zlc3Npb25hbCIsIkB0eXBlIjoiUGVyc29uIiwibmFtZSI6IkRhdmlkIE1jS2F5In0sImp0aSI6ImRkY2M1ZDdjLWZjYTgtNDk3NS05YWJmLTU2MDY0NDU2NGMzYSIsImV4cCI6IjIwMTgtMDQtMDZUMjE6NTE6MTIuMjIzWiIsImlhdCI6IjIwMTctMDQtMDZUMjE6NTE6MTIuMjIzWiIsInN1YmplY3QiOnsicHVibGljS2V5IjoiMDJkYzcyYjMyMTI0NDM0ZDY0ODk1ZTlmZDE0MTIyZTNmYjd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keTV5WVhkcmIyUmxMbU52YlNJc0ltUmxjMk55YVhCMGFXOXVJam9pVTI5bWRIZGhjbVVnSmlCVVpXTm9ibTlzYjJkNUlGQnliMlpsYzNOcGIyNWhiQ0o5ZlEud0g2RVF4UWg4UmdoREpsdGNmWU1heUhkUDBTcld4bURURjZHU1ZnOFV1dE5qVEdrWUdlcUh6TXJVTU5KTE9pb1Q1MDFMWDMzeXJSVmVHUnBnNEhlMXcifV0sImV4cGlyZXNBdCI6IjIwMTgtMDQtMDZUMjI6NTE6MjQuODczNDU3IiwiaXNzdWVyIjp7InB1YmxpY0tleSI6IjAyZGM3MmIzMjEyNDQzNGQ2NDg5NWU5ZmQxNDEyMmUzZmI3ZDEzNDg1OThlZWJkZDVhNzA3ZjhlYjlhMDUwZGZjNyJ9LCJzdWJqZWN0Ijp7InB1YmxpY0tleSI6IjAyZGM3MmIzMjEyNDQzNGQ2NDg5NWU5ZmQxNDEyMmUzZmI3ZDEzNDg1OThlZWJkZDVhNzA3ZjhlYjlhMDUwZGZjNyJ9fQ.eLMFSBj76IEdxRXvIafLbzQzc4G5Ynqn5pq_OLV8x40u1yUzuq-W1qyOwjWV18OrfR0gPJIGzCH60aw0lb4K8w"}]

Awesome, thanks! I found the problem; I’m working on a fix.

1 Like

Just pushed 0.14.1.4 to PyPI. You can get it with pip install --upgrade blockstack. It should fix the verify_profile bug you’re seeing. Thanks again for helping us find this bug!

1 Like

That’s looking good. Uploading new signed profile.

Thanks for your help :smile:

1 Like

Perfect:

╰─ blockstack lookup rawkode.id
{
    "profile": {
        "@context": "http://schema.org/", 
        "@type": "Person", 
        "description": "Software & Technology Professional", 
        "name": "David McKay", 
        "url": "https://www.rawkode.com"
    }, 
    "zonefile": "$ORIGIN rawkode.id\n$TTL 3600\n_http._tcp URI 10 1 \"https://www.rawkode.com/blockstack.id\"\n"
}
2 Likes